#include <coConfigSchema.h>
covise::coConfigSchema::coConfigSchema |
( |
xercesc::XSModel * |
model | ) |
|
|
inlineprotected |
coConfigSchema::~coConfigSchema |
( |
| ) |
|
|
protected |
void coConfigSchema::addAnnotationsForElement |
( |
xercesc::XSElementDeclaration * |
elementDecl, |
|
|
coConfigSchemaInfos * |
schemaInfos |
|
) |
| |
|
private |
QHash< QString, QString > * coConfigSchema::createFromSchemaFileAnnotation |
( |
xercesc::XSAnnotation * |
anno | ) |
|
|
private |
collects content of xs:appinfo (e.g.: name = "MyName"), divides them by = and adds to a QHash
QHash< QString, QString > * coConfigSchema::createFromSchemaFileAnnotationsList |
( |
xercesc::XSAnnotationList * |
annoList | ) |
|
|
private |
coConfigSchemaInfos * coConfigSchema::createSchemaInfos |
( |
xercesc::XSElementDeclaration * |
elementDecl, |
|
|
const QString |
parent = QString("") |
|
) |
| |
|
private |
walk the SchemaTree from a given Element, create coConfigSchemaInfos for each and fill them with name in elements Hash
process elementType
process Attributes of type
now finaly add infos for one attribute to cConfigSchemaInfo object QStr name of attribute e.g. value bool if attribute is required or optional QStr defaultValue QStr readableRule get QString pattern for RegExp QStr attributeDescrition
end process Attributes of type,
QStringList coConfigSchema::getGroupsFromSchema |
( |
| ) |
|
return a List of all Groups (is used in mainwindow to create treeModel)
static coConfigSchema* covise::coConfigSchema::getInstance |
( |
xercesc::XSModel * |
model = 0 | ) |
|
|
inlinestatic |
void coConfigSchema::loadSchema |
( |
const QString & |
filename = 0 | ) |
|
|
static |
QString coConfigSchema::printCompositorTypeConnector |
( |
xercesc::XSModelGroup::COMPOSITOR_TYPE |
type | ) |
|
|
private |
QList< xercesc::XSElementDeclaration * > coConfigSchema::processParticle |
( |
xercesc::XSParticle * |
xsParticle | ) |
|
|
private |
QString coConfigSchema::processSimpleTypeDefinition |
( |
xercesc::XSSimpleTypeDefinition * |
xsSimpleTypeDef | ) |
|
|
private |
void coConfigSchema::sortInGroups |
( |
| ) |
|
|
private |
void coConfigSchema::walkTree |
( |
| ) |
|
|
private |
QString coConfigSchema::fileName = "" |
|
staticprivate |
bool covise::coConfigSchema::walked |
|
private |
xercesc::XSModel * coConfigSchema::xsModel = 0 |
|
staticprivate |
The documentation for this class was generated from the following files: