|
ISLEman
|
A model of a class/file/namespace member symbol. More...
#include <memberdef.h>
Public Member Functions | |
| MemberDef (const char *defFileName, int defLine, int defColumn, const char *type, const char *name, const char *args, const char *excp, Protection prot, Specifier virt, bool stat, Relationship related, MemberType t, const ArgumentList *tal, const ArgumentList *al) | |
| ~MemberDef () | |
| DefType | definitionType () const |
| MemberDef * | deepCopy () const |
| void | moveTo (Definition *) |
| QCString | getOutputFileBase () const |
| QCString | getReference () const |
| QCString | anchor () const |
| const char * | declaration () const |
| const char * | definition () const |
| const char * | typeString () const |
| const char * | argsString () const |
| const char * | excpString () const |
| const char * | bitfieldString () const |
| const char * | extraTypeChars () const |
| const QCString & | initializer () const |
| int | initializerLines () const |
| uint64 | getMemberSpecifiers () const |
| MemberList * | getSectionList (Definition *d) const |
| QCString | displayDefinition () const |
| ClassDef * | getClassDef () const |
| FileDef * | getFileDef () const |
| NamespaceDef * | getNamespaceDef () const |
| ClassDef * | accessorClass () const |
| const char * | getReadAccessor () const |
| const char * | getWriteAccessor () const |
| GroupDef * | getGroupDef () const |
| Grouping::GroupPri_t | getGroupPri () const |
| const char * | getGroupFileName () const |
| int | getGroupStartLine () const |
| bool | getGroupHasDocs () const |
| QCString | qualifiedName () const |
| QCString | objCMethodName (bool localLink, bool showStatic) const |
| Protection | protection () const |
| Specifier | virtualness (int count=0) const |
| MemberType | memberType () const |
| QCString | memberTypeName () const |
| bool | isSignal () const |
| bool | isSlot () const |
| bool | isVariable () const |
| bool | isEnumerate () const |
| bool | isEnumValue () const |
| bool | isTypedef () const |
| bool | isFunction () const |
| bool | isFunctionPtr () const |
| bool | isDefine () const |
| bool | isFriend () const |
| bool | isDCOP () const |
| bool | isProperty () const |
| bool | isEvent () const |
| bool | isRelated () const |
| bool | isForeign () const |
| bool | isStatic () const |
| bool | isInline () const |
| bool | isExplicit () const |
| bool | isMutable () const |
| bool | isGettable () const |
| bool | isPrivateGettable () const |
| bool | isProtectedGettable () const |
| bool | isSettable () const |
| bool | isPrivateSettable () const |
| bool | isProtectedSettable () const |
| bool | isReadable () const |
| bool | isWritable () const |
| bool | isAddable () const |
| bool | isRemovable () const |
| bool | isRaisable () const |
| bool | isFinal () const |
| bool | isAbstract () const |
| bool | isOverride () const |
| bool | isInitonly () const |
| bool | isOptional () const |
| bool | isRequired () const |
| bool | isNonAtomic () const |
| bool | isCopy () const |
| bool | isAssign () const |
| bool | isRetain () const |
| bool | isWeak () const |
| bool | isStrong () const |
| bool | isUnretained () const |
| bool | isNew () const |
| bool | isSealed () const |
| bool | isImplementation () const |
| bool | isExternal () const |
| bool | isAlias () const |
| bool | isDefault () const |
| bool | isDelete () const |
| bool | isNoExcept () const |
| bool | isAttribute () const |
| bool | isUNOProperty () const |
| bool | isReadonly () const |
| bool | isBound () const |
| bool | isConstrained () const |
| bool | isTransient () const |
| bool | isMaybeVoid () const |
| bool | isMaybeDefault () const |
| bool | isMaybeAmbiguous () const |
| bool | isPublished () const |
| bool | isTemplateSpecialization () const |
| bool | hasDocumentedParams () const |
| bool | hasDocumentedReturnType () const |
| bool | isObjCMethod () const |
| bool | isObjCProperty () const |
| bool | isConstructor () const |
| bool | isDestructor () const |
| bool | hasOneLineInitializer () const |
| bool | hasMultiLineInitializer () const |
| bool | protectionVisible () const |
| bool | showInCallGraph () const |
| bool | isStrongEnumValue () const |
| bool | livesInsideEnum () const |
| bool | isFriendToHide () const |
| bool | isNotFriend () const |
| bool | isFunctionOrSignalSlot () const |
| bool | isRelatedOrFriend () const |
| bool | isLinkableInProject () const |
| bool | isLinkable () const |
| bool | hasDocumentation () const |
| bool | isDeleted () const |
| bool | isBriefSectionVisible () const |
| bool | isDetailedSectionVisible (bool inGroup, bool inFile) const |
| bool | isDetailedSectionLinkable () const |
| bool | isFriendClass () const |
| bool | isDocumentedFriendClass () const |
| MemberDef * | reimplements () const |
| MemberList * | reimplementedBy () const |
| bool | isReimplementedBy (ClassDef *cd) const |
| ClassDef * | relatedAlso () const |
| bool | hasDocumentedEnumValues () const |
| MemberDef * | getAnonymousEnumType () const |
| bool | isDocsForDefinition () const |
| MemberDef * | getEnumScope () const |
| MemberList * | enumFieldList () const |
| void | setEnumBaseType (const QCString &type) |
| QCString | enumBaseType () const |
| bool | hasExamples () |
| ExampleSDict * | getExamples () const |
| bool | isPrototype () const |
| ArgumentList * | argumentList () const |
| ArgumentList * | declArgumentList () const |
| ArgumentList * | templateArguments () const |
| QList< ArgumentList > * | definitionTemplateParameterLists () const |
| int | getMemberGroupId () const |
| MemberGroup * | getMemberGroup () const |
| bool | fromAnonymousScope () const |
| bool | anonymousDeclShown () const |
| MemberDef * | fromAnonymousMember () const |
| bool | hasCallGraph () const |
| bool | hasCallerGraph () const |
| bool | visibleMemberGroup (bool hideNoHeader) |
| MemberDef * | templateMaster () const |
| QCString | getScopeString () const |
| ClassDef * | getClassDefOfAnonymousType () |
| bool | isTypedefValCached () const |
| ClassDef * | getCachedTypedefVal () const |
| QCString | getCachedTypedefTemplSpec () const |
| QCString | getCachedResolvedTypedef () const |
| MemberDef * | memberDefinition () const |
| MemberDef * | memberDeclaration () const |
| MemberDef * | inheritsDocsFrom () const |
| MemberDef * | getGroupAlias () const |
| ClassDef * | category () const |
| MemberDef * | categoryRelation () const |
| QCString | displayName (bool=TRUE) const |
| QCString | getDeclType () const |
| void | getLabels (QStrList &sl, Definition *container) const |
| const ArgumentList * | typeConstraints () const |
| QCString | documentation () const |
| QCString | briefDescription (bool abbr=FALSE) const |
| QCString | fieldType () const |
| bool | isReference () const |
| void | setMemberType (MemberType t) |
| void | setDefinition (const char *d) |
| void | setFileDef (FileDef *fd) |
| void | setAnchor () |
| void | setProtection (Protection p) |
| void | setMemberSpecifiers (uint64 s) |
| void | mergeMemberSpecifiers (uint64 s) |
| void | setInitializer (const char *i) |
| void | setBitfields (const char *s) |
| void | setMaxInitLines (int lines) |
| void | setMemberClass (ClassDef *cd) |
| void | setSectionList (Definition *d, MemberList *sl) |
| void | setGroupDef (GroupDef *gd, Grouping::GroupPri_t pri, const QCString &fileName, int startLine, bool hasDocs, MemberDef *member=0) |
| void | setExplicitExternal (bool b) |
| void | setReadAccessor (const char *r) |
| void | setWriteAccessor (const char *w) |
| void | setTemplateSpecialization (bool b) |
| void | makeRelated () |
| void | makeForeign () |
| void | setHasDocumentedParams (bool b) |
| void | setHasDocumentedReturnType (bool b) |
| void | setInheritsDocsFrom (MemberDef *md) |
| void | setTagInfo (TagInfo *i) |
| void | setArgsString (const char *as) |
| void | setReimplements (MemberDef *md) |
| void | insertReimplementedBy (MemberDef *md) |
| void | setRelatedAlso (ClassDef *cd) |
| void | insertEnumField (MemberDef *md) |
| void | setEnumScope (MemberDef *md, bool livesInsideEnum=FALSE) |
| void | setEnumClassScope (ClassDef *cd) |
| void | setDocumentedEnumValues (bool value) |
| void | setAnonymousEnumType (MemberDef *md) |
| bool | addExample (const char *anchor, const char *name, const char *file) |
| void | setPrototype (bool p) |
| void | setArgumentList (ArgumentList *al) |
| void | setDeclArgumentList (ArgumentList *al) |
| void | setDefinitionTemplateParameterLists (QList< ArgumentList > *lists) |
| void | setTypeConstraints (ArgumentList *al) |
| void | setType (const char *t) |
| void | setAccessorType (ClassDef *cd, const char *t) |
| void | setNamespace (NamespaceDef *nd) |
| void | setMemberGroup (MemberGroup *grp) |
| void | setMemberGroupId (int id) |
| void | makeImplementationDetail () |
| void | setFromAnonymousScope (bool b) |
| void | setFromAnonymousMember (MemberDef *m) |
| void | enableCallGraph (bool e) |
| void | enableCallerGraph (bool e) |
| void | setTemplateMaster (MemberDef *mt) |
| void | addListReference (Definition *d) |
| void | setDocsForDefinition (bool b) |
| void | setGroupAlias (MemberDef *md) |
| void | cacheTypedefVal (ClassDef *val, const QCString &templSpec, const QCString &resolvedType) |
| void | invalidateTypedefValCache () |
| void | invalidateCachedArgumentTypes () |
| void | setMemberDefinition (MemberDef *md) |
| void | setMemberDeclaration (MemberDef *md) |
| void | setAnonymousUsed () |
| void | copyArgumentNames (MemberDef *bmd) |
| void | setCategory (ClassDef *) |
| void | setCategoryRelation (MemberDef *) |
| void | setDocumentation (const char *d, const char *docFile, int docLine, bool stripWhiteSpace=TRUE) |
| void | setBriefDescription (const char *b, const char *briefFile, int briefLine) |
| void | setInbodyDocumentation (const char *d, const char *inbodyFile, int inbodyLine) |
| void | setHidden (bool b) |
| void | writeDeclaration (OutputList &ol, ClassDef *cd, NamespaceDef *nd, FileDef *fd, GroupDef *gd, bool inGroup, ClassDef *inheritFrom=0, const char *inheritId=0) |
| void | writeDocumentation (MemberList *ml, int memCount, int memTotal, OutputList &ol, const char *scopeName, Definition *container, bool inGroup, bool showEnumValues=FALSE, bool showInline=FALSE) |
| void | writeMemberDocSimple (OutputList &ol, Definition *container) |
| void | writeEnumDeclaration (OutputList &typeDecl, ClassDef *cd, NamespaceDef *nd, FileDef *fd, GroupDef *gd) |
| void | writeTagFile (FTextStream &) |
| void | warnIfUndocumented () |
| void | warnIfUndocumentedParams () |
| MemberDef * | createTemplateInstanceMember (ArgumentList *formalArgs, ArgumentList *actualArgs) |
| void | findSectionsInDocumentation () |
Public Member Functions inherited from Definition | |
| Definition (const char *defFileName, int defLine, int defColumn, const char *name, const char *b=0, const char *d=0, bool isSymbol=TRUE) | |
| virtual | ~Definition () |
| const QCString & | name () const |
| QCString | localName () const |
| QCString | symbolName () const |
| virtual QCString | getSourceFileBase () const |
| virtual QCString | getSourceAnchor () const |
| int | docLine () const |
| QCString | docFile () const |
| QCString | briefDescriptionAsTooltip () const |
| int | briefLine () const |
| QCString | inbodyDocumentation () const |
| QCString | inbodyFile () const |
| int | inbodyLine () const |
| QCString | briefFile () const |
| QCString | getDefFileName () const |
| QCString | getDefFileExtension () const |
| int | getDefLine () const |
| int | getDefColumn () const |
| virtual bool | hasUserDocumentation () const |
| virtual bool | isVisibleInProject () const |
| virtual bool | isVisible () const |
| bool | isHidden () const |
| bool | isArtificial () const |
| QCString | externalReference (const QCString &relPath) const |
| int | getStartBodyLine () const |
| int | getEndBodyLine () const |
| FileDef * | getBodyDef () const |
| SrcLangExt | getLanguage () const |
| Returns the programming language this definition was written in. More... | |
| GroupList * | partOfGroups () const |
| bool | isLinkableViaGroup () const |
| QList< ListItemInfo > * | xrefListItems () const |
| virtual Definition * | findInnerCompound (const char *name) |
| virtual Definition * | getOuterScope () const |
| MemberSDict * | getReferencesMembers () const |
| MemberSDict * | getReferencedByMembers () const |
| bool | hasSections () const |
| bool | hasSources () const |
| bool | hasBriefDescription () const |
| returns TRUE if this class has a brief description | |
| QCString | id () const |
| virtual void | setName (const char *name) |
| void | setId (const char *name) |
| void | setReference (const char *r) |
| void | addSectionsToDefinition (QList< SectionInfo > *anchorList) |
| void | setBodySegment (int bls, int ble) |
| void | setBodyDef (FileDef *fd) |
| void | addSourceReferencedBy (MemberDef *d) |
| void | addSourceReferences (MemberDef *d) |
| void | setRefItems (const QList< ListItemInfo > *sli) |
| void | mergeRefItems (Definition *d) |
| virtual void | addInnerCompound (Definition *d) |
| virtual void | setOuterScope (Definition *d) |
| void | setArtificial (bool b) |
| void | setLanguage (SrcLangExt lang) |
| void | writeSourceDef (OutputList &ol, const char *scopeName) |
| void | writeInlineCode (OutputList &ol, const char *scopeName) |
| void | writeSourceRefs (OutputList &ol, const char *scopeName) |
| void | writeSourceReffedBy (OutputList &ol, const char *scopeName) |
| void | makePartOfGroup (GroupDef *gd) |
| void | writeNavigationPath (OutputList &ol) const |
| QCString | navigationPathAsString () const |
| virtual void | writeQuickMemberLinks (OutputList &, MemberDef *) const |
| virtual void | writeSummaryLinks (OutputList &) |
| QCString | pathFragment () const |
| void | writeDocAnchorsToTagFile (FTextStream &) |
| void | setLocalName (const QCString name) |
| void | addSectionsToIndex () |
| void | writeToc (OutputList &ol) |
| void | setCookie (Cookie *cookie) |
| Cookie * | cookie () const |
Public Attributes | |
| bool | visited |
Protected Member Functions | |
| void | flushToDisk () const |
| void | loadFromDisk () const |
Protected Member Functions inherited from Definition | |
| Definition (const Definition &d) | |
Additional Inherited Members | |
Public Types inherited from DefinitionIntf | |
| enum | DefType { TypeClass = 0, TypeFile = 1, TypeNamespace = 2, TypeMember = 3, TypeGroup = 4, TypePackage = 5, TypePage = 6, TypeDir = 7, TypeSymbolList = 8 } |
A model of a class/file/namespace member symbol.
| MemberDef::MemberDef | ( | const char * | df, |
| int | dl, | ||
| int | dc, | ||
| const char * | t, | ||
| const char * | na, | ||
| const char * | a, | ||
| const char * | e, | ||
| Protection | p, | ||
| Specifier | v, | ||
| bool | s, | ||
| Relationship | r, | ||
| MemberType | mt, | ||
| const ArgumentList * | tal, | ||
| const ArgumentList * | al | ||
| ) |
Creates a new member definition.
| df | File containing the definition of this member. |
| dl | Line at which the member definition was found. |
| dc | Column at which the member definition was found. |
| t | A string representing the type of the member. |
| na | A string representing the name of the member. |
| a | A string representing the arguments of the member. |
| e | A string representing the throw clause of the members. |
| p | The protection context of the member, possible values are: Public, Protected, Private. |
| v | The degree of `virtualness' of the member, possible values are: Normal, Virtual, Pure. |
| s | A boolean that is true iff the member is static. |
| r | The relationship between the class and the member. |
| mt | The kind of member. See #MemberType for a list of all types. |
| tal | The template arguments of this member. |
| al | The arguments of this member. This is a structured form of the string past as argument a. |
| MemberDef::~MemberDef | ( | ) |
Destroys the member definition.
|
virtual |
Returns the anchor within a page where this item can be found
Implements Definition.
|
virtual |
Returns the brief description of this definition. This can include commands.
Reimplemented from Definition.
|
inlinevirtual |
Use this for dynamic inspection of the type of the derived class
Implements DefinitionIntf.
|
virtual |
Returns the name of the definition as it appears in the output
Implements Definition.
|
virtual |
Returns the detailed description of this definition
Reimplemented from Definition.
| ClassDef * MemberDef::getClassDefOfAnonymousType | ( | ) |
If this member has an anonymous class/struct/union as its type, then this method will return the ClassDef that describes this return type.
|
virtual |
Returns the base file name (without extension) of this definition. as it is referenced to/written to disk.
Implements Definition.
|
virtual |
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.
|
virtual |
Returns TRUE iff the definition is documented (which could be generated documentation)
Reimplemented from Definition.
| bool MemberDef::isBriefSectionVisible | ( | ) | const |
This methods returns TRUE iff the brief section (also known as declaration section) is visible in the documentation.
|
virtual |
Returns TRUE iff it is possible to link to this item. This can be a link to another project imported via a tag file.
Implements Definition.
|
virtual |
Returns TRUE iff it is possible to link to this item within this project.
Implements Definition.
|
virtual |
Returns TRUE if this definition is imported via a tag file.
Reimplemented from Definition.
|
virtual |
Returns the fully qualified name of this definition
Reimplemented from Definition.
|
virtual |
Sets the brief description of this definition to b. A dot is added to the sentence if not available.
Reimplemented from Definition.
|
virtual |
Sets the documentation of this definition to d.
Reimplemented from Definition.
|
virtual |
Set the documentation that was found inside the body of an item. If there was already some documentation set, the new documentation will be appended.
Reimplemented from Definition.
| void MemberDef::writeDeclaration | ( | OutputList & | ol, |
| ClassDef * | cd, | ||
| NamespaceDef * | nd, | ||
| FileDef * | fd, | ||
| GroupDef * | gd, | ||
| bool | inGroup, | ||
| ClassDef * | inheritFrom = 0, |
||
| const char * | inheritId = 0 |
||
| ) |
printf("startMemberItem for %s\n",name().data());
init.isEmpty() && initLines==0 && // one line initializer
| void MemberDef::writeDocumentation | ( | MemberList * | ml, |
| int | memCount, | ||
| int | memTotal, | ||
| OutputList & | ol, | ||
| const char * | scName, | ||
| Definition * | container, | ||
| bool | inGroup, | ||
| bool | showEnumValues = FALSE, |
||
| bool | showInline = FALSE |
||
| ) |
Writes the "detailed documentation" section of this member to all active output formats.
1.8.12