8 #ifndef COCONFIGSCHEMA_H
9 #define COCONFIGSCHEMA_H
15 #include <QStringList>
17 #include <xercesc/framework/psvi/XSConstants.hpp>
18 #include <xercesc/framework/psvi/XSModelGroup.hpp>
19 #include <xercesc/framework/psvi/XSNamedMap.hpp>
21 namespace XERCES_CPP_NAMESPACE
24 class XSSimpleTypeDefinition;
26 class XSElementDeclaration;
31 class coConfigSchemaInfos;
32 class 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;
Definition: coConfigSchemaInfosList.h:22
coConfigSchema(xercesc::XSModel *model)
Definition: coConfigSchema.h:60
#define CONFIGEXPORT
Definition: coExport.h:355
bool walked
Definition: coConfigSchema.h:87
Definition: coConfigSchemaInfos.h:30
GLuint const GLchar * name
Definition: khronos-glext.h:6722
static coConfigSchema * configSchema
Definition: coConfigSchema.h:69
Definition: coConfigSchema.h:34
static QString fileName
Definition: coConfigSchema.h:70
GLenum type
Definition: khronos-glext.h:6279
QHash< QString, coConfigSchemaInfosList * > groups
Definition: coConfigSchema.h:86
QHash< QString, coConfigSchemaInfos * > elements
Definition: coConfigSchema.h:84
static coConfigSchema * getInstance(xercesc::XSModel *model=0)
Definition: coConfigSchema.h:37
static xercesc::XSModel * xsModel
Definition: coConfigSchema.h:68