KDevelop API Documentation

VariableModel Class Reference

#include <codemodel.h>

Inheritance diagram for VariableModel:

Inheritance graph
[legend]
Collaboration diagram for VariableModel:

Collaboration graph
[legend]
List of all members.

Public Types

typedef VariableDom Ptr

Public Member Functions

virtual bool isVariable () const
int access () const
void setAccess (int access)
bool isStatic () const
void setStatic (bool isStatic)
QString type () const
void setType (const QString &type)
virtual void read (QDataStream &stream)
virtual void write (QDataStream &stream) const

Protected Member Functions

 VariableModel (CodeModel *model)

Private Member Functions

 VariableModel (const VariableModel &source)
void operator= (const VariableModel &source)

Private Attributes

int m_access
int m_static
QString m_type

Friends

class CodeModel

Member Typedef Documentation

typedef VariableDom VariableModel::Ptr
 

Reimplemented from CodeModelItem.

Definition at line 482 of file codemodel.h.


Constructor & Destructor Documentation

VariableModel::VariableModel CodeModel model  )  [protected]
 

Definition at line 820 of file codemodel.cpp.

References m_access, and m_static.

VariableModel::VariableModel const VariableModel source  )  [private]
 


Member Function Documentation

int VariableModel::access  )  const
 

Definition at line 882 of file codemodel.cpp.

bool VariableModel::isStatic  )  const
 

Definition at line 827 of file codemodel.cpp.

virtual bool VariableModel::isVariable  )  const [inline, virtual]
 

Reimplemented from CodeModelItem.

Definition at line 484 of file codemodel.h.

void VariableModel::operator= const VariableModel source  )  [private]
 

void VariableModel::read QDataStream stream  )  [virtual]
 

Reimplemented from CodeModelItem.

Definition at line 1124 of file codemodel.cpp.

References m_access, m_static, and CodeModelItem::read().

void VariableModel::setAccess int  access  ) 
 

Definition at line 887 of file codemodel.cpp.

References m_access.

void VariableModel::setStatic bool  isStatic  ) 
 

Definition at line 832 of file codemodel.cpp.

References m_static.

void VariableModel::setType const QString type  ) 
 

Definition at line 842 of file codemodel.cpp.

References m_type.

QString VariableModel::type  )  const
 

Definition at line 837 of file codemodel.cpp.

Referenced by PascalSupportPart::formatModelItem(), JavaSupportPart::formatModelItem(), and CppSupportPart::formatModelItem().

void VariableModel::write QDataStream stream  )  const [virtual]
 

Reimplemented from CodeModelItem.

Definition at line 1130 of file codemodel.cpp.

References m_access, m_static, and CodeModelItem::write().


Friends And Related Function Documentation

friend class CodeModel [friend]
 

Definition at line 506 of file codemodel.h.


Member Data Documentation

int VariableModel::m_access [private]
 

Definition at line 499 of file codemodel.h.

Referenced by read(), setAccess(), VariableModel(), and write().

int VariableModel::m_static [private]
 

Definition at line 500 of file codemodel.h.

Referenced by read(), setStatic(), VariableModel(), and write().

QString VariableModel::m_type [private]
 

Definition at line 501 of file codemodel.h.

Referenced by setType().


The documentation for this class was generated from the following files:
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:49:49 2005 by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2003