8#ifndef COCONFIGSCHEMA_H
9#define COCONFIGSCHEMA_H
17#include <xercesc/framework/psvi/XSConstants.hpp>
18#include <xercesc/framework/psvi/XSModelGroup.hpp>
19#include <xercesc/framework/psvi/XSNamedMap.hpp>
24class XSSimpleTypeDefinition;
26class XSElementDeclaration;
31class coConfigSchemaInfos;
32class coConfigSchemaInfosList;
46 configSchema->walkTree();
52 static void loadSchema(
const QString &filename = 0);
54 QStringList getGroupsFromSchema();
72 coConfigSchemaInfos *createSchemaInfos(xercesc::XSElementDeclaration *elementDecl,
const QString parent = QString(
""));
75 void addAnnotationsForElement(xercesc::XSElementDeclaration *elementDecl,
coConfigSchemaInfos *schemaInfos);
76 QHash<QString, QString> *createFromSchemaFileAnnotationsList(xercesc::XSAnnotationList *annoList);
77 QHash<QString, QString> *createFromSchemaFileAnnotation(xercesc::XSAnnotation *anno);
78 QString processSimpleTypeDefinition(xercesc::XSSimpleTypeDefinition *xsSimpleTypeDef);
80 QList<xercesc::XSElementDeclaration *> processParticle(xercesc::XSParticle *xsParticle);
81 QString printCompositorTypeConnector(xercesc::XSModelGroup::COMPOSITOR_TYPE
type);
84 QHash<QString, coConfigSchemaInfos *>
elements;
86 QHash<QString, coConfigSchemaInfosList *>
groups;
#define CONFIGEXPORT
Definition: coExport.h:367
GLuint const GLchar * name
Definition: khronos-glext.h:6722
GLenum type
Definition: khronos-glext.h:6279
list of all chemical elements
Definition: coConfig.h:27
Definition: coConfigSchema.h:22
Definition: coConfigSchemaInfos.h:31
Definition: coConfigSchemaInfosList.h:23
Definition: coConfigSchema.h:35
static xercesc::XSModel * xsModel
Definition: coConfigSchema.h:68
coConfigSchema(xercesc::XSModel *model)
Definition: coConfigSchema.h:60
QHash< QString, coConfigSchemaInfosList * > groups
Definition: coConfigSchema.h:86
static coConfigSchema * getInstance(xercesc::XSModel *model=0)
Definition: coConfigSchema.h:37
bool walked
Definition: coConfigSchema.h:87
QHash< QString, coConfigSchemaInfos * > elements
Definition: coConfigSchema.h:84
static QString fileName
Definition: coConfigSchema.h:70
static coConfigSchema * configSchema
Definition: coConfigSchema.h:69