#include <cpptree2uml.h>
CppTree2Uml::CppTree2Uml |
( |
const QString & |
fileName, |
|
|
CodeImpThread * |
thread = 0 |
|
) |
| |
|
explicit |
CppTree2Uml::~CppTree2Uml |
( |
| ) |
|
|
virtual |
void CppTree2Uml::clear |
( |
| ) |
|
Flush template parameters pending in m_templateParams to the klass.
void CppTree2Uml::operator= |
( |
const CppTree2Uml & |
source | ) |
|
|
private |
void CppTree2Uml::parseAccessDeclaration |
( |
AccessDeclarationAST * |
access | ) |
|
|
virtual |
void CppTree2Uml::parseBaseClause |
( |
BaseClauseAST * |
baseClause, |
|
|
UMLClassifier * |
klass |
|
) |
| |
|
virtual |
void CppTree2Uml::parseClassSpecifier |
( |
ClassSpecifierAST * |
ast | ) |
|
|
virtual |
void CppTree2Uml::parseDeclaration2 |
( |
GroupAST * |
funSpec, |
|
|
GroupAST * |
storageSpec, |
|
|
TypeSpecifierAST * |
typeSpec, |
|
|
InitDeclaratorAST * |
decl |
|
) |
| |
|
virtual |
void CppTree2Uml::parseElaboratedTypeSpecifier |
( |
ElaboratedTypeSpecifierAST * |
typeSpec | ) |
|
|
virtual |
- Todo:
- Refine - Currently only handles class forward declarations.
- Using typeSpec->text() is probably not good, decode the kind() instead.
void CppTree2Uml::parseEnumSpecifier |
( |
EnumSpecifierAST * |
ast | ) |
|
|
virtual |
void CppTree2Uml::parseFunctionArguments |
( |
DeclaratorAST * |
declarator, |
|
|
UMLOperation * |
method |
|
) |
| |
void CppTree2Uml::parseFunctionDeclaration |
( |
GroupAST * |
funSpec, |
|
|
GroupAST * |
storageSpec, |
|
|
TypeSpecifierAST * |
typeSpec, |
|
|
InitDeclaratorAST * |
decl |
|
) |
| |
|
virtual |
void CppTree2Uml::parseFunctionDefinition |
( |
FunctionDefinitionAST * |
ast | ) |
|
|
virtual |
void CppTree2Uml::parseNamespace |
( |
NamespaceAST * |
ast | ) |
|
|
virtual |
void CppTree2Uml::parseSimpleDeclaration |
( |
SimpleDeclarationAST * |
ast | ) |
|
|
virtual |
void CppTree2Uml::parseTemplateDeclaration |
( |
TemplateDeclarationAST * |
ast | ) |
|
|
virtual |
void CppTree2Uml::parseTranslationUnit |
( |
const ParsedFile & |
file | ) |
|
|
virtual |
void CppTree2Uml::parseTypedef |
( |
TypedefAST * |
ast | ) |
|
|
virtual |
QStringList CppTree2Uml::scopeOfDeclarator |
( |
DeclaratorAST * |
d, |
|
|
const QStringList & |
scope |
|
) |
| |
|
private |
QStringList CppTree2Uml::scopeOfName |
( |
NameAST * |
id, |
|
|
const QStringList & |
scope |
|
) |
| |
|
private |
void CppTree2Uml::setRootPath |
( |
const QString & |
rootPath | ) |
|
QString CppTree2Uml::typeOfDeclaration |
( |
TypeSpecifierAST * |
typeSpec, |
|
|
DeclaratorAST * |
declarator |
|
) |
| |
|
private |
int CppTree2Uml::m_clsCnt |
|
private |
stack top for m_currentClass
QString CppTree2Uml::m_comment |
|
private |
DeclaratorAST* CppTree2Uml::m_currentDeclarator |
|
private |
QStringList CppTree2Uml::m_currentScope |
|
private |
QString CppTree2Uml::m_fileName |
|
private |
bool CppTree2Uml::m_inSignals |
|
private |
bool CppTree2Uml::m_inSlots |
|
private |
bool CppTree2Uml::m_inStorageSpec |
|
private |
bool CppTree2Uml::m_inTypedef |
|
private |
stack top for m_currentNamespace
QString CppTree2Uml::m_rootPath |
|
private |
The documentation for this class was generated from the following files: