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(spContextPtrT) MMemberListT;
typedef WXSTL_VECTOR_SHALLOW_COPY(spCommentPtrT) MCommentListT;
typedef WXSTL_VECTOR_SHALLOW_COPY(spParameterPtrT) MParamListT;
// spClass on sorting the class members
void VisitAll( spContext& atContext,
// spClass on sorting the class members
void VisitAll( spContext& atContext,
// multiple times by variouse visitors (there can
// be more the one visitor visiting content at a time)
// multiple times by variouse visitors (there can
// be more the one visitor visiting content at a time)
// points to context object, where the this context
// was originally declared, meaning that this object
// points to context object, where the this context
// was originally declared, meaning that this object
- // body of the context in case (mIsVirtual == TRUE)
- string mVirtualContextBody;
- string mVittualContextFooter;
+ // body of the context in case (mIsVirtual == true)
+ wxString mVirtualContextBody;
+ wxString mVittualContextFooter;
- void SetVirtualContextBody( const string& body,
- bool hasChildren = FALSE,
- const string& footer = "" );
+ void SetVirtualContextBody( const wxString& body,
+ bool hasChildren = false,
+ const wxString& footer = wxEmptyString );
// can be overriden by top-level context classes
// to find-out ot the source-fragment of this
// context using it's position information
// can be overriden by top-level context classes
// to find-out ot the source-fragment of this
// context using it's position information
// returns -1, if souce line # is unknow
inline int GetSourceLineNo() { return mSrcLineNo; }
// returns -1, if souce line # is unknow
inline int GetSourceLineNo() { return mSrcLineNo; }
// returns NULL, if the context with the given
// name and type is not contained by this context
// and it's children. Children's children are not
// returns NULL, if the context with the given
// name and type is not contained by this context
// and it's children. Children's children are not
bool IsPublic() const { return mVisibility == SP_VIS_PUBLIC; }
// NOTE:: method returns not the type of this object
bool IsPublic() const { return mVisibility == SP_VIS_PUBLIC; }
// NOTE:: method returns not the type of this object
bool mHasDefinition;
// scope if any (e.g. MyClass::MyFunction(), scope stirng is "MyClass" )
// usually found along with implementation of the method, which is now skipped
bool mHasDefinition;
// scope if any (e.g. MyClass::MyFunction(), scope stirng is "MyClass" )
// usually found along with implementation of the method, which is now skipped
public:
// since file name cannot be determined from
// source code, filling in this field is optional
public:
// since file name cannot be determined from
// source code, filling in this field is optional
public:
virtual bool CanUnderstandContext( char* cur, char* end, spContext* pOuttterCtx ) = 0;
virtual void ParseContext( char* start, char*& cur, char* end, spContext* pOuttterCtx ) = 0;
public:
virtual bool CanUnderstandContext( char* cur, char* end, spContext* pOuttterCtx ) = 0;
virtual void ParseContext( char* start, char*& cur, char* end, spContext* pOuttterCtx ) = 0;