umbrello 26.03.70-f7b1fd3 Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions | Protected Member Functions | List of all members
ValaImport Class Reference

`#include <valaimport.h>`

Inheritance diagram for ValaImport:

## Public Member Functions

| ValaImport (CodeImpThread *thread=nullptr)
virtual | ~ValaImport ()
QString | fileExtension ()
Public Member Functions inherited from CsValaImportBase
| CsValaImportBase (CodeImpThread *thread=nullptr)
virtual | ~CsValaImportBase ()
Public Member Functions inherited from JavaCsValaImportBase
| JavaCsValaImportBase (CodeImpThread *thread=nullptr)
virtual | ~JavaCsValaImportBase ()
virtual QString | fileExtension ()=0
Public Member Functions inherited from NativeImportBase
| NativeImportBase (const QString &singleLineCommentIntro, CodeImpThread *thread=nullptr)
virtual | ~NativeImportBase ()
Public Member Functions inherited from ClassImport
| ClassImport (CodeImpThread *thread=nullptr)
virtual | ~ClassImport ()
bool | importFiles (const QStringList &fileNames)
bool | importFile (const QString &fileName)
void | setRootPath (const QString &path)
bool | enabled () const

## Protected Member Functions

void | spawnImport (const QString &file)
Protected Member Functions inherited from CsValaImportBase
bool | parseStmt ()
bool | preprocess (QString &line)
Protected Member Functions inherited from JavaCsValaImportBase
void | initVars ()
void | fillSource (const QString &word)
bool | parseFile (const QString &filename)
virtual void | spawnImport (const QString &file)=0
UMLObject * | resolveClass (const QString &className)
QString | joinTypename (const QString &typeName)
bool | parseClassDeclaration (const QString &keyword)
bool | parseEnumDeclaration ()
Protected Member Functions inherited from NativeImportBase
void | initialize ()
void | setMultiLineComment (const QString &intro, const QString &end)
void | setMultiLineAltComment (const QString &intro, const QString &end)
virtual bool | parseFile (const QString &filename)
virtual void | initVars ()
void | scan (const QString &line)
virtual bool | preprocess (QString &line)
virtual QStringList | split (const QString &line)
virtual void | fillSource (const QString &word)=0
virtual bool | parseStmt ()=0
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 ()
Protected Member Functions inherited from ClassImport
virtual void | initialize ()=0
virtual void | initPerFile ()
virtual bool | parseFile (const QString &fileName)=0
void | log (const QString &file, const QString &text)
void | log (const QString &text)

## Additional Inherited Members

Static Public Member Functions inherited from ClassImport
static ClassImport * | createImporterByFileExt (const QString &fileName, CodeImpThread *thread=nullptr)
Static Protected Member Functions inherited from JavaCsValaImportBase
static UMLObject * | findObject (const QString &name, UMLPackage *parentPkg)
Protected Attributes inherited from JavaCsValaImportBase
bool | m_isStatic
| static flag for the member var or method More...
QString | m_currentFileName
| current filename being parsed More...
QString | m_currentPackage
| current package of the file being parsed More...
QStringList | m_imports
| imports included in the current file More...
Uml::Visibility::Enum | m_defaultCurrentAccess
| current visibility for when the visibility is absent More...
Uml::ProgrammingLanguage::Enum | m_language
Protected Attributes inherited from NativeImportBase
QString | m_singleLineCommentIntro
| start token of a single line comment More...
QStringList | m_source
| the scanned lexemes More...
int | m_srcIndex
| used for indexing m_source More...
QList< UMLPackage * > | m_scope
| stack of scopes for use by the specific importer More...
UMLClassifier * | m_klass
| class currently being processed More...
Uml::Visibility::Enum | m_currentAccess
| current access (public/protected/private) More...
QString | m_comment
| intermediate accumulator for comment text More...
bool | m_inComment
bool | m_isAbstract
| accumulator for abstractness More...
QString | m_multiLineCommentIntro
| multi line comment delimiter intro More...
QString | m_multiLineCommentEnd
| multi line comment delimiter end More...
QString | m_multiLineAltCommentIntro
QString | m_multiLineAltCommentEnd
Protected Attributes inherited from ClassImport
CodeImpThread * | m_thread
| thread in which the work of importing is done More...
bool | m_enabled
| state of importer More...
QString | m_rootPath
| root path of import More...
Static Protected Attributes inherited from JavaCsValaImportBase
static QStringList | s_filesAlreadyParsed
static int | s_parseDepth = 0
Static Protected Attributes inherited from NativeImportBase
static QStringList | m_parsedFiles

## Detailed Description

Derivation of CsValaImportBase for Vala

Author
  Ralf Habacker Bugs and comments to umbre.nosp@m.llo-.nosp@m.devel.nosp@m.@kde.nosp@m..org or https://bugs.kde.org

## Constructor & Destructor Documentation

## ◆ ValaImport()

ValaImport::ValaImport | ( | CodeImpThread * | thread = `nullptr` | ) |

explicit

Constructor

## ◆ ~ValaImport()

ValaImport::~ValaImport | ( |  | ) |

virtual

Destructor

## Member Function Documentation

## ◆ fileExtension()

QString ValaImport::fileExtension | ( |  | ) |

virtual

Reimplementation of method from CsValaImportBase

Implements JavaCsValaImportBase.

## ◆ spawnImport()

void ValaImport::spawnImport | ( | const QString & | file | ) |

protected virtual

Spawn off an import of the specified file.

Parameters

  file | the specified file

Implements JavaCsValaImportBase.

The documentation for this class was generated from the following files:

- umbrello/codeimport/vala/valaimport.h
- umbrello/codeimport/vala/valaimport.cpp