Tag Class Reference
#include <tag.h>
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 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 48 of file tag.cpp. Referenced by setAttribute(), setEndPosition(), setFileName(), setFlags(), setId(), setKind(), setName(), setScope(), and setStartPosition(). |
|
Definition at line 94 of file tag.h. References data, and Tag::TagData::fileName. Referenced by TagListViewItem::computeChilds(), TagListViewItem::init(), and ClassBrowserPart::selectMethod(). |
|
Definition at line 83 of file tag.h. References data, and Tag::TagData::flags. Referenced by CppBaseClass< Tag >::CppBaseClass(), CppFunction< Tag >::CppFunction(), and CppVariable< Tag >::CppVariable(). |
|
Definition at line 148 of file tag.h. References data, Tag::TagData::endColumn, Tag::TagData::endLine, and getEndPosition(). Referenced by getEndPosition(). |
|
Definition at line 135 of file tag.h. References data, getStartPosition(), Tag::TagData::startColumn, and Tag::TagData::startLine. Referenced by getStartPosition(), TagListViewItem::init(), and ClassBrowserPart::selectMethod(). |
|
Definition at line 161 of file tag.h. References Tag::TagData::attributes, data, and hasAttribute(). Referenced by hasAttribute(), and CppCodeCompletion::typeOf(). |
|
Definition at line 61 of file tag.h. References data, and Tag::TagData::id. |
|
Definition at line 72 of file tag.h. References data, and Tag::TagData::kind. Referenced by TagListViewItem::computeChilds(), CppCodeCompletion::computeCompletionEntryList(), PascalSupportPart::formatTag(), CppSupportPart::formatTag(), TagListViewItem::init(), CodeInformationRepository::toEntry(), and CppCodeCompletion::typeOf(). |
|
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, load(), Tag::TagData::name, Tag::TagData::scope, Tag::TagData::startColumn, and Tag::TagData::startLine. Referenced by load(), and operator>>(). |
|
|
Definition at line 73 of file tag.cpp. References data. |
|
Definition at line 105 of file tag.h. References name(), path(), and scope(). Referenced by TagCreator::parseClassSpecifier(), and path(). |
|
Definition at line 124 of file tag.h. References data, and Tag::TagData::scope. Referenced by TagListViewItem::computeChilds(), CppCodeCompletion::evaluateExpression(), path(), ClassBrowserPart::refreshClasses(), ClassBrowserPart::refreshMethods(), and CppCodeCompletion::typeOf(). |
|
|
|
|
|
Definition at line 66 of file tag.h. References data, detach(), Tag::TagData::id, and setId(). Referenced by setId(). |
|
|
|
|
|
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, Tag::TagData::startLine, and store(). Referenced by operator<<(), and store(). |
Member Data Documentation
|
Referenced by attribute(), copy(), detach(), fileName(), flags(), getEndPosition(), getStartPosition(), hasAttribute(), id(), kind(), load(), name(), operator=(), scope(), setAttribute(), setEndPosition(), setFileName(), setFlags(), setId(), setKind(), setName(), setScope(), setStartPosition(), store(), Tag(), and ~Tag(). |
The documentation for this class was generated from the following files: