return &mDeadRefTempl;
}
-string RipperDocGen::GetScopedName( spContext& ofCtx )
+wxString RipperDocGen::GetScopedName( spContext& ofCtx )
{
if ( ofCtx.IsInFile() )
return ofCtx.GetName();
else
return ofCtx.GetOutterContext()->GetName() +
- "::" + ofCtx.GetName();
+ _T("::") + ofCtx.GetName();
}
void RipperDocGen::AddToCurrentClass( ScriptSection* pSection, spContext& ctx,
if ( CheckIfUncommented( en, *mpEnumIdx ) )
return;
- string body;
+ wxString body;
body += mTags[TAG_BOLD].start;
- AppendMulitilineStr( body, en.mEnumContent );
+ AppendMulitilineStr( body, en.m_EnumContent );
body += mTags[TAG_BOLD].end;
- string line;
+ wxString line;
AppendHighlightedSource( line, body );
AppendComments( en, line );
if ( CheckIfUncommented( td, *mpTypeDefIdx ) )
return;
- string body;
+ wxString body;
body += mTags[TAG_BOLD].start;
body += "typdef ";
body += mTags[TAG_BOLD].end;
- AppendMulitilineStr( body, td.mOriginalType );
- body += td.mOriginalType;
+ AppendMulitilineStr( body, td.m_OriginalType );
+ body += td.m_OriginalType;
body += ' ';
body += mTags[TAG_BOLD].start;
body += td.GetName();
body += mTags[TAG_BOLD].end;
- string line;
+ wxString line;
AppendHighlightedSource( line, body );
AppendComments( td, line );
if ( CheckIfUncommented( pd, *mpMacroIdx ) )
return;
- string body;
+ wxString body;
body += mTags[TAG_FIXED_FONT].start;
- string coloredLine = pd.mLine;
- AppendHighlightedSource( coloredLine, pd.mLine );
+ wxString coloredLine = pd.m_Line;
+ AppendHighlightedSource( coloredLine, pd.m_Line );
AppendMulitilineStr( body, coloredLine );
return;
}
- string body;
+ wxString body;
AppendComments( cl, body );
mpCurClassSect =
void RipperDocGen::VisitAttribute( spAttribute& attr )
{
- string body;
+ wxString body;
body += mTags[TAG_BOLD].start;
body += attr.m_Type;
body += mTags[TAG_BOLD].end;
body += attr.GetName();
body += mTags[TAG_ITALIC].end;
- string line;
+ wxString line;
AppendHighlightedSource( line, body );
AppendComments( attr, line );
void RipperDocGen::VisitOperation( spOperation& op )
{
- string body;
+ wxString body;
AppendHighlightedSource( body, op.GetFullName(mTags) );