Class that keep information about the language description.
More...
#include <NCLStructure.h>
|
|
void | loadStructure () |
| |
|
void | clear () |
| |
| void | addElement (QString name, QString father, char cardinality, bool define_scope=false) |
| |
| void | addAttribute (QString element, QString attr, QString type, bool required) |
| |
| void | addReference (QString element, QString attr, QString ref_element, QString ref_attr, QString scope) |
| |
|
void | addDatatype (QString datatype, QString regex) |
| |
|
void | addDatatypeDefaultSuggestions (QString datatype, QString values) |
| |
|
QStringList | getDatatypeDefaultSuggestions (QString datatype) |
| |
map< QString, map< QString,
char > * > * | getNesting () |
| |
| map< QString, bool > * | getAttributes (QString element) |
| |
| deque< QString > * | getAttributesOrdered (QString element) |
| |
| map< QString, char > * | getChildren (QString tagname) |
| |
| vector< AttributeReferences * > | getReferences (QString element, QString attr) |
| |
|
QString | getAttributeDatatype (QString element, QString name) |
| |
|
bool | defineScope (QString tagname) |
| |
Class that keep information about the language description.
Definition at line 37 of file NCLStructure.h.
| void composer::language::NCLStructure::addAttribute |
( |
QString |
element, |
|
|
QString |
attr, |
|
|
QString |
type, |
|
|
bool |
required |
|
) |
| |
| void composer::language::NCLStructure::addElement |
( |
QString |
name, |
|
|
QString |
father, |
|
|
char |
cardinality, |
|
|
bool |
define_scope = false |
|
) |
| |
| void composer::language::NCLStructure::addReference |
( |
QString |
element, |
|
|
QString |
attr, |
|
|
QString |
ref_element, |
|
|
QString |
ref_attr, |
|
|
QString |
scope |
|
) |
| |
- Parameters
-
| element | |
| attr | |
| ref_element | |
| ref_attr | |
| scope | |
Definition at line 262 of file NCLStructure.cpp.
| map< QString, bool > * composer::language::NCLStructure::getAttributes |
( |
QString |
element) | |
|
| deque< QString > * composer::language::NCLStructure::getAttributesOrdered |
( |
QString |
element) | |
|
| map< QString, char > * composer::language::NCLStructure::getChildren |
( |
QString |
tagname) | |
|
| map< QString, map< QString, char > * > * composer::language::NCLStructure::getNesting |
( |
) | |
|
| vector< AttributeReferences * > composer::language::NCLStructure::getReferences |
( |
QString |
element, |
|
|
QString |
attr |
|
) |
| |
- Parameters
-
- Returns
- vector<AttributeReferences *>
Definition at line 334 of file NCLStructure.cpp.
The documentation for this class was generated from the following files: