// derived from section
wxString derived = "\\wxheading{Derived from}\n\n";
- const StrListT& baseClasses = cl.mSuperClassNames;
+ const StrListT& baseClasses = cl.m_SuperClassNames;
if ( baseClasses.size() == 0 ) {
derived << "No base class";
}
/*
$Log$
+ Revision 1.43 2005/05/31 15:42:43 ABX
+ More warning and error fixes (work in progress with Tinderbox).
+
Revision 1.42 2005/05/31 15:32:49 ABX
More warning and error fixes (work in progress with Tinderbox).
if ( *tok != ':' && *cur != ':' )
- pClass->mSuperClassNames.push_back( string( cur, len ) );
+ pClass->m_SuperClassNames.push_back( string( cur, len ) );
} while(1);
int tmpLn;
store_line_no( tmpLn );
- while ( pClass->mSuperClassNames.size() )
+ while ( pClass->m_SuperClassNames.size() )
- pClass->mSuperClassNames.erase( &pClass->mSuperClassNames[0] );
+ pClass->m_SuperClassNames.erase( &pClass->m_SuperClassNames[0] );
char* tok = cur;
ScriptSection* pClSect = (ScriptSection*)cl.GetUserData();
ScriptSection* pSuperSect = pClSect->GetSubsection("Derived from");
- for( size_t n = 0; n != cl.mSuperClassNames.size(); ++n )
+ for( size_t n = 0; n != cl.m_SuperClassNames.size(); ++n )
{
- string& superClName = cl.mSuperClassNames[n];
+ wxString& superClName = cl.m_SuperClassNames[n];
spClass* pFound = NULL;
void spClass::DumpThis(const wxString& indent) const
{
wxString base;
- for ( StrListT::const_iterator i = mSuperClassNames.begin();
- i != mSuperClassNames.end();
+ for ( StrListT::const_iterator i = m_SuperClassNames.begin();
+ i != m_SuperClassNames.end();
i++ ) {
if ( !base.empty() )
base += ", ";
// list of parameters
typedef vector<spParameter*> MParamListT;
// string list
- typedef vector<string> StrListT;
+ typedef vector<wxString> StrListT;
#else
typedef WXSTL_VECTOR_SHALLOW_COPY(spContextPtrT) MMemberListT;
typedef WXSTL_VECTOR_SHALLOW_COPY(spCommentPtrT) MCommentListT;
typedef WXSTL_VECTOR_SHALLOW_COPY(spParameterPtrT) MParamListT;
- typedef WXSTL_VECTOR_SHALLOW_COPY(string) StrListT;
+ typedef WXSTL_VECTOR_SHALLOW_COPY(wxString) StrListT;
#endif
// base class for all visitors of source code contents
{
public:
// list of superclasses/interfaces
- StrListT mSuperClassNames;
+ StrListT m_SuperClassNames;
// see SP_CLASS_TYPES enumeration
int mClassSubType;