Code_TYMPAN  4.2.0
Industrial site acoustic simulation
TYUserSrcRegime.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_USER_SRC_REGIME__
21 #define __TY_USER_SRC_REGIME__
22 
23 #include "TYRegime.h"
24 #include "TYDirectivity.h"
25 
29 class TYUserSrcRegime : public TYRegime
30 {
32 
33  // Methodes
34 public:
42  TYUserSrcRegime(const TYUserSrcRegime& other);
46  virtual ~TYUserSrcRegime();
47 
51  bool operator==(const TYUserSrcRegime& other) const;
53  bool operator!=(const TYUserSrcRegime& other) const;
54 
55  virtual bool deepCopy(const TYElement* pOther, bool copyId = true, bool pUseCopyTag = false);
56 
57  virtual std::string toString() const;
58 
59  virtual DOM_Element toXML(DOM_Element& domElement);
60  virtual int fromXML(DOM_Element domElement);
61 
62  // Membres
63 public:
65 
66 protected:
67 };
68 
70 typedef std::vector<TYUserSrcRegime> TYTabUserSrcRegimes;
71 
72 #endif // __TY_USER_SRC_REGIME__
QDomElement DOM_Element
Definition: QT2DOM.h:31
virtual std::string toString() const
virtual bool deepCopy(const TYElement *pOther, bool copyId=true, bool pUseCopyTag=false)
virtual int fromXML(DOM_Element domElement)
std::vector< TYUserSrcRegime > TYTabUserSrcRegimes
Tableau de regimes.
TYUserSrcRegime & operator=(const TYUserSrcRegime &other)
Operateur =.
virtual DOM_Element toXML(DOM_Element &domElement)
#define OPROTODECL(classname)
Definition: TYElement.h:67
bool operator!=(const TYUserSrcRegime &other) const
Operateur !=.
LPTYDirectivity _pDirectivite
virtual ~TYUserSrcRegime()
bool operator==(const TYUserSrcRegime &other) const
Operateur ==.