21 #ifndef __XAO_XAO_HXX__
22 #define __XAO_XAO_HXX__
33 #pragma warning(disable:4290)
34 #pragma warning(disable:4251)
62 Xao(
const std::string& author,
const std::string& version);
120 if (m_geometry != NULL)
122 m_geometry = geometry;
134 int countGroups()
const;
140 Group* getGroup(
int index) ;
153 bool removeGroup(
Group* group);
163 int countFields()
const;
177 Field* getField(
int index) ;
193 const std::string& name = std::string(
""))
197 const std::string& name = std::string(
"")) ;
199 const std::string& name = std::string(
"")) ;
201 const std::string& name = std::string(
"")) ;
203 const std::string& name = std::string(
"")) ;
210 bool removeField(
Field* field);
221 bool exportXAO(
const std::string& fileName,
const std::string& shapeFileName);
226 const std::string getXML();
233 bool importXAO(
const std::string& fileName);
239 bool setXML(
const std::string& xml);
242 void checkGeometry()
const ;
243 void checkGroupIndex(
int index)
const ;
244 void checkFieldIndex(
int index)
const ;
#define XAO_EXPORT
Definition: XAO.hxx:31
Represents a field with boolean values.
Definition: XAO_BooleanField.hxx:43
Represents a field with double values.
Definition: XAO_DoubleField.hxx:43
A geometrical Field.
Definition: XAO_Field.hxx:46
Base class for geometries.
Definition: XAO_Geometry.hxx:43
void setReadOnly()
Sets the geometry read only.
Definition: XAO_Geometry.hxx:159
Class to represent a Geometrical Group.
Definition: XAO_Group.hxx:39
Represents a field with integer values.
Definition: XAO_IntegerField.hxx:43
Represents a field with string values.
Definition: XAO_StringField.hxx:42
Exception for XAO operations.
Definition: XAO_Exception.hxx:34
The Xao class describes the XAO format.
Definition: XAO_Xao.hxx:51
std::list< Field * > m_fields
The list of fields.
Definition: XAO_Xao.hxx:257
std::list< Group * > m_groups
The list of groups.
Definition: XAO_Xao.hxx:255
std::string m_version
The version of the file.
Definition: XAO_Xao.hxx:251
Geometry * m_geometry
The geometry.
Definition: XAO_Xao.hxx:253
std::string m_author
The author of the file.
Definition: XAO_Xao.hxx:249
Geometry * getGeometry() const
Gets the geometry.
Definition: XAO_Xao.hxx:110
const std::string getVersion() const
Gets the version of the file.
Definition: XAO_Xao.hxx:89
const std::string getAuthor() const
Gets the author of the file.
Definition: XAO_Xao.hxx:72
void setGeometry(Geometry *geometry)
Sets the geometry.
Definition: XAO_Xao.hxx:118
void setAuthor(const std::string &author)
Sets the author of the file.
Definition: XAO_Xao.hxx:80
void setVersion(const std::string &version)
Sets the version of the file.
Definition: XAO_Xao.hxx:97
Definition: BrepGeometryTest.hxx:26
Dimension
Definition: XAO_XaoUtils.hxx:50
Type
Definition: XAO_XaoUtils.hxx:62