doxygen
Public Member Functions | List of all members
ClassDefAliasImpl Class Reference
Inheritance diagram for ClassDefAliasImpl:
Inheritance graph
[legend]
Collaboration diagram for ClassDefAliasImpl:
Collaboration graph
[legend]

Public Member Functions

 ClassDefAliasImpl (const Definition *newScope, const ClassDef *cd)
 
virtual DefType definitionType () const
 Used for RTTI, this is a class.
 
const ClassDefgetCdAlias () const
 
virtual ClassDefresolveAlias ()
 
virtual CodeSymbolType codeSymbolType () const
 
virtual QCString getOutputFileBase () const
 Returns the unique base name (without extension) of the class's file on disk.
 
virtual QCString getInstanceOutputFileBase () const
 
virtual QCString getSourceFileBase () const
 Returns the base name for the source code file.
 
virtual QCString getReference () const
 If this class originated from a tagfile, this will return the tag file reference.
 
virtual bool isReference () const
 Returns TRUE if this class is imported via a tag file.
 
virtual bool isLocal () const
 Returns TRUE if this is a local class definition, see EXTRACT_LOCAL_CLASSES.
 
virtual ClassLinkedRefMap getClasses () const
 returns the classes nested into this class
 
virtual bool hasDocumentation () const
 returns TRUE if this class has documentation
 
virtual bool hasDetailedDescription () const
 returns TRUE if this class has a non-empty detailed description
 
virtual QCString collaborationGraphFileName () const
 returns the file name to use for the collaboration graph
 
virtual QCString inheritanceGraphFileName () const
 returns the file name to use for the inheritance graph
 
virtual QCString displayName (bool includeScope=TRUE) const
 Returns the name as it is appears in the documentation.
 
virtual CompoundType compoundType () const
 Returns the type of compound this is, i.e. More...
 
virtual QCString compoundTypeString () const
 Returns the type of compound as a string.
 
virtual const BaseClassList & baseClasses () const
 Returns the list of base classes from which this class directly inherits.
 
virtual const BaseClassList & subClasses () const
 Returns the list of sub classes that directly derive from this class.
 
virtual const MemberNameInfoLinkedMapmemberNameInfoLinkedMap () const
 Returns a dictionary of all members. More...
 
virtual Protection protection () const
 Return the protection level (Public,Protected,Private) in which this compound was found.
 
virtual bool isLinkableInProject () const
 returns TRUE iff a link is possible to this item within this project.
 
virtual bool isLinkable () const
 return TRUE iff a link to this class is possible (either within this project, or as a cross-reference to another project).
 
virtual bool isVisibleInHierarchy () const
 the class is visible in a class diagram, or class hierarchy
 
virtual bool visibleInParentsDeclList () const
 show this class in the declaration section of its parent?
 
virtual const ArgumentListtemplateArguments () const
 Returns the template arguments of this class.
 
virtual FileDefgetFileDef () const
 Returns the namespace this compound is in, or 0 if it has a global scope. More...
 
virtual const MemberDefgetMemberByName (const QCString &s) const
 Returns the member with the given name.
 
virtual int isBaseClass (const ClassDef *bcd, bool followInstances) const
 Returns TRUE iff bcd is a direct or indirect base class of this class. More...
 
virtual bool isSubClass (ClassDef *bcd, int level=0) const
 Returns TRUE iff bcd is a direct or indirect sub class of this class.
 
virtual bool isAccessibleMember (const MemberDef *md) const
 returns TRUE iff md is a member of this class or of the the public/protected members of a base class
 
virtual const TemplateInstanceList & getTemplateInstances () const
 Returns a sorted dictionary with all template instances found for this template class. More...
 
virtual const ClassDeftemplateMaster () const
 Returns the template master of which this class is an instance. More...
 
virtual bool isTemplate () const
 Returns TRUE if this class is a template.
 
virtual const IncludeInfoincludeInfo () const
 
virtual const UsesClassListusedImplementationClasses () const
 
virtual const UsesClassListusedByImplementationClasses () const
 
virtual const ConstraintClassListtemplateTypeConstraints () const
 
virtual bool isTemplateArgument () const
 
virtual const DefinitionfindInnerCompound (const QCString &name) const
 Returns the definition of a nested compound if available, or 0 otherwise. More...
 
virtual ArgumentLists getTemplateParameterLists () const
 Returns the template parameter lists that form the template declaration of this class. More...
 
