#include <classdef.h>
Inheritance diagram for ClassDef:

Public API | |
| enum | CompoundType |
| DefType | definitionType () |
| QCString | getOutputFileBase () const |
| QCString | getSourceFileBase () const |
| QCString | getReference () const |
| bool | isReference () const |
| bool | hasDocumentation () const |
| QCString | displayName () const |
| CompoundType | compoundType () const |
| QCString | compoundTypeString () const |
| BaseClassList * | baseClasses () |
| BaseClassList * | subClasses () |
| MemberNameInfoSDict * | memberNameInfoSDict () |
| void | writeDeclaration (OutputList &ol, MemberDef *md, bool inGroup) |
| Protection | protection () const |
| bool | isLinkableInProject () const |
| bool | isLinkable () const |
| bool | isVisibleInHierarchy () |
| ArgumentList * | templateArguments () const |
| NamespaceDef * | getNamespaceDef () |
| FileDef * | getFileDef () const |
| MemberDef * | getMemberByName (const QCString &) |
| bool | isBaseClass (ClassDef *bcd, bool followInstances, int level=0) |
| QDict< ClassDef > * | getTemplateInstances () const |
| ClassDef * | templateMaster () const |
| virtual Definition * | findInnerCompound (const char *name) |
| void | getTemplateParameterLists (QList< ArgumentList > &lists) const |
| bool | isAbstract () const |
| bool | isObjectiveC () const |
| QCString | className () const |
Doxygen internal API | |
| void | mergeMembers () |
| void | mergeCategory (ClassDef *category) |
| ClassDef (const char *fileName, int startLine, const char *name, CompoundType ct, const char *ref=0, const char *fName=0, bool isSymbol=TRUE) | |
| ~ClassDef () | |
| bool | hasNonReferenceSuperClass () |
A compound can be a class, struct, union, interface, or exception.
Definition at line 54 of file classdef.h.
|
|
The various compound types Definition at line 62 of file classdef.h. |
|
||||||||||||||||||||||||||||||||
|
Creates a new compound definition.
References compoundTypeString(), and Definition::setReference(). |
|
|
Destroys a compound definition. Definition at line 114 of file classdef.cpp. |
|
|
Returns the list of base classes from which this class directly inherits. Definition at line 94 of file classdef.h. Referenced by isBaseClass(), and mergeMembers(). |
|
|
returns the name of the class including outer classes, but not including namespaces. Definition at line 2819 of file classdef.cpp. |
|
|
Returns the type of compound this is Definition at line 86 of file classdef.h. |
|
|
Returns the type of compound as a string Definition at line 2480 of file classdef.cpp. Referenced by ClassDef(), and writeDeclaration(). |
|
|
Use this for dynamic inspection of the type of the derived class Implements Definition. Definition at line 70 of file classdef.h. |
|
|
Returns the name as it is appears in the documentation Definition at line 132 of file classdef.cpp. |
|
|
Returns the definition of a nested compound if available, or 0 otherwise.
Reimplemented from Definition. Definition at line 2574 of file classdef.cpp. |
|
|
Returns the file in which this compound's definition can be found. Should not return 0 (but it might be a good idea to check anyway). Definition at line 141 of file classdef.h. |
|
|
Returns the Java package this class is in or 0 if not applicable. Definition at line 2847 of file classdef.cpp. References isLinkable(). |
|
|
Returns the namespace this compound is in, or 0 if it has a global scope. Definition at line 136 of file classdef.h. |
|
|
Returns the base file name (without extension) of this definition. as it is referenced to/written to disk. Implements Definition. Definition at line 2496 of file classdef.cpp. References isReference(). |
|
|
If this definition was imported via a tag file, this function returns the tagfile for the external project. This can be translated into an external link target via Doxygen::tagDestinationDict Reimplemented from Definition. Definition at line 2727 of file classdef.cpp. References Definition::getReference(). |
|
|
Returns the name of the source listing of this file. Reimplemented from Definition. Definition at line 2536 of file classdef.cpp. |
|
|
Returns a sorted dictionary with all template instances found for this template class. Returns 0 if not a template or no instances. Definition at line 158 of file classdef.h. Referenced by hasNonReferenceSuperClass(). |
|
|
Returns the template parameter lists that form the template declaration of this class.
Example: References Definition::definitionType(), and templateArguments(). |
|
|
Returns TRUE iff the definition is documented Reimplemented from Definition. Definition at line 1928 of file classdef.cpp. References Definition::hasDocumentation(). Referenced by isLinkableInProject(), and isVisibleInHierarchy(). |
|
|
Returns References getTemplateInstances(), and isReference(). Referenced by isVisibleInHierarchy(). |
|
|
Returns TRUE if there is at least one pure virtual member in this class. Definition at line 203 of file classdef.h. |
|
||||||||||||||||
|
Returns TRUE iff bcd is a direct or indirect base class of this class. This function will recusively traverse all branches of the inheritance tree. Definition at line 1938 of file classdef.cpp. References baseClasses(), name, Definition::name(), and templateMaster(). Referenced by mergeMembers(). |
|
|
return TRUE iff a link to this class is possible (either within this project, or as a cross-reference to another project). Implements Definition. Definition at line 1894 of file classdef.cpp. References isLinkableInProject(), and isReference(). Referenced by getMemberByName(), and writeDeclaration(). |
|
|
returns TRUE iff a link is possible to an item within this project. Implements Definition. Definition at line 1875 of file classdef.cpp. References hasDocumentation(), isReference(), and Definition::name(). Referenced by isLinkable(). |
|
|
Returns TRUE if this class is implemented in Objective-C Definition at line 206 of file classdef.h. |
|
|
Returns TRUE if this definition is imported via a tag file. Reimplemented from Definition. Definition at line 2739 of file classdef.cpp. References Definition::isReference(). Referenced by getOutputFileBase(), hasNonReferenceSuperClass(), isLinkable(), isLinkableInProject(), and isVisibleInHierarchy(). |
|
|
the class is visible in a class diagram, or class hierarchy Definition at line 1908 of file classdef.cpp. References hasDocumentation(), hasNonReferenceSuperClass(), isReference(), and Definition::name(). |
|
|
Returns a dictionary of all members. This includes any inherited members. Members are sorted alphabetically. Definition at line 103 of file classdef.h. |
|
|
Merges the members of a Objective-C category into this class. Definition at line 2202 of file classdef.cpp. References m_allMemberNameInfoSDict, and m_categoryOf. |
|
|
recusively merges the `all members' lists of a class base with that of this class. Must only be called for classes without subclasses! Definition at line 1979 of file classdef.cpp. References baseClasses(), BaseClassDef::classDef, isBaseClass(), m_allMemberNameInfoSDict, name, BaseClassDef::prot, and BaseClassDef::virt. |
|
|
Return the protection level (Public,Protected,Private) in which this compound was found. Definition at line 114 of file classdef.h. |
|
|
Returns the list of sub classes that directly inherit from this class Definition at line 98 of file classdef.h. |
|
|
Returns the template arguments of this class Will return 0 if not applicable. Definition at line 131 of file classdef.h. Referenced by getTemplateParameterLists(). |
|
|
Returns the template master of which this class is an instance. Returns 0 if not applicable. Definition at line 162 of file classdef.h. Referenced by isBaseClass(). |
|
||||||||||||||||
|
called from MemberDef::writeDeclaration() to (recusively) write the definition of an annonymous struct, union or class. Definition at line 1774 of file classdef.cpp. References compoundTypeString(), isLinkable(), and Definition::name(). |
1.3.8