15 #ifndef QGSGMLSCHEMA_H 16 #define QGSGMLSCHEMA_H 32 #include <QDomElement> 33 #include <QStringList> 49 int fieldIndex(
const QString & name );
122 void startElement(
const XML_Char* el,
const XML_Char** attr );
123 void endElement(
const XML_Char* el );
124 void characters(
const XML_Char* chars,
int len );
125 static void start(
void* data,
const XML_Char* el,
const XML_Char** attr )
127 static_cast<QgsGmlSchema*
>( data )->startElement( el, attr );
129 static void end(
void* data,
const XML_Char* el )
133 static void chars(
void* data,
const XML_Char* chars,
int len )
135 static_cast<QgsGmlSchema*
>( data )->characters( chars, len );
144 QString readAttribute(
const QString& attributeName,
const XML_Char** attr )
const;
147 QWidget* findMainWindow()
const;
176 ParseMode modeStackTop() {
return mParseModeStack.isEmpty() ? none : mParseModeStack.top(); }
179 ParseMode modeStackPop() {
return mParseModeStack.isEmpty() ? none : mParseModeStack.pop(); }
A rectangle specified with double values.
The feature class encapsulates a single feature including its id, geometry and a list of field/values...
QList< QgsField > & fields()
static QString stripNS(const QString &string)
Description of feature class in GML.
QgsError is container for error messages (report).
Class for storing a coordinate reference system (CRS)
QgsError error() const
Get error if parseXSD() or guessSchema() failed.
QStringList & geometryAttributes()