libmoldeo (Moldeo 1.0 Core)  1.0
libmoldeo is the group of objects and functions that executes the basic operations of Moldeo 1.0 Platform.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
moPreConfig.h
Go to the documentation of this file.
1 /*******************************************************************************
2 
3  moPreConfig.h
4 
5  ****************************************************************************
6  * *
7  * This source is free software; you can redistribute it and/or modify *
8  * it under the terms of the GNU General Public License as published by *
9  * the Free Software Foundation; either version 2 of the License, or *
10  * (at your option) any later version. *
11  * *
12  * This code is distributed in the hope that it will be useful, but *
13  * WITHOUT ANY WARRANTY; without even the implied warranty of *
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
15  * General Public License for more details. *
16  * *
17  * A copy of the GNU General Public License is available on the World *
18  * Wide Web at <http://www.gnu.org/copyleft/gpl.html>. You can also *
19  * obtain it by writing to the Free Software Foundation, *
20  * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
21  * *
22  ****************************************************************************
23 
24  Copyright(C) 2006 Fabricio Costa
25 
26  Authors:
27  Fabricio Costa
28 
29 
30 *******************************************************************************/
31 
32 #ifndef __MO_PRE_CONFIG_H__
33 #define __MO_PRE_CONFIG_H__
34 
35 #include "moTypes.h"
36 #include "moValue.h"
37 
39 
40  public:
41 
43  m_ParamName = "";
44  m_ParamIndex = -1;
45  m_ValueIndex = -1;
46  }
47 
49  (*this) = src;
50  }
51 
53  //
54  }
55 
56 
58  m_ParamName = src.m_ParamName;
59  m_ParamIndex = src.m_ParamIndex;
60  m_ValueIndex = src.m_ValueIndex;
61  return (*this);
62  }
63 
64 
68 };
69 
71 
73 
74  public:
75  moPreConfig();
76  moPreConfig( const moPreConfig& src ) {
77  (*this) = src;
78  }
79  moPreConfig( moPreconfigIndexes& preconfindexes );
80  //moPreConfig( moValueIndexes& valueindexes );
81  virtual ~moPreConfig();
82  virtual MOboolean Init();
83  virtual MOboolean Finish();
84 
85  moPreconfigParamIndex operator [] ( MOint paramindex); //devuelve el indice del valor para el parametro elegido
86  moPreConfig& operator = ( const moPreConfig& preconf);
87 
88  const moText& ToJSON();
89 
91  //moValueIndexes m_ValueIndexes;
92  moPreconfigIndexes m_PreconfIndexes;
93 
94  private:
95  moText m_FullJSON;
96  moPreconfigParamIndex m_pindex;
97 };
98 
100 
101 #endif
102 
#define MOboolean
Definition: moTypes.h:385
moDeclareExportedDynamicArray(moPreconfigParamIndex, moPreconfigIndexes)
#define LIBMOLDEO_API
Definition: moTypes.h:180
clase de para manejar textos
Definition: moText.h:75
#define MOint
Definition: moTypes.h:388
moText m_Name
Definition: moPreConfig.h:90
moPreconfigParamIndex(const moPreconfigParamIndex &src)
Definition: moPreConfig.h:48
moPreConfig(const moPreConfig &src)
Definition: moPreConfig.h:76
moMatrix3 & operator=(const moMatrix3 &rkM)
moPreconfigIndexes m_PreconfIndexes
Definition: moPreConfig.h:92
const Real * operator[](int iRow) const