KDevelop API Documentation

CppVariable< Tag > Class Template Reference

#include <cpp_tags.h>

Collaboration diagram for CppVariable< Tag >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 CppVariable (Tag &tag)
 operator Tag & ()
TagasTag ()
 operator const Tag & () const
const TagasTag () 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

Tagm_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

template<class Tag>
CppVariable< Tag >::CppVariable Tag tag  )  [inline]
 

Definition at line 93 of file cpp_tags.h.

References Tag::flags().


Member Function Documentation

template<class Tag>
int CppVariable< Tag >::access  )  const [inline]
 

Definition at line 104 of file cpp_tags.h.

References Tag::data.

template<class Tag>
const Tag& CppVariable< Tag >::asTag  )  const [inline]
 

Definition at line 100 of file cpp_tags.h.

template<class Tag>
Tag& CppVariable< Tag >::asTag  )  [inline]
 

Definition at line 97 of file cpp_tags.h.

template<class Tag>
QString CppVariable< Tag >::format const Tag tag  )  [inline, static]
 

Definition at line 102 of file cpp_tags.h.

template<class Tag>
bool CppVariable< Tag >::isFriend  )  const [inline]
 

Definition at line 115 of file cpp_tags.h.

template<class Tag>
bool CppVariable< Tag >::isStatic  )  const [inline]
 

Definition at line 126 of file cpp_tags.h.

template<class Tag>
QString CppVariable< Tag >::name  )  const [inline]
 

Definition at line 147 of file cpp_tags.h.

Referenced by CppSupportPart::formatTag().

template<class Tag>
CppVariable< Tag >::operator const Tag &  )  const [inline]
 

Definition at line 99 of file cpp_tags.h.

template<class Tag>
CppVariable< Tag >::operator Tag &  )  [inline]
 

Definition at line 96 of file cpp_tags.h.

template<class Tag>
void CppVariable< Tag >::setAccess int  access  )  [inline]
 

Definition at line 109 of file cpp_tags.h.

Referenced by TagCreator::parseMyDeclaration().

template<class Tag>
void CppVariable< Tag >::setFriend bool  b  )  [inline]
 

Definition at line 120 of file cpp_tags.h.

Referenced by TagCreator::parseMyDeclaration().

template<class Tag>
void CppVariable< Tag >::setName const QString name  )  [inline]
 

Definition at line 152 of file cpp_tags.h.

template<class Tag>
void CppVariable< Tag >::setStatic bool  b  )  [inline]
 

Definition at line 131 of file cpp_tags.h.

Referenced by TagCreator::parseMyDeclaration().

template<class Tag>
void CppVariable< Tag >::setType const QString type  )  [inline]
 

Definition at line 142 of file cpp_tags.h.

Referenced by TagCreator::parseMyDeclaration().

template<class Tag>
QString CppVariable< Tag >::type  )  const [inline]
 

Definition at line 137 of file cpp_tags.h.

Referenced by CppSupportPart::formatTag().


Member Data Documentation

template<class Tag>
unsigned long CppVariable< Tag >::access [private]
 

Definition at line 164 of file cpp_tags.h.

struct { ... } CppVariable< Tag >::data [private]
 

template<class Tag>
unsigned long CppVariable< Tag >::flags [private]
 

Definition at line 161 of file cpp_tags.h.

template<class Tag>
unsigned long CppVariable< Tag >::isFriend [private]
 

Definition at line 166 of file cpp_tags.h.

template<class Tag>
unsigned long CppVariable< Tag >::isStatic [private]
 

Definition at line 165 of file cpp_tags.h.

union { ... } CppVariable< Tag >::m_info [private]
 

template<class Tag>
Tag& CppVariable< Tag >::m_tag [private]
 

Definition at line 158 of file cpp_tags.h.


The documentation for this class was generated from the following file:
KDE Logo
This file is part of the documentation for KDevelop Version 3.1.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Tue Feb 22 09:39:04 2005 by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2003