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

Public Types | |
typedef FunctionDom | Ptr |
Public Member Functions | |
virtual bool | isFunction () const |
QStringList | scope () const |
void | setScope (const QStringList &scope) |
int | access () const |
void | setAccess (int access) |
bool | isSignal () const |
void | setSignal (bool isSignal) |
bool | isSlot () const |
void | setSlot (bool isSlot) |
bool | isVirtual () const |
void | setVirtual (bool isVirtual) |
bool | isStatic () const |
void | setStatic (bool isStatic) |
bool | isInline () const |
void | setInline (bool isInline) |
bool | isConstant () const |
void | setConstant (bool isConstant) |
bool | isAbstract () const |
void | setAbstract (bool isAbstract) |
QString | resultType () const |
void | setResultType (const QString &type) |
ArgumentList | argumentList () |
const ArgumentList | argumentList () const |
bool | addArgument (ArgumentDom arg) |
void | removeArgument (ArgumentDom arg) |
virtual void | read (QDataStream &stream) |
virtual void | write (QDataStream &stream) const |
Protected Member Functions | |
FunctionModel (CodeModel *model) | |
Private Member Functions | |
FunctionModel (const FunctionModel &source) | |
void | operator= (const FunctionModel &source) |
Private Attributes | |
QStringList | m_scope |
int | m_access |
union { | |
struct { | |
int m_signal: 1 | |
int m_slot: 1 | |
int m_virtual: 1 | |
int m_static: 1 | |
int m_inline: 1 | |
int m_constant: 1 | |
int m_abstract: 1 | |
} v | |
int flags | |
} | d |
QString | m_resultType |
ArgumentList | m_arguments |
Member Typedef Documentation
|
Reimplemented from CodeModelItem. Reimplemented in FunctionDefinitionModel. Definition at line 391 of file codemodel.h. |
Constructor & Destructor Documentation
|
Definition at line 725 of file codemodel.cpp. References d, FunctionModel(), and m_access. Referenced by FunctionModel(). |
|
|
Member Function Documentation
|
Definition at line 847 of file codemodel.cpp. References m_access. |
|
Definition at line 808 of file codemodel.cpp. References addArgument(), ArgumentDom, and m_arguments. Referenced by addArgument(), and read(). |
|
Definition at line 803 of file codemodel.cpp. References m_arguments. |
|
Definition at line 798 of file codemodel.cpp. References ArgumentList, and m_arguments. Referenced by PascalSupportPart::formatModelItem(), JavaSupportPart::formatModelItem(), CppSupportPart::formatModelItem(), and write(). |
|
Definition at line 778 of file codemodel.cpp. References d. Referenced by JavaSupportPart::formatModelItem(), and CppSupportPart::formatModelItem(). |
|
Definition at line 768 of file codemodel.cpp. References d. Referenced by CppSupportPart::formatModelItem(). |
|
Reimplemented from CodeModelItem. Definition at line 393 of file codemodel.h. |
|
Definition at line 758 of file codemodel.cpp. References d. |
|
Definition at line 857 of file codemodel.cpp. References d. |
|
Definition at line 867 of file codemodel.cpp. References d. |
|
Definition at line 748 of file codemodel.cpp. References d. |
|
Definition at line 738 of file codemodel.cpp. References d. Referenced by PascalSupportPart::formatModelItem(), and CppSupportPart::formatModelItem(). |
|
|
|
Reimplemented from CodeModelItem. Definition at line 1065 of file codemodel.cpp. References addArgument(), CodeModelItem::codeModel(), CodeModel::create(), d, m_arguments, m_resultType, m_scope, and read(). Referenced by read(). |
|
Definition at line 814 of file codemodel.cpp. References m_arguments, and removeArgument(). Referenced by removeArgument(). |
|
Definition at line 788 of file codemodel.cpp. References m_resultType. Referenced by PascalSupportPart::formatModelItem(), JavaSupportPart::formatModelItem(), and CppSupportPart::formatModelItem(). |
|
Definition at line 395 of file codemodel.h. |
|
Definition at line 783 of file codemodel.cpp. References d, and setAbstract(). Referenced by setAbstract(). |
|
Definition at line 852 of file codemodel.cpp. References m_access, and setAccess(). Referenced by setAccess(). |
|
Definition at line 773 of file codemodel.cpp. References d, and setConstant(). Referenced by setConstant(). |
|
Definition at line 763 of file codemodel.cpp. References d, and setInline(). Referenced by setInline(). |
|
Definition at line 793 of file codemodel.cpp. References m_resultType, and setResultType(). Referenced by setResultType(). |
|
Definition at line 396 of file codemodel.h. |
|
Definition at line 862 of file codemodel.cpp. References d, and setSignal(). Referenced by setSignal(). |
|
Definition at line 872 of file codemodel.cpp. Referenced by setSlot(). |
|
Definition at line 753 of file codemodel.cpp. References d, and setStatic(). Referenced by setStatic(). |
|
Definition at line 743 of file codemodel.cpp. References d, and setVirtual(). Referenced by setVirtual(). |
|
Reimplemented from CodeModelItem. Definition at line 1086 of file codemodel.cpp. References argumentList(), d, m_resultType, m_scope, and write(). Referenced by write(). |
Member Data Documentation
|
Referenced by FunctionModel(), isAbstract(), isConstant(), isInline(), isSignal(), isSlot(), isStatic(), isVirtual(), read(), setAbstract(), setConstant(), setInline(), setSignal(), setSlot(), setStatic(), setVirtual(), and write(). |
|
Definition at line 447 of file codemodel.h. |
|
Definition at line 445 of file codemodel.h. |
|
Definition at line 435 of file codemodel.h. Referenced by access(), FunctionModel(), and setAccess(). |
|
Definition at line 451 of file codemodel.h. Referenced by addArgument(), argumentList(), read(), and removeArgument(). |
|
Definition at line 444 of file codemodel.h. |
|
Definition at line 443 of file codemodel.h. |
|
Definition at line 450 of file codemodel.h. Referenced by read(), resultType(), setResultType(), and write(). |
|
Definition at line 434 of file codemodel.h. |
|
Definition at line 439 of file codemodel.h. |
|
Definition at line 440 of file codemodel.h. |
|
Definition at line 442 of file codemodel.h. |
|
Definition at line 441 of file codemodel.h. |
|
|
The documentation for this class was generated from the following files:
- lib/interfaces/codemodel.h
- lib/interfaces/codemodel.cpp