KDevelop API Documentation

VariableModel Class Reference

#include <codemodel.h>

Inheritance diagram for VariableModel:

CodeModelItem KShared 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

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, m_static, and VariableModel().

Referenced by VariableModel().

VariableModel::VariableModel const VariableModel source  )  [private]
 


Member Function Documentation

int VariableModel::access  )  const
 

Definition at line 882 of file codemodel.cpp.

References m_access.

bool VariableModel::isStatic  )  const
 

Definition at line 827 of file codemodel.cpp.

References m_static.

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, m_type, and read().

Referenced by read().

void VariableModel::setAccess int  access  ) 
 

Definition at line 887 of file codemodel.cpp.

References m_access, and setAccess().

Referenced by setAccess().

void VariableModel::setStatic bool  isStatic  ) 
 

Definition at line 832 of file codemodel.cpp.

References m_static, and setStatic().

Referenced by setStatic().

void VariableModel::setType const QString type  ) 
 

Definition at line 842 of file codemodel.cpp.

References m_type, and setType().

Referenced by setType().

QString VariableModel::type  )  const
 

Definition at line 837 of file codemodel.cpp.

References m_type.

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, m_type, and write().

Referenced by write().


Member Data Documentation

int VariableModel::m_access [private]
 

Definition at line 499 of file codemodel.h.

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

int VariableModel::m_static [private]
 

Definition at line 500 of file codemodel.h.

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

QString VariableModel::m_type [private]
 

Definition at line 501 of file codemodel.h.

Referenced by read(), setType(), type(), and write().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for KDevelop Version 3.0.4.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Wed Oct 6 17:39:31 2004 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003