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 |
Friends | |
class | CodeModel |
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 CodeModelItem::setKind(). |
|
|
Member Function Documentation
|
Definition at line 336 of file codemodel.cpp. References m_namespaces, and NamespaceDom. Referenced by read(). |
|
Definition at line 331 of file codemodel.cpp. References m_namespaces. |
|
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, and NamespaceDom. |
|
Definition at line 321 of file codemodel.cpp. References m_namespaces, and NamespaceDom. |
|
Definition at line 312 of file codemodel.cpp. References m_namespaces, and NamespaceList. |
|
Definition at line 303 of file codemodel.cpp. References m_namespaces, and NamespaceList. Referenced by CodeModelTreeParser::parseFile(), 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, NamespaceDom, and ClassModel::read(). Referenced by FileModel::read(). |
|
Definition at line 345 of file codemodel.cpp. References m_namespaces, and NamespaceDom. |
|
Reimplemented from ClassModel. Reimplemented in FileModel. Definition at line 1031 of file codemodel.cpp. References namespaceList(), NamespaceList, and ClassModel::write(). Referenced by FileModel::write(). |
Friends And Related Function Documentation
|
Reimplemented from ClassModel. Reimplemented in FileModel. Definition at line 334 of file codemodel.h. |
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