14 #include "msdevstudio/MSconfig.h"
31 :
BaseXML (
"Transform", controller )
38 const string &
type = transform.
name();
XmlElement * createElement()
Creates a new element node.
virtual bool attribute(const std::string &name, bool &value) const =0
Sets value to the attribute name's value.
A transform that transforms coordinates from one coordinate system to another.
TransformXML(const TransformXML &)
A private copy constructor in order to avoid copying.
A pure virtual base class of XML element wrapper.
TransformBase * createTransform(const std::string &name)
Creates a returns a new TransformBase object with given name.
TransformXML class interface.
static TransformFactory * instance()
Returns a pointer to the singleton instance.
PyArray_TYPES type(numeric::array arr)
XmlElement class interface.
const std::string & name() const
Returns the name of the Transform.
const std::string m_type
The attribute name for the type of object.
virtual TransformBase * createObject(const XmlElement *element)
Creates an object derived from TransformBase.
A base class of XML element controllers.
TransformBase class interface.
A base class that is the interface between GUI and the XML serialization and deserialization.
The singleton Factory class for creating objects whose class is derived from TransformBase.
virtual void setAttribute(const std::string &name, bool value)=0
Sets attribute named name to the int value value.