Go to the documentation of this file.
17 #include <QMetaObject>
20 #include <QDomDocument>
38 const QString& sPropName,
39 const QString& sKey );
45 const QString &sClassName,
49 const QString &sClassName,
57 static bool IsNillable (
const QString &sType );
58 static bool IsEnum (
const QMetaProperty &metaProperty,
59 const QString &sType );
67 static QString
ConvertTypeToXSD(
const QString &sType,
bool bCustomType =
false );
static bool IsNillable(const QString &sType)
QDomElement CreateComplexTypeNode(QMetaObject *pMetaObject)
static QString ConvertTypeToXSD(const QString &sType, bool bCustomType=false)
HTTPResponse GetXSD(const HTTPRequest2 &pRequest, QString sTypeName)
bool RenderMapXSD(const HTTPRequest2 &pRequest, const QString &sClassName, bool bCustomType)
bool RenderXSD(const HTTPRequest2 &pRequest, QObject *pClass)
std::shared_ptr< MythHTTPResponse > HTTPResponse
QDomElement CreateSchemaRoot()
bool RenderArrayXSD(const HTTPRequest2 &pRequest, const QString &sClassName, bool bCustomType)
std::shared_ptr< MythHTTPRequest > HTTPRequest2
static QString ReadPropertyMetadata(QObject *pObject, const QString &sPropName, const QString &sKey)
static HTTPResponse Error(const HTTPRequest2 &pRequest, const QString &msg)
static bool IsEnum(const QMetaProperty &metaProperty, const QString &sType)