|
Packit Service |
50c9f2 |
/******************************************************************************
|
|
Packit Service |
50c9f2 |
*
|
|
Packit Service |
50c9f2 |
*
|
|
Packit Service |
50c9f2 |
*
|
|
Packit Service |
50c9f2 |
* Copyright (C) 1997-2015 by Dimitri van Heesch.
|
|
Packit Service |
50c9f2 |
*
|
|
Packit Service |
50c9f2 |
* Permission to use, copy, modify, and distribute this software and its
|
|
Packit Service |
50c9f2 |
* documentation under the terms of the GNU General Public License is hereby
|
|
Packit Service |
50c9f2 |
* granted. No representations are made about the suitability of this software
|
|
Packit Service |
50c9f2 |
* for any purpose. It is provided "as is" without express or implied warranty.
|
|
Packit Service |
50c9f2 |
* See the GNU General Public License for more details.
|
|
Packit Service |
50c9f2 |
*
|
|
Packit Service |
50c9f2 |
* Documents produced by Doxygen are derivative works derived from the
|
|
Packit Service |
50c9f2 |
* input used in their production; they are not affected by this license.
|
|
Packit Service |
50c9f2 |
*
|
|
Packit Service |
50c9f2 |
*/
|
|
Packit Service |
50c9f2 |
|
|
Packit Service |
50c9f2 |
#ifndef MEMBERDEF_H
|
|
Packit Service |
50c9f2 |
#define MEMBERDEF_H
|
|
Packit Service |
50c9f2 |
|
|
Packit Service |
50c9f2 |
#include <qlist.h>
|
|
Packit Service |
50c9f2 |
#include <sys/types.h>
|
|
Packit Service |
50c9f2 |
|
|
Packit Service |
50c9f2 |
#include "types.h"
|
|
Packit Service |
50c9f2 |
#include "definition.h"
|
|
Packit Service |
50c9f2 |
|
|
Packit Service |
50c9f2 |
class ClassDef;
|
|
Packit Service |
50c9f2 |
class NamespaceDef;
|
|
Packit Service |
50c9f2 |
class GroupDef;
|
|
Packit Service |
50c9f2 |
class FileDef;
|
|
Packit Service |
50c9f2 |
class MemberList;
|
|
Packit Service |
50c9f2 |
class MemberGroup;
|
|
Packit Service |
50c9f2 |
class ExampleSDict;
|
|
Packit Service |
50c9f2 |
class OutputList;
|
|
Packit Service |
50c9f2 |
class GroupDef;
|
|
Packit Service |
50c9f2 |
class QTextStream;
|
|
Packit Service |
50c9f2 |
class ArgumentList;
|
|
Packit Service |
50c9f2 |
class MemberDefImpl;
|
|
Packit Service |
50c9f2 |
class QStrList;
|
|
Packit Service |
50c9f2 |
struct TagInfo;
|
|
Packit Service |
50c9f2 |
|
|
Packit Service |
50c9f2 |
/** A model of a class/file/namespace member symbol. */
|
|
Packit Service |
50c9f2 |
class MemberDef : public Definition
|
|
Packit Service |
50c9f2 |
{
|
|
Packit Service |
50c9f2 |
public:
|
|
Packit Service |
50c9f2 |
|
|
Packit Service |
50c9f2 |
MemberDef(const char *defFileName,int defLine,int defColumn,
|
|
Packit Service |
50c9f2 |
const char *type,const char *name,const char *args,
|
|
Packit Service |
50c9f2 |
const char *excp,Protection prot,Specifier virt,bool stat,
|
|
Packit Service |
50c9f2 |
Relationship related,MemberType t,const ArgumentList *tal,
|
|
Packit Service |
50c9f2 |
const ArgumentList *al);
|
|
Packit Service |
50c9f2 |
~MemberDef();
|
|
Packit Service |
50c9f2 |
DefType definitionType() const { return TypeMember; }
|
|
Packit Service |
50c9f2 |
// move this member into a different scope
|
|
Packit Service |
50c9f2 |
MemberDef *deepCopy() const;
|
|
Packit Service |
50c9f2 |
void moveTo(Definition *);
|
|
Packit Service |
50c9f2 |
|
|
Packit Service |
50c9f2 |
//-----------------------------------------------------------------------------------
|
|
Packit Service |
50c9f2 |
// ---- getters -----
|
|
Packit Service |
50c9f2 |
//-----------------------------------------------------------------------------------
|
|
Packit Service |
50c9f2 |
|
|
Packit Service |
50c9f2 |
// link id
|
|
Packit Service |
50c9f2 |
QCString getOutputFileBase() const;
|
|
Packit Service |
50c9f2 |
QCString getReference() const;
|
|
Packit Service |
50c9f2 |
QCString anchor() const;
|
|
Packit Service |
50c9f2 |
|
|
Packit Service |
50c9f2 |
const char *declaration() const;
|
|
Packit Service |
50c9f2 |
const char *definition() const;
|
|
Packit Service |
50c9f2 |
const char *typeString() const;
|
|
Packit Service |
50c9f2 |
const char *argsString() const;
|
|
Packit Service |
50c9f2 |
const char *excpString() const;
|
|
Packit Service |
50c9f2 |
const char *bitfieldString() const;
|
|
Packit Service |
50c9f2 |
const char *extraTypeChars() const;
|
|
Packit Service |
50c9f2 |
const QCString &initializer() const;
|
|
Packit Service |
50c9f2 |
int initializerLines() const;
|
|
Packit Service |
50c9f2 |
uint64 getMemberSpecifiers() const;
|
|
Packit Service |
50c9f2 |
MemberList *getSectionList(Definition *d) const;
|
|
Packit Service |
50c9f2 |
QCString displayDefinition() const;
|
|
Packit Service |
50c9f2 |
|
|
Packit Service |
50c9f2 |
// scope query members
|
|
Packit Service |
50c9f2 |
ClassDef *getClassDef() const;
|
|
Packit Service |
50c9f2 |
FileDef *getFileDef() const;
|
|
Packit Service |
50c9f2 |
NamespaceDef* getNamespaceDef() const;
|
|
Packit Service |
50c9f2 |
ClassDef *accessorClass() const;
|
|
Packit Service |
50c9f2 |
|
|
Packit Service |
50c9f2 |
// grabbing the property read/write accessor names
|
|
Packit Service |
50c9f2 |
const char *getReadAccessor() const;
|
|
Packit Service |
50c9f2 |
const char *getWriteAccessor() const;
|
|
Packit Service |
50c9f2 |
|
|
Packit Service |
50c9f2 |
// querying the grouping definition
|
|
Packit Service |
50c9f2 |
GroupDef *getGroupDef() const;
|
|
Packit Service |
50c9f2 |
Grouping::GroupPri_t getGroupPri() const;
|
|
Packit Service |
50c9f2 |
const char *getGroupFileName() const;
|
|
Packit Service |
50c9f2 |
int getGroupStartLine() const;
|
|
Packit Service |
50c9f2 |
bool getGroupHasDocs() const;
|
|
Packit Service |
50c9f2 |
QCString qualifiedName() const;
|
|
Packit Service |
50c9f2 |
QCString objCMethodName(bool localLink,bool showStatic) const;
|
|
Packit Service |
50c9f2 |
|
|
Packit Service |
50c9f2 |
// direct kind info
|
|
Packit Service |
50c9f2 |
Protection protection() const;
|
|
Packit Service |
50c9f2 |
Specifier virtualness(int count=0) const;
|
|
Packit Service |
50c9f2 |
MemberType memberType() const;
|
|
Packit Service |
50c9f2 |
QCString memberTypeName() const;
|
|
Packit Service |
50c9f2 |
|
|
Packit Service |
50c9f2 |
// getter methods
|
|
Packit Service |
50c9f2 |
bool isSignal() const;
|
|
Packit Service |
50c9f2 |
bool isSlot() const;
|
|
Packit Service |
50c9f2 |
bool isVariable() const;
|
|
Packit Service |
50c9f2 |
bool isEnumerate() const;
|
|
Packit Service |
50c9f2 |
bool isEnumValue() const;
|
|
Packit Service |
50c9f2 |
bool isTypedef() const;
|
|
Packit Service |
50c9f2 |
bool isFunction() const;
|
|
Packit Service |
50c9f2 |
bool isFunctionPtr() const;
|
|
Packit Service |
50c9f2 |
bool isDefine() const;
|
|
Packit Service |
50c9f2 |
bool isFriend() const;
|
|
Packit Service |
50c9f2 |
bool isDCOP() const;
|
|
Packit Service |
50c9f2 |
bool isProperty() const;
|
|
Packit Service |
50c9f2 |
bool isEvent() const;
|
|
Packit Service |
50c9f2 |
bool isRelated() const;
|
|
Packit Service |
50c9f2 |
bool isForeign() const;
|
|
Packit Service |
50c9f2 |
bool isStatic() const;
|
|
Packit Service |
50c9f2 |
bool isInline() const;
|
|
Packit Service |
50c9f2 |
bool isExplicit() const;
|
|
Packit Service |
50c9f2 |
bool isMutable() const;
|
|
Packit Service |
50c9f2 |
bool isGettable() const;
|
|
Packit Service |
50c9f2 |
bool isPrivateGettable() const;
|
|
Packit Service |
50c9f2 |
bool isProtectedGettable() const;
|
|
Packit Service |
50c9f2 |
bool isSettable() const;
|
|
Packit Service |
50c9f2 |
bool isPrivateSettable() const;
|
|
Packit Service |
50c9f2 |
bool isProtectedSettable() const;
|
|
Packit Service |
50c9f2 |
bool isReadable() const;
|
|
Packit Service |
50c9f2 |
bool isWritable() const;
|
|
Packit Service |
50c9f2 |
bool isAddable() const;
|
|
Packit Service |
50c9f2 |
bool isRemovable() const;
|
|
Packit Service |
50c9f2 |
bool isRaisable() const;
|
|
Packit Service |
50c9f2 |
bool isFinal() const;
|
|
Packit Service |
50c9f2 |
bool isAbstract() const;
|
|
Packit Service |
50c9f2 |
bool isOverride() const;
|
|
Packit Service |
50c9f2 |
bool isInitonly() const;
|
|
Packit Service |
50c9f2 |
bool isOptional() const;
|
|
Packit Service |
50c9f2 |
bool isRequired() const;
|
|
Packit Service |
50c9f2 |
bool isNonAtomic() const;
|
|
Packit Service |
50c9f2 |
bool isCopy() const;
|
|
Packit Service |
50c9f2 |
bool isAssign() const;
|
|
Packit Service |
50c9f2 |
bool isRetain() const;
|
|
Packit Service |
50c9f2 |
bool isWeak() const;
|
|
Packit Service |
50c9f2 |
bool isStrong() const;
|
|
Packit Service |
50c9f2 |
bool isUnretained() const;
|
|
Packit Service |
50c9f2 |
bool isNew() const;
|
|
Packit Service |
50c9f2 |
bool isSealed() const;
|
|
Packit Service |
50c9f2 |
bool isImplementation() const;
|
|
Packit Service |
50c9f2 |
bool isExternal() const;
|
|
Packit Service |
50c9f2 |
bool isAlias() const;
|
|
Packit Service |
50c9f2 |
bool isDefault() const;
|
|
Packit Service |
50c9f2 |
bool isDelete() const;
|
|
Packit Service |
50c9f2 |
bool isNoExcept() const;
|
|
Packit Service |
50c9f2 |
bool isAttribute() const; // UNO IDL attribute
|
|
Packit Service |
50c9f2 |
bool isUNOProperty() const; // UNO IDL property
|
|
Packit Service |
50c9f2 |
bool isReadonly() const;
|
|
Packit Service |
50c9f2 |
bool isBound() const;
|
|
Packit Service |
50c9f2 |
bool isConstrained() const;
|
|
Packit Service |
50c9f2 |
bool isTransient() const;
|
|
Packit Service |
50c9f2 |
bool isMaybeVoid() const;
|
|
Packit Service |
50c9f2 |
bool isMaybeDefault() const;
|
|
Packit Service |
50c9f2 |
bool isMaybeAmbiguous() const;
|
|
Packit Service |
50c9f2 |
bool isPublished() const; // UNO IDL published
|
|
Packit Service |
50c9f2 |
bool isTemplateSpecialization() const;
|
|
Packit Service |
50c9f2 |
bool hasDocumentedParams() const;
|
|
Packit Service |
50c9f2 |
bool hasDocumentedReturnType() const;
|
|
Packit Service |
50c9f2 |
bool isObjCMethod() const;
|
|
Packit Service |
50c9f2 |
bool isObjCProperty() const;
|
|
Packit Service |
50c9f2 |
bool isConstructor() const;
|
|
Packit Service |
50c9f2 |
bool isDestructor() const;
|
|
Packit Service |
50c9f2 |
bool hasOneLineInitializer() const;
|
|
Packit Service |
50c9f2 |
bool hasMultiLineInitializer() const;
|
|
Packit Service |
50c9f2 |
bool protectionVisible() const;
|
|
Packit Service |
50c9f2 |
bool showInCallGraph() const;
|
|
Packit Service |
50c9f2 |
bool isStrongEnumValue() const;
|
|
Packit Service |
50c9f2 |
bool livesInsideEnum() const;
|
|
Packit Service |
50c9f2 |
|
|
Packit Service |
50c9f2 |
int numberOfFlowKeyWords();
|
|
Packit Service |
50c9f2 |
// derived getters
|
|
Packit Service |
50c9f2 |
bool isFriendToHide() const;
|
|
Packit Service |
50c9f2 |
bool isNotFriend() const;
|
|
Packit Service |
50c9f2 |
bool isFunctionOrSignalSlot() const;
|
|
Packit Service |
50c9f2 |
bool isRelatedOrFriend() const;
|
|
Packit Service |
50c9f2 |
|
|
Packit Service |
50c9f2 |
// output info
|
|
Packit Service |
50c9f2 |
bool isLinkableInProject() const;
|
|
Packit Service |
50c9f2 |
bool isLinkable() const;
|
|
Packit Service |
50c9f2 |
bool hasDocumentation() const; // overrides hasDocumentation in definition.h
|
|
Packit Service |
50c9f2 |
//bool hasUserDocumentation() const; // overrides hasUserDocumentation
|
|
Packit Service |
50c9f2 |
bool isDeleted() const;
|
|
Packit Service |
50c9f2 |
bool isBriefSectionVisible() const;
|
|
Packit Service |
50c9f2 |
bool isDetailedSectionVisible(bool inGroup,bool inFile) const;
|
|
Packit Service |
50c9f2 |
bool isDetailedSectionLinkable() const;
|
|
Packit Service |
50c9f2 |
bool isFriendClass() const;
|
|
Packit Service |
50c9f2 |
bool isDocumentedFriendClass() const;
|
|
Packit Service |
50c9f2 |
|
|
Packit Service |
50c9f2 |
MemberDef *reimplements() const;
|
|
Packit Service |
50c9f2 |
MemberList *reimplementedBy() const;
|
|
Packit Service |
50c9f2 |
bool isReimplementedBy(ClassDef *cd) const;
|
|
Packit Service |
50c9f2 |
|
|
Packit Service |
50c9f2 |
//int inbodyLine() const;
|
|
Packit Service |
50c9f2 |
//QCString inbodyFile() const;
|
|
Packit Service |
50c9f2 |
//const QCString &inbodyDocumentation() const;
|
|
Packit Service |
50c9f2 |
|
|
Packit Service |
50c9f2 |
ClassDef *relatedAlso() const;
|
|
Packit Service |
50c9f2 |
|
|
Packit Service |
50c9f2 |
bool hasDocumentedEnumValues() const;
|
|
Packit Service |
50c9f2 |
MemberDef *getAnonymousEnumType() const;
|
|
Packit Service |
50c9f2 |
bool isDocsForDefinition() const;
|
|
Packit Service |
50c9f2 |
MemberDef *getEnumScope() const;
|
|
Packit Service |
50c9f2 |
MemberList *enumFieldList() const;
|
|
Packit Service |
50c9f2 |
void setEnumBaseType(const QCString &type);
|
|
Packit Service |
50c9f2 |
QCString enumBaseType() const;
|
|
Packit Service |
50c9f2 |
|
|
Packit Service |
50c9f2 |
bool hasExamples();
|
|
Packit Service |
50c9f2 |
ExampleSDict *getExamples() const;
|
|
Packit Service |
50c9f2 |
bool isPrototype() const;
|
|
Packit Service |
50c9f2 |
|
|
Packit Service |
50c9f2 |
// argument related members
|
|
Packit Service |
50c9f2 |
ArgumentList *argumentList() const;
|
|
Packit Service |
50c9f2 |
ArgumentList *declArgumentList() const;
|
|
Packit Service |
50c9f2 |
ArgumentList *templateArguments() const;
|
|
Packit Service |
50c9f2 |
QList<ArgumentList> *definitionTemplateParameterLists() const;
|
|
Packit Service |
50c9f2 |
|
|
Packit Service |
50c9f2 |
// member group related members
|
|
Packit Service |
50c9f2 |
int getMemberGroupId() const;
|
|
Packit Service |
50c9f2 |
MemberGroup *getMemberGroup() const;
|
|
Packit Service |
50c9f2 |
|
|
Packit Service |
50c9f2 |
bool fromAnonymousScope() const;
|
|
Packit Service |
50c9f2 |
bool anonymousDeclShown() const;
|
|
Packit Service |
50c9f2 |
MemberDef *fromAnonymousMember() const;
|
|
Packit Service |
50c9f2 |
|
|
Packit Service |
50c9f2 |
// callgraph related members
|
|
Packit Service |
50c9f2 |
bool hasCallGraph() const;
|
|
Packit Service |
50c9f2 |
bool hasCallerGraph() const;
|
|
Packit Service |
50c9f2 |
bool visibleMemberGroup(bool hideNoHeader);
|
|
Packit Service |
50c9f2 |
|
|
Packit Service |
50c9f2 |
MemberDef *templateMaster() const;
|
|
Packit Service |
50c9f2 |
QCString getScopeString() const;
|
|
Packit Service |
50c9f2 |
ClassDef *getClassDefOfAnonymousType();
|
|
Packit Service |
50c9f2 |
|
|
Packit Service |
50c9f2 |
// cached typedef functions
|
|
Packit Service |
50c9f2 |
bool isTypedefValCached() const;
|
|
Packit Service |
50c9f2 |
ClassDef *getCachedTypedefVal() const;
|
|
Packit Service |
50c9f2 |
QCString getCachedTypedefTemplSpec() const;
|
|
Packit Service |
50c9f2 |
QCString getCachedResolvedTypedef() const;
|
|
Packit Service |
50c9f2 |
|
|
Packit Service |
50c9f2 |
MemberDef *memberDefinition() const;
|
|
Packit Service |
50c9f2 |
MemberDef *memberDeclaration() const;
|
|
Packit Service |
50c9f2 |
MemberDef *inheritsDocsFrom() const;
|
|
Packit Service |
50c9f2 |
MemberDef *getGroupAlias() const;
|
|
Packit Service |
50c9f2 |
|
|
Packit Service |
50c9f2 |
ClassDef *category() const;
|
|
Packit Service |
50c9f2 |
MemberDef *categoryRelation() const;
|
|
Packit Service |
50c9f2 |
|
|
Packit Service |
50c9f2 |
QCString displayName(bool=TRUE) const;
|
|
Packit Service |
50c9f2 |
QCString getDeclType() const;
|
|
Packit Service |
50c9f2 |
void getLabels(QStrList &sl,Definition *container) const;
|
|
Packit Service |
50c9f2 |
|
|
Packit Service |
50c9f2 |
const ArgumentList *typeConstraints() const;
|
|
Packit Service |
50c9f2 |
|
|
Packit Service |
50c9f2 |
// overrules
|
|
Packit Service |
50c9f2 |
QCString documentation() const;
|
|
Packit Service |
50c9f2 |
QCString briefDescription(bool abbr=FALSE) const;
|
|
Packit Service |
50c9f2 |
QCString fieldType() const;
|
|
Packit Service |
50c9f2 |
bool isReference() const;
|
|
Packit Service |
50c9f2 |
|
|
Packit Service |
50c9f2 |
|
|
Packit Service |
50c9f2 |
//-----------------------------------------------------------------------------------
|
|
Packit Service |
50c9f2 |
// ---- setters -----
|
|
Packit Service |
50c9f2 |
//-----------------------------------------------------------------------------------
|
|
Packit Service |
50c9f2 |
|
|
Packit Service |
50c9f2 |
void addFlowKeyWord();
|
|
Packit Service |
50c9f2 |
|
|
Packit Service |
50c9f2 |
// set functions
|
|
Packit Service |
50c9f2 |
void setMemberType(MemberType t);
|
|
Packit Service |
50c9f2 |
void setDefinition(const char *d);
|
|
Packit Service |
50c9f2 |
void setFileDef(FileDef *fd);
|
|
Packit Service |
50c9f2 |
void setAnchor();
|
|
Packit Service |
50c9f2 |
void setProtection(Protection p);
|
|
Packit Service |
50c9f2 |
void setMemberSpecifiers(uint64 s);
|
|
Packit Service |
50c9f2 |
void mergeMemberSpecifiers(uint64 s);
|
|
Packit Service |
50c9f2 |
void setInitializer(const char *i);
|
|
Packit Service |
50c9f2 |
void setBitfields(const char *s);
|
|
Packit Service |
50c9f2 |
void setMaxInitLines(int lines);
|
|
Packit Service |
50c9f2 |
void setMemberClass(ClassDef *cd);
|
|
Packit Service |
50c9f2 |
void setSectionList(Definition *d,MemberList *sl);
|
|
Packit Service |
50c9f2 |
void setGroupDef(GroupDef *gd,Grouping::GroupPri_t pri,
|
|
Packit Service |
50c9f2 |
const QCString &fileName,int startLine,bool hasDocs,
|
|
Packit Service |
50c9f2 |
MemberDef *member=0);
|
|
Packit Service |
50c9f2 |
void setExplicitExternal(bool b);
|
|
Packit Service |
50c9f2 |
void setReadAccessor(const char *r);
|
|
Packit Service |
50c9f2 |
void setWriteAccessor(const char *w);
|
|
Packit Service |
50c9f2 |
void setTemplateSpecialization(bool b);
|
|
Packit Service |
50c9f2 |
|
|
Packit Service |
50c9f2 |
void makeRelated();
|
|
Packit Service |
50c9f2 |
void makeForeign();
|
|
Packit Service |
50c9f2 |
void setHasDocumentedParams(bool b);
|
|
Packit Service |
50c9f2 |
void setHasDocumentedReturnType(bool b);
|
|
Packit Service |
50c9f2 |
void setInheritsDocsFrom(MemberDef *md);
|
|
Packit Service |
50c9f2 |
void setTagInfo(TagInfo *i);
|
|
Packit Service |
50c9f2 |
void setArgsString(const char *as);
|
|
Packit Service |
50c9f2 |
|
|
Packit Service |
50c9f2 |
// relation to other members
|
|
Packit Service |
50c9f2 |
void setReimplements(MemberDef *md);
|
|
Packit Service |
50c9f2 |
void insertReimplementedBy(MemberDef *md);
|
|
Packit Service |
50c9f2 |
|
|
Packit Service |
50c9f2 |
// in-body documentation
|
|
Packit Service |
50c9f2 |
//void setInbodyDocumentation(const char *docs,const char *file,int line);
|
|
Packit Service |
50c9f2 |
|
|
Packit Service |
50c9f2 |
void setRelatedAlso(ClassDef *cd);
|
|
Packit Service |
50c9f2 |
|
|
Packit Service |
50c9f2 |
// enumeration specific members
|
|
Packit Service |
50c9f2 |
void insertEnumField(MemberDef *md);
|
|
Packit Service |
50c9f2 |
void setEnumScope(MemberDef *md,bool livesInsideEnum=FALSE);
|
|
Packit Service |
50c9f2 |
void setEnumClassScope(ClassDef *cd);
|
|
Packit Service |
50c9f2 |
void setDocumentedEnumValues(bool value);
|
|
Packit Service |
50c9f2 |
void setAnonymousEnumType(MemberDef *md);
|
|
Packit Service |
50c9f2 |
|
|
Packit Service |
50c9f2 |
// example related members
|
|
Packit Service |
50c9f2 |
bool addExample(const char *anchor,const char *name,const char *file);
|
|
Packit Service |
50c9f2 |
|
|
Packit Service |
50c9f2 |
// prototype related members
|
|
Packit Service |
50c9f2 |
void setPrototype(bool p);
|
|
Packit Service |
50c9f2 |
|
|
Packit Service |
50c9f2 |
// argument related members
|
|
Packit Service |
50c9f2 |
void setArgumentList(ArgumentList *al);
|
|
Packit Service |
50c9f2 |
void setDeclArgumentList(ArgumentList *al);
|
|
Packit Service |
50c9f2 |
void setDefinitionTemplateParameterLists(QList<ArgumentList> *lists);
|
|
Packit Service |
50c9f2 |
void setTypeConstraints(ArgumentList *al);
|
|
Packit Service |
50c9f2 |
void setType(const char *t);
|
|
Packit Service |
50c9f2 |
void setAccessorType(ClassDef *cd,const char *t);
|
|
Packit Service |
50c9f2 |
|
|
Packit Service |
50c9f2 |
// namespace related members
|
|
Packit Service |
50c9f2 |
void setNamespace(NamespaceDef *nd);
|
|
Packit Service |
50c9f2 |
|
|
Packit Service |
50c9f2 |
// member group related members
|
|
Packit Service |
50c9f2 |
void setMemberGroup(MemberGroup *grp);
|
|
Packit Service |
50c9f2 |
void setMemberGroupId(int id);
|
|
Packit Service |
50c9f2 |
void makeImplementationDetail();
|
|
Packit Service |
50c9f2 |
|
|
Packit Service |
50c9f2 |
// anonymous scope members
|
|
Packit Service |
50c9f2 |
void setFromAnonymousScope(bool b);
|
|
Packit Service |
50c9f2 |
void setFromAnonymousMember(MemberDef *m);
|
|
Packit Service |
50c9f2 |
|
|
Packit Service |
50c9f2 |
void enableCallGraph(bool e);
|
|
Packit Service |
50c9f2 |
void enableCallerGraph(bool e);
|
|
Packit Service |
50c9f2 |
|
|
Packit Service |
50c9f2 |
void setTemplateMaster(MemberDef *mt);
|
|
Packit Service |
50c9f2 |
void addListReference(Definition *d);
|
|
Packit Service |
50c9f2 |
void setDocsForDefinition(bool b);
|
|
Packit Service |
50c9f2 |
void setGroupAlias(MemberDef *md);
|
|
Packit Service |
50c9f2 |
|
|
Packit Service |
50c9f2 |
void cacheTypedefVal(ClassDef *val,const QCString &templSpec,const QCString &resolvedType);
|
|
Packit Service |
50c9f2 |
void invalidateTypedefValCache();
|
|
Packit Service |
50c9f2 |
|
|
Packit Service |
50c9f2 |
void invalidateCachedArgumentTypes();
|
|
Packit Service |
50c9f2 |
|
|
Packit Service |
50c9f2 |
// declaration <-> definition relation
|
|
Packit Service |
50c9f2 |
void setMemberDefinition(MemberDef *md);
|
|
Packit Service |
50c9f2 |
void setMemberDeclaration(MemberDef *md);
|
|
Packit Service |
50c9f2 |
|
|
Packit Service |
50c9f2 |
void setAnonymousUsed();
|
|
Packit Service |
50c9f2 |
void copyArgumentNames(MemberDef *bmd);
|
|
Packit Service |
50c9f2 |
|
|
Packit Service |
50c9f2 |
void setCategory(ClassDef *);
|
|
Packit Service |
50c9f2 |
void setCategoryRelation(MemberDef *);
|
|
Packit Service |
50c9f2 |
|
|
Packit Service |
50c9f2 |
void setDocumentation(const char *d,const char *docFile,int docLine,bool stripWhiteSpace=TRUE);
|
|
Packit Service |
50c9f2 |
void setBriefDescription(const char *b,const char *briefFile,int briefLine);
|
|
Packit Service |
50c9f2 |
void setInbodyDocumentation(const char *d,const char *inbodyFile,int inbodyLine);
|
|
Packit Service |
50c9f2 |
|
|
Packit Service |
50c9f2 |
void setHidden(bool b);
|
|
Packit Service |
50c9f2 |
|
|
Packit Service |
50c9f2 |
//-----------------------------------------------------------------------------------
|
|
Packit Service |
50c9f2 |
// --- actions ----
|
|
Packit Service |
50c9f2 |
//-----------------------------------------------------------------------------------
|
|
Packit Service |
50c9f2 |
|
|
Packit Service |
50c9f2 |
// output generation
|
|
Packit Service |
50c9f2 |
void writeDeclaration(OutputList &ol,
|
|
Packit Service |
50c9f2 |
ClassDef *cd,NamespaceDef *nd,FileDef *fd,GroupDef *gd,
|
|
Packit Service |
50c9f2 |
bool inGroup, ClassDef *inheritFrom=0,const char *inheritId=0);
|
|
Packit Service |
50c9f2 |
void writeDocumentation(MemberList *ml,int memCount,int memTotal,OutputList &ol,
|
|
Packit Service |
50c9f2 |
const char *scopeName,Definition *container,
|
|
Packit Service |
50c9f2 |
bool inGroup,bool showEnumValues=FALSE,bool
|
|
Packit Service |
50c9f2 |
showInline=FALSE);
|
|
Packit Service |
50c9f2 |
void writeMemberDocSimple(OutputList &ol,Definition *container);
|
|
Packit Service |
50c9f2 |
void writeEnumDeclaration(OutputList &typeDecl,
|
|
Packit Service |
50c9f2 |
ClassDef *cd,NamespaceDef *nd,FileDef *fd,GroupDef *gd);
|
|
Packit Service |
50c9f2 |
void writeTagFile(FTextStream &);
|
|
Packit Service |
50c9f2 |
void warnIfUndocumented();
|
|
Packit Service |
50c9f2 |
void warnIfUndocumentedParams();
|
|
Packit Service |
50c9f2 |
|
|
Packit Service |
50c9f2 |
MemberDef *createTemplateInstanceMember(ArgumentList *formalArgs,
|
|
Packit Service |
50c9f2 |
ArgumentList *actualArgs);
|
|
Packit Service |
50c9f2 |
|
|
Packit Service |
50c9f2 |
void findSectionsInDocumentation();
|
|
Packit Service |
50c9f2 |
|
|
Packit Service |
50c9f2 |
bool visited;
|
|
Packit Service |
50c9f2 |
|
|
Packit Service |
50c9f2 |
protected:
|
|
Packit Service |
50c9f2 |
void flushToDisk() const;
|
|
Packit Service |
50c9f2 |
void loadFromDisk() const;
|
|
Packit Service |
50c9f2 |
private:
|
|
Packit Service |
50c9f2 |
void lock() const;
|
|
Packit Service |
50c9f2 |
void unlock() const;
|
|
Packit Service |
50c9f2 |
void saveToDisk() const;
|
|
Packit Service |
50c9f2 |
void makeResident() const;
|
|
Packit Service |
50c9f2 |
void _computeLinkableInProject();
|
|
Packit Service |
50c9f2 |
void _computeIsConstructor();
|
|
Packit Service |
50c9f2 |
void _computeIsDestructor();
|
|
Packit Service |
50c9f2 |
void _writeGroupInclude(OutputList &ol,bool inGroup);
|
|
Packit Service |
50c9f2 |
void _writeCallGraph(OutputList &ol);
|
|
Packit Service |
50c9f2 |
void _writeCallerGraph(OutputList &ol);
|
|
Packit Service |
50c9f2 |
void _writeReimplements(OutputList &ol);
|
|
Packit Service |
50c9f2 |
void _writeReimplementedBy(OutputList &ol);
|
|
Packit Service |
50c9f2 |
void _writeExamples(OutputList &ol);
|
|
Packit Service |
50c9f2 |
void _writeTypeConstraints(OutputList &ol);
|
|
Packit Service |
50c9f2 |
void _writeEnumValues(OutputList &ol,Definition *container,
|
|
Packit Service |
50c9f2 |
const QCString &cfname,const QCString &ciname,
|
|
Packit Service |
50c9f2 |
const QCString &cname);
|
|
Packit Service |
50c9f2 |
void _writeCategoryRelation(OutputList &ol);
|
|
Packit Service |
50c9f2 |
void _writeTagData(const DefType);
|
|
Packit Service |
50c9f2 |
void _addToSearchIndex();
|
|
Packit Service |
50c9f2 |
|
|
Packit Service |
50c9f2 |
static int s_indentLevel;
|
|
Packit Service |
50c9f2 |
|
|
Packit Service |
50c9f2 |
int number_of_flowkw;
|
|
Packit Service |
50c9f2 |
|
|
Packit Service |
50c9f2 |
// disable copying of member defs
|
|
Packit Service |
50c9f2 |
MemberDef(const MemberDef &);
|
|
Packit Service |
50c9f2 |
MemberDef &operator=(const MemberDef &);
|
|
Packit Service |
50c9f2 |
|
|
Packit Service |
50c9f2 |
void writeLink(OutputList &ol,
|
|
Packit Service |
50c9f2 |
ClassDef *cd,NamespaceDef *nd,FileDef *fd,GroupDef *gd,
|
|
Packit Service |
50c9f2 |
bool onlyText=FALSE);
|
|
Packit Service |
50c9f2 |
|
|
Packit Service |
50c9f2 |
MemberDefImpl *m_impl;
|
|
Packit Service |
50c9f2 |
uchar m_isLinkableCached; // 0 = not cached, 1=FALSE, 2=TRUE
|
|
Packit Service |
50c9f2 |
uchar m_isConstructorCached; // 0 = not cached, 1=FALSE, 2=TRUE
|
|
Packit Service |
50c9f2 |
uchar m_isDestructorCached; // 0 = not cached, 1=FALSE, 2=TRUE
|
|
Packit Service |
50c9f2 |
};
|
|
Packit Service |
50c9f2 |
|
|
Packit Service |
50c9f2 |
void combineDeclarationAndDefinition(MemberDef *mdec,MemberDef *mdef);
|
|
Packit Service |
50c9f2 |
|
|
Packit Service |
50c9f2 |
#endif
|