|
|
This is a container for scopes, like namespaces in C++ or Modules in IDL-files.
| CParsedScopeContainer ()
| CParsedScopeContainer |
Constructor
| ~CParsedScopeContainer ()
| ~CParsedScopeContainer |
Destructor
| QDictIterator<CParsedScopeContainer> scopeIterator | scopeIterator |
| bool hasScope ( const char *aName )
| hasScope |
Tells if a scope exists in this scope.
Parameters:
| aName | Name of the scope to check for. |
| CParsedScopeContainer * getScopeByName ( const char *aName )
| getScopeByName |
Fetch a scope by using it's name.
Parameters:
| aName | Name of the scope to fetch. |
Returns: Pointer to the scope or NULL if not found.
| QList<CParsedScopeContainer> * getSortedScopeList ()
| getSortedScopeList |
Get all scopes in sorted order.
Returns: A list of all scopes in alphabetical order.
| QStrList * getSortedScopeNameList ()
| getSortedScopeNameList |
Get all scopenames in sorted order.
Returns: A list of all scopenames in alphabetical order.
| void addScope ( CParsedScopeContainer *aScope )
| addScope |
Add a scope to this scope.
Parameters:
| aScope | The scope to add. |
| void removeScope ( const char *aName )
| removeScope |
Remove a scope from this scope.
Parameters:
| aName | Name of the scope to remove. |
| void clear ()
| clear |
Clear the internal state.
Reimplemented from CParsedClassContainer.
| void out ()
| out |
Output this object to stdout.
Reimplemented from CParsedContainer.