virtual QCString qualifiedNameWithTemplateParameters (const ArgumentLists *actualParams=0, uint *actualParamIndex=0) const
 
virtual bool isAbstract () const
 Returns TRUE if there is at least one pure virtual member in this class.
 
virtual bool isObjectiveC () const
 Returns TRUE if this class is implemented in Objective-C.
 
virtual bool isFortran () const
 Returns TRUE if this class is implemented in Fortran.
 
virtual bool isCSharp () const
 Returns TRUE if this class is implemented in C#.
 
virtual bool isFinal () const
 Returns TRUE if this class is marked as final.
 
virtual bool isSealed () const
 Returns TRUE if this class is marked as sealed.
 
virtual bool isPublished () const
 Returns TRUE if this class is marked as published.
 
virtual bool isExtension () const
 Returns TRUE if this class represents an Objective-C 2.0 extension (nameless category)
 
virtual bool isForwardDeclared () const
 Returns TRUE if this class represents a forward declaration of a template class.
 
virtual bool isInterface () const
 Returns TRUE if this class represents an interface.
 
virtual ClassDefcategoryOf () const
 Returns the class of which this is a category (Objective-C only)
 
virtual QCString className () const
 Returns the name of the class including outer classes, but not including namespaces.
 
virtual MemberListgetMemberList (MemberListType lt) const
 Returns the members in the list identified by lt.
 
virtual const MemberListsgetMemberLists () const
 Returns the list containing the list of members sorted per type.
 
virtual const MemberGroupListgetMemberGroups () const
 Returns the member groups defined for this class.
 
virtual const TemplateNameMap & getTemplateBaseClassNames () const
 
virtual bool isUsedOnly () const
 
virtual QCString anchor () const
 
virtual bool isEmbeddedInOuterScope () const
 
virtual bool isSimple () const
 
virtual const ClassDeftagLessReference () const
 
virtual const MemberDefisSmartPointer () const
 
virtual bool isJavaEnum () const
 
virtual QCString title () const
 
virtual QCString generatedFromFiles () const
 
virtual const FileListusedFiles () const
 
virtual const ArgumentListtypeConstraints () const
 
virtual const ExampleListgetExamples () const
 
virtual bool hasExamples () const
 
virtual QCString getMemberListFileName () const
 
virtual bool subGrouping () const
 
virtual bool isSliceLocal () const
 
virtual bool hasNonReferenceSuperClass () const
 
virtual QCString requiresClause () const
 
virtual int countMembersIncludingGrouped (MemberListType lt, const ClassDef *inheritedFrom, bool additional) const
 
virtual int countInheritanceNodes () const
 
virtual int countMemberDeclarations (MemberListType lt, const ClassDef *inheritedFrom, int lt2, bool invert, bool showAlways, ClassDefSet &visitedClasses) const
 
virtual void writeDeclarationLink (OutputList &ol, bool &found, const QCString &header, bool localNames) const
 
virtual ClassDefinsertTemplateInstance (const QCString &fileName, int startLine, int startColumn, const QCString &templSpec, bool &freshInstance) const
 
virtual void updateBaseClasses (const BaseClassList &)
 Update the list of base classes to the one passed.
 
virtual void updateSubClasses (const BaseClassList &)
 Update the list of sub classes to the one passed.
 
- Public Member Functions inherited from DefinitionAliasMixin< ClassDef >
 DefinitionAliasMixin (const Definition *scope, const Definition *alias)
 
void init ()
 
void deinit ()
 
virtual bool isAlias () const
 
virtual QCString name () const
 
virtual bool isAnonymous () const
 
virtual QCString localName () const
 
virtual QCString qualifiedName () const
 
virtual QCString symbolName () const
 
virtual QCString getSourceAnchor () const
 
virtual QCString documentation () const
 
virtual int docLine () const
 
virtual QCString docFile () const
 
virtual QCString briefDescription (bool abbreviate=FALSE) const
 
virtual QCString briefDescriptionAsTooltip () const
 
virtual int briefLine () const
 
virtual QCString inbodyDocumentation () const
 
virtual QCString inbodyFile () const
 
virtual int inbodyLine () const
 
virtual QCString briefFile () const
 
virtual QCString getDefFileName () const
 
virtual QCString getDefFileExtension () const
 
virtual int getDefLine () const
 
virtual int getDefColumn () const
 
virtual bool hasUserDocumentation () const
 
