Code_TYMPAN  4.4.0
Industrial site acoustic simulation
TYCoursEau.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) <2012> <EDF-R&D> <FRANCE>
3  * This program is free software; you can redistribute it and/or modify
4  * it under the terms of the GNU General Public License as published by
5  * the Free Software Foundation; either version 2 of the License, or
6  * (at your option) any later version.
7  * This program is distributed in the hope that it will be useful,
8  * but WITHOUT ANY WARRANTY; without even the implied warranty of
9  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
10  * See the GNU General Public License for more details.
11  * You should have received a copy of the GNU General Public License along
12  * with this program; if not, write to the Free Software Foundation, Inc.,
13  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
14  */
15 
16 /*
17  *
18  */
19 
20 #ifndef __TY_COURSEAU__
21 #define __TY_COURSEAU__
22 
24 
28 class TYCoursEau : public TYAcousticLine
29 {
33 
34  // Methodes
35 public:
39  TYCoursEau();
43  TYCoursEau(const TYCoursEau& other);
47  virtual ~TYCoursEau();
48 
50  TYCoursEau& operator=(const TYCoursEau& other);
52  bool operator==(const TYCoursEau& other) const;
54  bool operator!=(const TYCoursEau& other) const;
55 
56  virtual std::string toString() const;
57 
58  virtual DOM_Element toXML(DOM_Element& domElement);
59  virtual int fromXML(DOM_Element domElement);
60 
61  // Membres
62 protected:
63 };
64 
70 typedef std::vector<LPTYCoursEauGeoNode> TYTabCoursEauGeoNode;
71 
72 #endif // __TY_COURSEAU__
QDomElement DOM_Element
Definition: QT2DOM.h:30
std::vector< LPTYCoursEauGeoNode > TYTabCoursEauGeoNode
Collection de noeuds geometriques de type TYCoursEau.
Definition: TYCoursEau.h:70
SmartPtr< TYCoursEauGeoNode > LPTYCoursEauGeoNode
Smart Pointer sur TYCoursEauGeoNode.
Definition: TYCoursEau.h:68
TYGeometryNode TYCoursEauGeoNode
Noeud geometrique de type TYCoursEau.
Definition: TYCoursEau.h:66
#define TY_EXT_GRAPHIC_DECL_ONLY(classname)
Definition: TYElement.h:432
#define OPROTODECL(classname)
Definition: TYElement.h:65
#define TY_EXTENSION_DECL_ONLY(classname)
Definition: TYElement.h:386
bool operator==(const TYCoursEau &other) const
Operateur ==.
Definition: TYCoursEau.cpp:69
TYCoursEau & operator=(const TYCoursEau &other)
Operateur =.
Definition: TYCoursEau.cpp:60
virtual DOM_Element toXML(DOM_Element &domElement)
Definition: TYCoursEau.cpp:91
virtual int fromXML(DOM_Element domElement)
Definition: TYCoursEau.cpp:97
virtual ~TYCoursEau()
Definition: TYCoursEau.cpp:58
virtual std::string toString() const
Definition: TYCoursEau.cpp:86
bool operator!=(const TYCoursEau &other) const
Operateur !=.
Definition: TYCoursEau.cpp:81