Code_TYMPAN  4.4.0
Industrial site acoustic simulation
TYCoursEau.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) <2012-2024> <EDF-DTG> <FRANCE>
3  * This file is part of Code_TYMPAN (R).
4  * Code_TYMPAN (R) is free software: you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License as published by
6  * the Free Software Foundation, either version 3 of the License, or
7  * (at your option) any later version.
8  * Code_TYMPAN (R) is distributed in the hope that it will be useful,
9  * but WITHOUT ANY WARRANTY; without even the implied warranty of
10  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
11  * See the GNU General Public License for more details.
12  * You should have received a copy of the GNU General Public License along
13  * with Code_TYMPAN (R). If not, see <https://www.gnu.org/licenses/>.
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:430
#define OPROTODECL(classname)
Definition: TYElement.h:64
#define TY_EXTENSION_DECL_ONLY(classname)
Definition: TYElement.h:385
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