Tag Class Reference
#include <tag.h>
Collaboration diagram for Tag:

Public Types | |
enum | Kind { Kind_Unknown, Kind_Typedef = 1000, Kind_Namespace, Kind_UsingDirective, Kind_Base_class, Kind_Enum, Kind_Enumerator, Kind_Class, Kind_Struct, Kind_Union, Kind_VariableDeclaration, Kind_Variable, Kind_FunctionDeclaration, Kind_Function, Kind_Custom = 2000 } |
Public Member Functions | |
Tag () | |
Tag (const Tag &source) | |
~Tag () | |
Tag & | operator= (const Tag &source) |
QCString | id () const |
void | setId (const QCString &id) |
int | kind () const |
void | setKind (int kind) |
unsigned long | flags () const |
void | setFlags (unsigned long flags) |
QString | fileName () const |
void | setFileName (const QString &fileName) |
QString | path (const QString &sep=QString::fromLatin1("::")) const |
QString | name () const |
void | setName (const QString &name) |
QStringList | scope () const |
void | setScope (const QStringList &scope) |
void | getStartPosition (int *line, int *column) const |
void | setStartPosition (int line, int column) |
void | getEndPosition (int *line, int *column) const |
void | setEndPosition (int line, int column) |
bool | hasAttribute (const QCString &name) const |
QVariant | attribute (const QCString &name) const |
void | setAttribute (const QCString &name, const QVariant &value) |
void | load (QDataStream &stream) |
void | store (QDataStream &stream) const |
Private Member Functions | |
Tag | copy () |
void | detach () |
Private Attributes | |
Tag::TagData * | data |
Member Enumeration Documentation
|
|
Constructor & Destructor Documentation
|
Definition at line 23 of file tag.cpp. References data, Tag::TagData::endColumn, Tag::TagData::endLine, Tag::TagData::flags, Tag::TagData::kind, Tag::TagData::startColumn, and Tag::TagData::startLine. |
|
Definition at line 34 of file tag.cpp. References data. |
|
Definition at line 40 of file tag.cpp. References data. |
Member Function Documentation
|
Definition at line 175 of file tag.h. Referenced by TagCreator::parseFunctionDeclaration(), and TagCreator::parseFunctionDefinition(). |
|
Definition at line 54 of file tag.cpp. References Tag::TagData::attributes, data, Tag::TagData::endColumn, Tag::TagData::endLine, Tag::TagData::fileName, Tag::TagData::flags, Tag::TagData::id, Tag::TagData::kind, Tag::TagData::name, Tag::TagData::scope, Tag::TagData::startColumn, and Tag::TagData::startLine. Referenced by detach(). |
|
|
|
|
|
Definition at line 83 of file tag.h. Referenced by CppBaseClass< Tag >::CppBaseClass(), CppFunction< Tag >::CppFunction(), and CppVariable< Tag >::CppVariable(). |
|
|
|
|
|
|
|
|
|
|
|
Definition at line 84 of file tag.cpp. References Tag::TagData::attributes, data, Tag::TagData::endColumn, Tag::TagData::endLine, Tag::TagData::fileName, Tag::TagData::flags, Tag::TagData::id, Tag::TagData::kind, Tag::TagData::name, Tag::TagData::scope, Tag::TagData::startColumn, and Tag::TagData::startLine. Referenced by operator>>(). |
|
Definition at line 113 of file tag.h. Referenced by ClassBrowserUtils::simplifyNamespaces(). |
|
Definition at line 73 of file tag.cpp. References data. |
|
Definition at line 105 of file tag.h. Referenced by TagCreator::parseClassSpecifier(). |
|
|
|
Definition at line 200 of file tag.h. Referenced by TagCreator::parseFunctionDeclaration(), TagCreator::parseFunctionDefinition(), TagCreator::parseTypedef(), and StoreWalker::parseTypedef(). |
|
|
|
|
|
|
|
|
|
|
|
Definition at line 100 of file tag.cpp. References Tag::TagData::attributes, data, Tag::TagData::endColumn, Tag::TagData::endLine, Tag::TagData::fileName, Tag::TagData::flags, Tag::TagData::id, Tag::TagData::kind, Tag::TagData::name, Tag::TagData::scope, Tag::TagData::startColumn, and Tag::TagData::startLine. Referenced by operator<<(). |
Member Data Documentation
|
Referenced by CppFunction< Tag >::access(), CppVariable< Tag >::access(), CppBaseClass< Tag >::access(), copy(), detach(), load(), operator=(), store(), Tag(), and ~Tag(). |
The documentation for this class was generated from the following files: