72 if (TYElement::operator!=(other))
76 if (TYColorInterface::operator!=(other))
116 std::string str =
"TYSegment";
128 ptA.toXML(domNewElem);
129 ptB.
toXML(domNewElem);
144 QDomNodeList childs = domElement.childNodes();
146 for (
unsigned int i = 0; i < childs.length(); i++)
148 elemCur = childs.item(i).toElement();
Representation graphique d'un segment (fichier header)
TY_EXTENSION_INST(TYSegment)
TY_EXT_GRAPHIC_INST(TYSegment)
double _y
y coordinate of OCoord3D
double _z
z coordinate of OCoord3D
double _x
x coordinate of OCoord3D
virtual const char * getClassName() const
OPoint3D _ptA
Point A of the segment.
OPoint3D _ptB
Point B of the segment.
int fromXML(DOM_Element domElement)
TYColorInterface & operator=(const TYColorInterface &other)
void deepCopy(const TYColorInterface *pOther, bool copyId=true, bool pUseCopyTag=false)
DOM_Element toXML(DOM_Element &domElement)
virtual bool deepCopy(const TYElement *pOther, bool copyId=true, bool pUseCopyTag=false)
virtual DOM_Element toXML(DOM_Element &domElement)
QString _name
Nom courant de l'element.
TYElement & operator=(const TYElement &other)
bool callFromXMLIfEqual(DOM_Element &domElement, int *pRetVal=NULL)
virtual int fromXML(DOM_Element domElement)
QString generateName(const char *classname)
Retourne le nom de la classe associe a un nombre.
static TYNameManager * get()
Retourne l'instance singleton.
virtual DOM_Element toXML(DOM_Element &domElement)
virtual bool operator==(const TYSegment &other) const
Operateur ==.
virtual bool deepCopy(const TYElement *pOther, bool copyId=true, bool pUseCopyTag=false)
virtual int fromXML(DOM_Element domElement)
virtual bool operator!=(const TYSegment &other) const
Operateur !=.
static bool unorderedIsEqual(const TYSegment &s1, const TYSegment &s2)
Comparison function for unordered segment.
virtual TYSegment & operator=(const TYSegment &other)
Operateur =.
virtual DOM_Element toXML(DOM_Element &domElement)
virtual std::string toString() const