#include <entry.h>
Public Types | |
| enum | Sections { CLASS_SEC = 0x00000001, NAMESPACE_SEC = 0x00000010, COMPOUND_MASK = CLASS_SEC, SCOPE_MASK = COMPOUND_MASK | NAMESPACE_SEC, CLASSDOC_SEC = 0x00000800, STRUCTDOC_SEC = 0x00001000, UNIONDOC_SEC = 0x00002000, EXCEPTIONDOC_SEC = 0x00004000, NAMESPACEDOC_SEC = 0x00008000, INTERFACEDOC_SEC = 0x00010000, PROTOCOLDOC_SEC = 0x00020000, CATEGORYDOC_SEC = 0x00040000, SERVICEDOC_SEC = 0x00080000, SINGLETONDOC_SEC = 0x00100000, COMPOUNDDOC_MASK, SOURCE_SEC = 0x00400000, HEADER_SEC = 0x00800000, FILE_MASK = SOURCE_SEC | HEADER_SEC, ENUMDOC_SEC = 0x01000000, ENUM_SEC = 0x02000000, EMPTY_SEC = 0x03000000, PAGEDOC_SEC = 0x04000000, VARIABLE_SEC = 0x05000000, FUNCTION_SEC = 0x06000000, TYPEDEF_SEC = 0x07000000, MEMBERDOC_SEC = 0x08000000, OVERLOADDOC_SEC = 0x09000000, EXAMPLE_SEC = 0x0a000000, VARIABLEDOC_SEC = 0x0b000000, FILEDOC_SEC = 0x0c000000, DEFINEDOC_SEC = 0x0d000000, INCLUDE_SEC = 0x0e000000, DEFINE_SEC = 0x0f000000, GROUPDOC_SEC = 0x10000000, USINGDIR_SEC = 0x11000000, MAINPAGEDOC_SEC = 0x12000000, MEMBERGRP_SEC = 0x13000000, USINGDECL_SEC = 0x14000000, PACKAGE_SEC = 0x15000000, PACKAGEDOC_SEC = 0x16000000, OBJCIMPL_SEC = 0x17000000, DIRDOC_SEC = 0x18000000, EXPORTED_INTERFACE_SEC = 0x19000000, INCLUDED_SERVICE_SEC = 0x1A000000 } |
| enum | GroupDocType { GROUPDOC_NORMAL, GROUPDOC_ADD, GROUPDOC_WEAK } |
Public Member Functions | |
| Entry () | |
| Entry (const Entry &) | |
| ~Entry () | |
| int | getSize () |
| void | addSpecialListItem (const char *listName, int index) |
| void | createNavigationIndex (EntryNav *rootNav, FileStorage *storage, FileDef *fd) |
| void | setParent (Entry *parent) |
| Entry * | parent () const |
| const QList< Entry > * | children () const |
| void | addSubEntry (Entry *e) |
| Entry * | removeSubEntry (Entry *e) |
| void | reset () |
| void | marshall (StorageIntf *) |
| void | unmarshall (StorageIntf *) |
| const char * | groupDocCmd () const |
| return the command name used to define GROUPDOC_SEC More... | |
| Grouping::GroupPri_t | groupingPri () const |
Public Attributes | |
| int | section |
| entry type (see Sections); More... | |
| QCString | type |
| member type More... | |
| QCString | name |
| member name More... | |
| TagInfo * | tagInfo |
| tag file info More... | |
| Protection | protection |
| class protection More... | |
| MethodTypes | mtype |
| signal, slot, (dcop) method, or property? More... | |
| uint64 | spec |
| class/member specifiers More... | |
| int | initLines |
| define/variable initializer lines to show More... | |
| bool | stat |
| static ? More... | |
| bool | explicitExternal |
| explicitly defined as external? More... | |
| bool | proto |
| prototype ? More... | |
| bool | subGrouping |
| automatically group class members? More... | |
| bool | callGraph |
| do we need to draw the call graph? More... | |
| bool | callerGraph |
| do we need to draw the caller graph? More... | |
| Specifier | virt |
| virtualness of the entry More... | |
| QCString | args |
| member argument string More... | |
| QCString | bitfields |
| member's bit fields More... | |
| ArgumentList * | argList |
| member arguments as a list More... | |
| QList< ArgumentList > * | tArgLists |
| template argument declarations More... | |
| QGString | program |
| the program text More... | |
| QGString | initializer |
| initial value (for variables) More... | |
| QCString | includeFile |
| include file (2 arg of \class, must be unique) More... | |
| QCString | includeName |
| include name (3 arg of \class) More... | |
| QCString | doc |
| documentation block (partly parsed) More... | |
| int | docLine |
| line number at which the documentation was found More... | |
| QCString | docFile |
| file in which the documentation was found More... | |
| QCString | brief |
| brief description (doc block) More... | |
| int | briefLine |
| line number at which the brief desc. was found More... | |
| QCString | briefFile |
| file in which the brief desc. was found More... | |
| QCString | inbodyDocs |
| documentation inside the body of a function More... | |
| int | inbodyLine |
| line number at which the body doc was found More... | |
| QCString | inbodyFile |
| file in which the body doc was found More... | |
| QCString | relates |
| related class (doc block) More... | |
| RelatesType | relatesType |
| how relates is handled More... | |
| QCString | read |
| property read accessor More... | |
| QCString | write |
| property write accessor More... | |
| QCString | inside |
| name of the class in which documents are found More... | |
| QCString | exception |
| throw specification More... | |
| ArgumentList * | typeConstr |
| where clause (C#) for type constraints More... | |
| int | bodyLine |
| line number of the definition in the source More... | |
| int | endBodyLine |
| line number where the definition ends More... | |
| int | mGrpId |
| member group id More... | |
| QList< BaseInfo > * | extends |
| list of base classes More... | |
| QList< Grouping > * | groups |
| list of groups this entry belongs to More... | |
| QList< SectionInfo > * | anchors |
| list of anchors defined in this entry More... | |
| QCString | fileName |
| file this entry was extracted from More... | |
| int | startLine |
| start line of entry in the source More... | |
| int | startColumn |
| start column of entry in the source More... | |
| QList< ListItemInfo > * | sli |
| special lists (test/todo/bug/deprecated/..) this entry is in More... | |
| SrcLangExt | lang |
| programming language in which this entry was found More... | |
| bool | hidden |
| does this represent an entity that is hidden from the output More... | |
| bool | artificial |
| Artificially introduced item. More... | |
| GroupDocType | groupDocType |
| QCString | id |
| libclang id More... | |
Static Public Attributes | |
| static const uint64 | Template = (1ULL<<0) |
| static const uint64 | Generic = (1ULL<<1) |
| static const uint64 | Ref = (1ULL<<2) |
| static const uint64 | Value = (1ULL<<3) |
| static const uint64 | Interface = (1ULL<<4) |
| static const uint64 | Struct = (1ULL<<5) |
| static const uint64 | Union = (1ULL<<6) |
| static const uint64 | Exception = (1ULL<<7) |
| static const uint64 | Protocol = (1ULL<<8) |
| static const uint64 | Category = (1ULL<<9) |
| static const uint64 | SealedClass = (1ULL<<10) |
| static const uint64 | AbstractClass = (1ULL<<11) |
| static const uint64 | Enum = (1ULL<<12) |
| static const uint64 | Service = (1ULL<<13) |
| static const uint64 | Singleton = (1ULL<<14) |
| static const uint64 | ForwardDecl = (1ULL<<15) |
| static const uint64 | PrivateGettable = (1ULL<<20) |
| static const uint64 | ProtectedGettable = (1ULL<<21) |
| static const uint64 | PrivateSettable = (1ULL<<22) |
| static const uint64 | ProtectedSettable = (1ULL<<23) |
| static const uint64 | Inline = (1ULL<<24) |
| static const uint64 | Explicit = (1ULL<<25) |
| static const uint64 | Mutable = (1ULL<<26) |
| static const uint64 | Settable = (1ULL<<27) |
| static const uint64 | Gettable = (1ULL<<28) |
| static const uint64 | Readable = (1ULL<<29) |
| static const uint64 | Writable = (1ULL<<30) |
| static const uint64 | Final = (1ULL<<31) |
| static const uint64 | Abstract = (1ULL<<32) |
| static const uint64 | Addable = (1ULL<<33) |
| static const uint64 | Removable = (1ULL<<34) |
| static const uint64 | Raisable = (1ULL<<35) |
| static const uint64 | Override = (1ULL<<36) |
| static const uint64 | New = (1ULL<<37) |
| static const uint64 | Sealed = (1ULL<<38) |
| static const uint64 | Initonly = (1ULL<<39) |
| static const uint64 | Optional = (1ULL<<40) |
| static const uint64 | Required = (1ULL<<41) |
| static const uint64 | NonAtomic = (1ULL<<42) |
| static const uint64 | Copy = (1ULL<<43) |
| static const uint64 | Retain = (1ULL<<44) |
| static const uint64 | Assign = (1ULL<<45) |
| static const uint64 | Strong = (1ULL<<46) |
| static const uint64 | Weak = (1ULL<<47) |
| static const uint64 | Unretained = (1ULL<<48) |
| static const uint64 | Alias = (1ULL<<49) |
| static const uint64 | ConstExp = (1ULL<<50) |
| static const uint64 | Default = (1ULL<<51) |
| static const uint64 | Delete = (1ULL<<52) |
| static const uint64 | NoExcept = (1ULL<<53) |
| static const uint64 | Attribute = (1ULL<<54) |
| static const uint64 | Property = (1ULL<<55) |
| static const uint64 | Readonly = (1ULL<<56) |
| static const uint64 | Bound = (1ULL<<57) |
| static const uint64 | Constrained = (1ULL<<58) |
| static const uint64 | Transient = (1ULL<<59) |
| static const uint64 | MaybeVoid = (1ULL<<60) |
| static const uint64 | MaybeDefault = (1ULL<<61) |
| static const uint64 | MaybeAmbiguous = (1ULL<<62) |
| static const uint64 | Published = (1ULL<<63) |
| static int | num =0 |
| counts the total number of entries More... | |
Private Member Functions | |
| void | createSubtreeIndex (EntryNav *nav, FileStorage *storage, FileDef *fd) |
| Entry & | operator= (const Entry &) |
Private Attributes | |
| Entry * | m_parent |
| parent node in the tree More... | |
| QList< Entry > * | m_sublist |
| entries that are children of this one More... | |
Represents an unstructured piece of information, about an entity found in the sources.
parseMain() in scanner.l will generate a tree of these entries.
| enum Entry::GroupDocType |
| enum Entry::Sections |
Kind of entries that are supported
Definition at line 68 of file entry.h.
| Entry::Entry | ( | ) |
Definition at line 36 of file entry.cpp.
| Entry::Entry | ( | const Entry & | e | ) |
Definition at line 63 of file entry.cpp.
| Entry::~Entry | ( | ) |
Definition at line 187 of file entry.cpp.
| void Entry::addSpecialListItem | ( | const char * | listName, |
| int | index | ||
| ) |
Definition at line 309 of file entry.cpp.
| void Entry::addSubEntry | ( | Entry * | e | ) |
Adds entry e as a child to this entry
Definition at line 206 of file entry.cpp.
Returns the list of children for this Entry
Definition at line 210 of file entry.h.
| void Entry::createNavigationIndex | ( | EntryNav * | rootNav, |
| FileStorage * | storage, | ||
| FileDef * | fd | ||
| ) |
Definition at line 304 of file entry.cpp.
|
private |
Definition at line 284 of file entry.cpp.
| int Entry::getSize | ( | ) |
Returns the static size of the Entry (so excluding any dynamic memory)
|
inline |
|
inline |
Definition at line 306 of file entry.h.
| void Entry::marshall | ( | StorageIntf * | ) |
Serialize this entry to a persistent storage stream.
|
inline |
Removes entry e from the list of children. Returns a pointer to the entry or 0 if the entry was not a child. Note the entry will not be deleted.
Definition at line 322 of file entry.cpp.
| void Entry::reset | ( | ) |
Restore the state of this Entry to the default value it has at construction time.
Definition at line 217 of file entry.cpp.
| void Entry::unmarshall | ( | StorageIntf * | ) |
Reinitialize this entry from a persistent storage stream.
| QList<SectionInfo>* Entry::anchors |
| ArgumentList* Entry::argList |
| int Entry::bodyLine |
| QCString Entry::briefFile |
| int Entry::briefLine |
| bool Entry::callerGraph |
| QCString Entry::docFile |
| int Entry::docLine |
| int Entry::endBodyLine |
| bool Entry::explicitExternal |
| GroupDocType Entry::groupDocType |
| bool Entry::hidden |
| QCString Entry::inbodyDocs |
| QCString Entry::inbodyFile |
| int Entry::inbodyLine |
| QCString Entry::includeFile |
| int Entry::initLines |
| QCString Entry::inside |
| SrcLangExt Entry::lang |
| MethodTypes Entry::mtype |
| Protection Entry::protection |
| RelatesType Entry::relatesType |
| QList<ListItemInfo>* Entry::sli |
| QList<ArgumentList>* Entry::tArgLists |
| ArgumentList* Entry::typeConstr |
1.8.11