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
moValue Class Reference

Valor de un Parámetro. More...

#include <moValue.h>

Public Member Functions

 moValue ()
 
 moValue (const moValue &src)
 
 moValue (const moText &strvalue, moValueType p_valuetype)
 
 moValue (const moText &strvalue)
 
 moValue (MOchar p_char)
 
 moValue (MOint p_int)
 
 moValue (MOlong p_long)
 
 moValue (MOfloat p_float)
 
 moValue (MOdouble p_double)
 
 moValue (const moText &strvalue, const moText &type)
 
 moValue (const moText &strvalue, const moText &type, const moText &strvalue2, const moText &type2)
 
 moValue (const moText &strvalue, const moText &type, const moText &strvalue2, const moText &type2, const moText &strvalue3, const moText &type3)
 
 moValue (const moText &strvalue, const moText &type, const moText &strvalue2, const moText &type2, const moText &strvalue3, const moText &type3, const moText &strvalue4, const moText &type4)
 
void AddSubValue (const moText &strvalue, moValueType p_valuetype)
 
void AddSubValue (const moText &strvalue, const moText &type)
 
void AddSubValue (const moValueBase &valuebase)
 
void RemoveSubValue (MOint p_indexsubvalue)
 
void RemoveSubValues (bool leavefirstone=true)
 
virtual ~moValue ()
 
moValueoperator= (const moValue &src)
 
moValueBaseoperator[] (MOint p_indexsubvalue)
 
moValueBaseGetSubValue (MOint p_indexsubvalue=0)
 
moValueBaseGetLastSubValue ()
 
MOuint GetSubValueCount ()
 
moValueRef ()
 
int Set (const moText &p_XmlText)
 
const moTextToJSON ()
 
const moTextToXML ()
 

Detailed Description

Valor de un Parámetro.

moValue es la clase para manejar el valor de un parámetro el valor de un parámetro puede ser uno mas datos

moValue puede contener varios datos encapsulados a los que se acceden a través de las funciones: GetSubValue, GetSubValueCount, y el operador []

Definition at line 501 of file moValue.h.

Constructor & Destructor Documentation

moValue::moValue ( )

Definition at line 1613 of file moValue.cpp.

moValue::moValue ( const moValue src)

Definition at line 1617 of file moValue.cpp.

moValue::moValue ( const moText strvalue,
moValueType  p_valuetype 
)

Definition at line 1629 of file moValue.cpp.

moValue::moValue ( const moText strvalue)
moValue::moValue ( MOchar  p_char)

Definition at line 1633 of file moValue.cpp.

moValue::moValue ( MOint  p_int)

Definition at line 1639 of file moValue.cpp.

moValue::moValue ( MOlong  p_long)

Definition at line 1645 of file moValue.cpp.

moValue::moValue ( MOfloat  p_float)

Definition at line 1651 of file moValue.cpp.

moValue::moValue ( MOdouble  p_double)

Definition at line 1657 of file moValue.cpp.

moValue::moValue ( const moText strvalue,
const moText type 
)

Definition at line 1663 of file moValue.cpp.

moValue::moValue ( const moText strvalue,
const moText type,
const moText strvalue2,
const moText type2 
)

Definition at line 1668 of file moValue.cpp.

moValue::moValue ( const moText strvalue,
const moText type,
const moText strvalue2,
const moText type2,
const moText strvalue3,
const moText type3 
)

Definition at line 1673 of file moValue.cpp.

moValue::moValue ( const moText strvalue,
const moText type,
const moText strvalue2,
const moText type2,
const moText strvalue3,
const moText type3,
const moText strvalue4,
const moText type4 
)

Definition at line 1678 of file moValue.cpp.

moValue::~moValue ( )
virtual

Definition at line 1848 of file moValue.cpp.

Member Function Documentation

void moValue::AddSubValue ( const moText strvalue,
moValueType  p_valuetype 
)

Definition at line 1707 of file moValue.cpp.

void moValue::AddSubValue ( const moText strvalue,
const moText type 
)

Definition at line 1765 of file moValue.cpp.

void moValue::AddSubValue ( const moValueBase valuebase)

Definition at line 1702 of file moValue.cpp.

moValueBase& moValue::GetLastSubValue ( )
inline

Definition at line 542 of file moValue.h.

moValueBase& moValue::GetSubValue ( MOint  p_indexsubvalue = 0)
inline

Definition at line 539 of file moValue.h.

MOuint moValue::GetSubValueCount ( )
inline

Definition at line 545 of file moValue.h.

moValue & moValue::operator= ( const moValue src)

Definition at line 1852 of file moValue.cpp.

moValueBase& moValue::operator[] ( MOint  p_indexsubvalue)
inline

Definition at line 532 of file moValue.h.

moValue& moValue::Ref ( )
inline

Definition at line 548 of file moValue.h.

void moValue::RemoveSubValue ( MOint  p_indexsubvalue)

Definition at line 1686 of file moValue.cpp.

void moValue::RemoveSubValues ( bool  leavefirstone = true)

Definition at line 1691 of file moValue.cpp.

int moValue::Set ( const moText p_XmlText)

or TIXML_ENCODING_UTF8

convert xmltext to structure

Definition at line 1883 of file moValue.cpp.

const moText & moValue::ToJSON ( )

Definition at line 1858 of file moValue.cpp.

const moText & moValue::ToXML ( )

Definition at line 1870 of file moValue.cpp.


The documentation for this class was generated from the following files: