class CClassStore
|
This class has the ability to store and fetch parsed items. More... |
|
|
Public Methods
Public Members
This class has the ability to store and fetch parsed items.
CClassStore ()
| CClassStore |
~CClassStore ()
| ~CClassStore |
bool hasScope ( const char *aName )
| hasScope |
Checks if a scope exists in the store.
Parameters:
bool hasClass ( const char *aName )
| hasClass |
Tells if a class exists in the store.
Parameters:
| aName | Classname to check if it exists.
|
bool hasStruct ( const char *aName )
| hasStruct |
Tells if a struct exists in the store.
Parameters:
| aName | Classname to check if it exists.
|
Fetches a scope from the store using its' name.
Parameters:
| aName | Name of the scope to fetch.
|
Returns: A pointer to the scope(not to be deleted) or
NULL if the scope wasn't found.
CParsedClass * getClassByName ( const char *aName )
| getClassByName |
Fetches a class from the store by using its' name.
Returns: A pointer to the class(not to be deleted) or
NULL if the class wasn't found.
Return the store as a forest(collection of trees).
Returns: List of trees with the top parents as root-nodes.
QList<CParsedClass> * getClassesByParent ( const char *aName )
| getClassesByParent |
Fetches all classes with the named parent.
Returns: List of all classes with the named parent.
QList<CParsedClass> * getClassClients ( const char *aName )
| getClassClients |
Fetches all clients of a named class.
Returns: List of all classes that are clients of the named class.
QList<CParsedClass> * getClassSuppliers ( const char *aName )
| getClassSuppliers |
Fetches all suppliers of a named class.
Returns: List of all classes that are suppliers of the named class.
QList<CParsedClass> * getSortedClassList ()
| getSortedClassList |
Get all classes in sorted order.
Returns: A list of all classes in alpabetical order.
QStrList * getSortedClassNameList ()
| getSortedClassNameList |
Get all classnames in sorted order.
Returns: A list of all classnames in sorted order.
void getVirtualMethodsForClass ( const char *aName,
QList<CParsedMethod> *implList,
QList<CParsedMethod> *availList )
| getVirtualMethodsForClass |
Fetch all virtual methods, both implemented and not.
Parameters:
| aName | The class to fetch virtual methods for
|
| implList | The list that will contain the
implemented virtual methods.
|
| availList | The list hat will contain the available virtual
methods. |
QList<CParsedStruct> * getSortedStructList ()
| getSortedStructList |
Get all global structures not declared in a scope.
Returns: A sorted list of global structures.
Add a scope to the store.
Parameters:
Add a classdefintion.
Parameters:
void addGlobalFunction ( CParsedMethod *aFunc )
| addGlobalFunction |
void removeWithReferences ( const char *aFile )
| removeWithReferences |
Remove all items in the store with references to the file.
Parameters:
| aFile | The file to check references to.
|
void removeClass ( const char *aName )
| removeClass |
Remove a class from the store.
Parameters:
| aName | Name of the class to remove
|
void storeAll ()
| storeAll |
- Author: Jonas Nordin
- Generated: jr on radge on Wed Sep 25 00:11:47 2002, using kdoc 2.0a54.