virtual bool isVisibleInProject () const
 
virtual bool isVisible () const
 
virtual bool isHidden () const
 
virtual bool isArtificial () const
 
virtual QCString externalReference (const QCString &relPath) const
 
virtual int getStartDefLine () const
 
virtual int getStartBodyLine () const
 
virtual int getEndBodyLine () const
 
virtual const FileDefgetBodyDef () const
 
virtual SrcLangExt getLanguage () const
 
virtual const GroupListpartOfGroups () const
 
virtual bool isLinkableViaGroup () const
 
virtual const RefItemVector & xrefListItems () const
 
virtual DefinitiongetOuterScope () const
 
virtual const MemberVectorgetReferencesMembers () const
 
virtual const MemberVectorgetReferencedByMembers () const
 
virtual bool hasSections () const
 
virtual bool hasSources () const
 
virtual bool hasBriefDescription () const
 
virtual QCString id () const
 
virtual const SectionRefsgetSectionRefs () const
 
virtual QCString navigationPathAsString () const
 
virtual QCString pathFragment () const
 

Additional Inherited Members

- Public Types inherited from ClassDef
enum  CompoundType {
  Class, Struct, Union, Interface,
  Protocol, Category, Exception, Service,
  Singleton
}
 The various compound types.
 
- Public Types inherited from Definition
enum  DefType {
  TypeClass = 0, TypeFile = 1, TypeNamespace = 2, TypeMember = 3,
  TypeGroup = 4, TypePackage = 5, TypePage = 6, TypeDir = 7,
  TypeConcept = 8
}
 
- Protected Member Functions inherited from DefinitionAliasMixin< ClassDef >
const DefinitiongetAlias () const
 
const DefinitiongetScope () const
 

Member Function Documentation

◆ anchor()

virtual QCString ClassDefAliasImpl::anchor ( ) const
inlinevirtual

Returns the anchor within a page where this item can be found

Implements ClassDef.

◆ codeSymbolType()

virtual CodeSymbolType ClassDefAliasImpl::codeSymbolType ( ) const
inlinevirtual

Used for syntax highlighting symbol class

Implements Definition.

◆ compoundType()

virtual CompoundType ClassDefAliasImpl::compoundType ( ) const
inlinevirtual

Returns the type of compound this is, i.e.

class/struct/union/..

Implements ClassDef.

◆ findInnerCompound()

virtual const Definition* ClassDefAliasImpl::findInnerCompound ( const QCString name) const
inlinevirtual

Returns the definition of a nested compound if available, or 0 otherwise.

Parameters
nameThe name of the nested compound

Reimplemented from DefinitionAliasMixin< ClassDef >.

◆ getFileDef()

virtual FileDef* ClassDefAliasImpl::getFileDef ( ) const
inlinevirtual

Returns the namespace this compound is in, or 0 if it has a global scope.

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).

Implements ClassDef.

◆ getTemplateInstances()

virtual const TemplateInstanceList& ClassDefAliasImpl::getTemplateInstances ( ) const
inlinevirtual

Returns a sorted dictionary with all template instances found for this template class.

Returns 0 if not a template or no instances.

Implements ClassDef.

◆ getTemplateParameterLists()

virtual ArgumentLists ClassDefAliasImpl::getTemplateParameterLists ( ) const
inlinevirtual

Returns the template parameter lists that form the template declaration of this class.

Example: template<class T> class TC {} = 0; will return a list with one ArgumentList containing one argument with type="class" and name="T".

Implements ClassDef.

◆ isBaseClass()

virtual int ClassDefAliasImpl::isBaseClass ( const ClassDef bcd,
bool  followInstances 
) const
inlinevirtual

Returns TRUE iff bcd is a direct or indirect base class of this class.

This function will recursively traverse all branches of the inheritance tree.

Implements ClassDef.

◆ memberNameInfoLinkedMap()

virtual const MemberNameInfoLinkedMap& ClassDefAliasImpl::memberNameInfoLinkedMap ( ) const
inlinevirtual

Returns a dictionary of all members.

This includes any inherited members. Members are sorted alphabetically.

Implements ClassDef.

◆ templateMaster()

virtual const ClassDef* ClassDefAliasImpl::templateMaster ( ) const
inlinevirtual

Returns the template master of which this class is an instance.

Returns 0 if not applicable.

Implements ClassDef.


The documentation for this class was generated from the following file: