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.
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
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
38
class
LIBMOLDEO_API
moPreconfigParamIndex
{
39
40
public
:
41
42
moPreconfigParamIndex
() {
43
m_ParamName =
""
;
44
m_ParamIndex = -1;
45
m_ValueIndex = -1;
46
}
47
48
moPreconfigParamIndex
(
const
moPreconfigParamIndex
& src ) {
49
(*this) = src;
50
}
51
52
~moPreconfigParamIndex
() {
53
//
54
}
55
56
57
moPreconfigParamIndex
&
operator =
(
const
moPreconfigParamIndex
& src) {
58
m_ParamName = src.
m_ParamName
;
59
m_ParamIndex = src.
m_ParamIndex
;
60
m_ValueIndex = src.
m_ValueIndex
;
61
return
(*
this
);
62
}
63
64
65
moText
m_ParamName
;
66
MOint
m_ParamIndex
;
67
MOint
m_ValueIndex
;
68
};
69
70
moDeclareExportedDynamicArray
(
moPreconfigParamIndex
, moPreconfigIndexes );
71
72
class
LIBMOLDEO_API
moPreConfig
{
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
90
moText
m_Name
;
91
//moValueIndexes m_ValueIndexes;
92
moPreconfigIndexes
m_PreconfIndexes
;
93
94
private
:
95
moText
m_FullJSON;
96
moPreconfigParamIndex
m_pindex;
97
};
98
99
moDeclareExportedDynamicArray
(
moPreConfig
, moPreConfigs );
100
101
#endif
102
moPreconfigParamIndex::m_ParamIndex
MOint m_ParamIndex
Definition:
moPreConfig.h:66
moPreconfigParamIndex::m_ValueIndex
MOint m_ValueIndex
Definition:
moPreConfig.h:67
moPreconfigParamIndex::moPreconfigParamIndex
moPreconfigParamIndex()
Definition:
moPreConfig.h:42
MOboolean
#define MOboolean
Definition:
moTypes.h:385
moPreconfigParamIndex::m_ParamName
moText m_ParamName
Definition:
moPreConfig.h:65
moValue.h
moDeclareExportedDynamicArray
moDeclareExportedDynamicArray(moPreconfigParamIndex, moPreconfigIndexes)
moTypes.h
LIBMOLDEO_API
#define LIBMOLDEO_API
Definition:
moTypes.h:180
moPreconfigParamIndex
Definition:
moPreConfig.h:38
moText0
clase de para manejar textos
Definition:
moText.h:75
MOint
#define MOint
Definition:
moTypes.h:388
moPreConfig::m_Name
moText m_Name
Definition:
moPreConfig.h:90
moPreconfigParamIndex::moPreconfigParamIndex
moPreconfigParamIndex(const moPreconfigParamIndex &src)
Definition:
moPreConfig.h:48
moPreConfig
Definition:
moPreConfig.h:72
moPreConfig::moPreConfig
moPreConfig(const moPreConfig &src)
Definition:
moPreConfig.h:76
operator=
moMatrix3 & operator=(const moMatrix3 &rkM)
Definition:
moMathMatrix.h:2102
moPreConfig::m_PreconfIndexes
moPreconfigIndexes m_PreconfIndexes
Definition:
moPreConfig.h:92
moPreconfigParamIndex::~moPreconfigParamIndex
~moPreconfigParamIndex()
Definition:
moPreConfig.h:52
operator[]
const Real * operator[](int iRow) const
Definition:
moMathMatrix.h:2095
libmoldeo
moPreConfig.h
Generated on Wed May 17 2017 14:09:19 for libmoldeo (Moldeo 1.0 Core) by
1.8.8