umbrello 2.38.4
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
|
#include <idlimport.h>
Public Member Functions | |
IDLImport (CodeImpThread *thread=0) | |
virtual | ~IDLImport () |
bool | parseStmt () |
bool | parseFile (const QString &file) |
bool | preprocess (QString &line) |
void | fillSource (const QString &word) |
bool | skipStructure () |
bool | isValidScopedName (QString text) |
![]() | |
NativeImportBase (const QString &singleLineCommentIntro, CodeImpThread *thread=0) | |
virtual | ~NativeImportBase () |
![]() | |
ClassImport (CodeImpThread *thread=0) | |
virtual | ~ClassImport () |
bool | importFiles (const QStringList &fileNames) |
bool | importFile (const QString &fileName) |
void | setRootPath (const QString &path) |
bool | enabled () const |
Protected Member Functions | |
QString | joinTypename () |
Check for split type names (e.g. unsigned long long) | |
![]() | |
void | initialize () |
void | setMultiLineComment (const QString &intro, const QString &end) |
void | setMultiLineAltComment (const QString &intro, const QString &end) |
virtual void | initVars () |
void | scan (const QString &line) |
virtual QStringList | split (const QString &line) |
void | skipStmt (const QString &until=QStringLiteral(";")) |
bool | skipToClosing (QChar opener) |
QString | current () |
QString | lookAhead () |
virtual QString | advance () |
void | pushScope (UMLPackage *p) |
UMLPackage * | popScope () |
UMLPackage * | currentScope () |
int | scopeIndex () |
![]() | |
virtual void | initPerFile () |
void | log (const QString &file, const QString &text) |
void | log (const QString &text) |
Protected Attributes | |
UMLDoc * | m_doc |
bool | m_isOneway |
bool | m_isReadonly |
bool | m_isAttribute |
bool | m_isUnionDefault |
QStringList | m_unionCases |
![]() | |
QString | m_singleLineCommentIntro |
start token of a single line comment | |
QStringList | m_source |
the scanned lexemes | |
int | m_srcIndex |
used for indexing m_source | |
QList< UMLPackage * > | m_scope |
stack of scopes for use by the specific importer | |
UMLClassifier * | m_klass |
class currently being processed | |
Uml::Visibility::Enum | m_currentAccess |
current access (public/protected/private) | |
QString | m_comment |
intermediate accumulator for comment text | |
bool | m_inComment |
bool | m_isAbstract |
accumulator for abstractness | |
QString | m_multiLineCommentIntro |
multi line comment delimiter intro | |
QString | m_multiLineCommentEnd |
multi line comment delimiter end | |
QString | m_multiLineAltCommentIntro |
QString | m_multiLineAltCommentEnd |
![]() | |
CodeImpThread * | m_thread |
thread in which the work of importing is done | |
bool | m_enabled |
state of importer | |
QString | m_rootPath |
root path of import | |
Static Protected Attributes | |
static QString | m_preProcessor |
static QStringList | m_preProcessorArguments |
static bool | m_preProcessorChecked = false |
![]() | |
static QStringList | m_parsedFiles |
Additional Inherited Members | |
![]() | |
static ClassImport * | createImporterByFileExt (const QString &fileName, CodeImpThread *thread=0) |
CORBA IDL code import
|
explicit |
|
virtual |
|
virtual |
Implement abstract operation from NativeImportBase.
Implements NativeImportBase.
bool IDLImport::isValidScopedName | ( | QString | text | ) |
Returns true if the given text is a valid IDL scoped name.
|
protected |
Check for split type names (e.g. unsigned long long)
|
virtual |
Reimplement operation from NativeImportBase. Need to do this because we use the external C preprocessor.
Reimplemented from NativeImportBase.
|
virtual |
Implement abstract operation from NativeImportBase. The function only returns false if an error is encountered from which no recovery is possible. On recoverable syntax errors, the function issues an error message, skips to the end of the offending declaration, and returns true. Returning true in spite of a local syntax error is done in the interest of best effort (returning false would abort the entire code import). A syntax error is typically unrecoverable when it involves imbalance of braces, in particular when the closing "}" of an opening "{" is missing.
Implements NativeImportBase.
|
virtual |
Override operation from NativeImportBase.
Reimplemented from NativeImportBase.
bool IDLImport::skipStructure | ( | ) |
Skip to the end of struct/union/valuetype/interface declaration.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
protected |