CppVariable< Tag > Class Template Reference
#include <cpp_tags.h>
Public Member Functions | |
CppVariable (Tag &tag) | |
operator Tag & () | |
Tag & | asTag () |
operator const Tag & () const | |
const Tag & | asTag () const |
int | access () const |
void | setAccess (int access) |
bool | isFriend () const |
void | setFriend (bool b) |
bool | isStatic () const |
void | setStatic (bool b) |
QString | type () const |
void | setType (const QString &type) |
QString | name () const |
void | setName (const QString &name) |
Static Public Member Functions | |
QString | format (const Tag &tag) |
Private Attributes | |
Tag & | m_tag |
union { | |
unsigned long flags | |
struct { | |
unsigned long access: 3 | |
unsigned long isStatic: 1 | |
unsigned long isFriend: 1 | |
} data | |
} | m_info |
template<class Tag>
class CppVariable< Tag >
Constructor & Destructor Documentation
|
Definition at line 93 of file cpp_tags.h. References Tag::flags(), CppVariable< Tag >::m_info, and CppVariable< Tag >::m_tag. |
Member Function Documentation
|
Definition at line 104 of file cpp_tags.h. References CppVariable< Tag >::m_info. |
|
Definition at line 100 of file cpp_tags.h. References CppVariable< Tag >::m_tag. |
|
Definition at line 97 of file cpp_tags.h. References CppVariable< Tag >::m_tag. Referenced by CppVariable< Tag >::operator const Tag &(), and CppVariable< Tag >::operator Tag &(). |
|
Definition at line 102 of file cpp_tags.h. References CppVariable< Tag >::format(). Referenced by CppVariable< Tag >::format(). |
|
Definition at line 115 of file cpp_tags.h. References CppVariable< Tag >::m_info. |
|
Definition at line 126 of file cpp_tags.h. References CppVariable< Tag >::m_info. |
|
Definition at line 147 of file cpp_tags.h. References CppVariable< Tag >::m_tag, and Tag::name(). Referenced by CppSupportPart::formatTag(). |
|
Definition at line 99 of file cpp_tags.h. References CppVariable< Tag >::asTag(). |
|
Definition at line 96 of file cpp_tags.h. References CppVariable< Tag >::asTag(). |
|
Definition at line 109 of file cpp_tags.h. References CppVariable< Tag >::m_info, CppVariable< Tag >::m_tag, CppVariable< Tag >::setAccess(), and Tag::setFlags(). Referenced by TagCreator::parseMyDeclaration(), and CppVariable< Tag >::setAccess(). |
|
Definition at line 120 of file cpp_tags.h. References CppVariable< Tag >::m_info, CppVariable< Tag >::m_tag, Tag::setFlags(), and CppVariable< Tag >::setFriend(). Referenced by TagCreator::parseMyDeclaration(), and CppVariable< Tag >::setFriend(). |
|
Definition at line 152 of file cpp_tags.h. References CppVariable< Tag >::m_tag, Tag::setName(), and CppVariable< Tag >::setName(). Referenced by CppVariable< Tag >::setName(). |
|
Definition at line 131 of file cpp_tags.h. References CppVariable< Tag >::m_info, CppVariable< Tag >::m_tag, Tag::setFlags(), and CppVariable< Tag >::setStatic(). Referenced by TagCreator::parseMyDeclaration(), and CppVariable< Tag >::setStatic(). |
|
Definition at line 142 of file cpp_tags.h. References CppVariable< Tag >::m_tag, Tag::setAttribute(), and CppVariable< Tag >::setType(). Referenced by TagCreator::parseMyDeclaration(), and CppVariable< Tag >::setType(). |
|
Definition at line 137 of file cpp_tags.h. References Tag::attribute(), and CppVariable< Tag >::m_tag. Referenced by CppSupportPart::formatTag(). |
Member Data Documentation
|
Definition at line 164 of file cpp_tags.h. |
|
|
|
Definition at line 161 of file cpp_tags.h. |
|
Definition at line 166 of file cpp_tags.h. |
|
Definition at line 165 of file cpp_tags.h. |
|
|
The documentation for this class was generated from the following file:
- languages/cpp/cpp_tags.h