NamespaceModel Class Reference
#include <codemodel.h>
Inheritance diagram for NamespaceModel:

Public Types | |
typedef NamespaceDom | Ptr |
Public Member Functions | |
virtual bool | isClass () const |
virtual bool | isNamespace () const |
NamespaceList | namespaceList () |
const NamespaceList | namespaceList () const |
bool | hasNamespace (const QString &name) const |
NamespaceDom | namespaceByName (const QString &name) |
const NamespaceDom | namespaceByName (const QString &name) const |
bool | addNamespace (NamespaceDom ns) |
void | removeNamespace (NamespaceDom ns) |
virtual void | read (QDataStream &stream) |
virtual void | write (QDataStream &stream) const |
Protected Member Functions | |
NamespaceModel (CodeModel *model) | |
Private Member Functions | |
NamespaceModel (const NamespaceModel &source) | |
void | operator= (const NamespaceModel &source) |
Private Attributes | |
QMap< QString, NamespaceDom > | m_namespaces |
Member Typedef Documentation
|
Reimplemented from ClassModel. Reimplemented in FileModel. Definition at line 312 of file codemodel.h. |
Constructor & Destructor Documentation
|
Definition at line 297 of file codemodel.cpp. References NamespaceModel(). Referenced by NamespaceModel(). |
|
|
Member Function Documentation
|
Definition at line 336 of file codemodel.cpp. References addNamespace(), and m_namespaces. Referenced by addNamespace(), and read(). |
|
Definition at line 331 of file codemodel.cpp. References hasNamespace(), and m_namespaces. Referenced by hasNamespace(). |
|
Reimplemented from ClassModel. Definition at line 314 of file codemodel.h. |
|
Reimplemented from CodeModelItem. Definition at line 315 of file codemodel.h. |
|
Definition at line 326 of file codemodel.cpp. References m_namespaces, namespaceByName(), and NamespaceDom. |
|
Definition at line 321 of file codemodel.cpp. References m_namespaces, namespaceByName(), and NamespaceDom. Referenced by namespaceByName(). |
|
Definition at line 312 of file codemodel.cpp. References m_namespaces. |
|
Definition at line 303 of file codemodel.cpp. References m_namespaces, and NamespaceList. Referenced by CodeModelTreeParser::parseNamespace(), and write(). |
|
|
|
Reimplemented from ClassModel. Reimplemented in FileModel. Definition at line 1016 of file codemodel.cpp. References addNamespace(), CodeModelItem::codeModel(), CodeModel::create(), m_namespaces, and read(). Referenced by read(). |
|
Definition at line 345 of file codemodel.cpp. References m_namespaces, and removeNamespace(). Referenced by removeNamespace(). |
|
Reimplemented from ClassModel. Reimplemented in FileModel. Definition at line 1031 of file codemodel.cpp. References namespaceList(), and write(). Referenced by write(). |
Member Data Documentation
|
Definition at line 329 of file codemodel.h. Referenced by addNamespace(), hasNamespace(), namespaceByName(), namespaceList(), read(), and removeNamespace(). |
The documentation for this class was generated from the following files:
- lib/interfaces/codemodel.h
- lib/interfaces/codemodel.cpp