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

#include <moValue.h>

Public Member Functions

 moValueDefinition ()
 
 moValueDefinition (const moValueDefinition &src)
 
virtual ~moValueDefinition ()
 
moValueDefinitionoperator= (const moValueDefinition &src)
 
void SetType (moValueType p2_type)
 
void SetIndex (MOint p_index)
 
moValueType GetType () const
 
moText GetTypeStr () const
 
MOint GetIndex () const
 
moText GetCodeName () const
 
void SetCodeName (moText p_codename)
 
void SetRange (MOfloat min, MOfloat max)
 
void SetRange (moText min, moText max)
 
void GetRange (MOfloat *min, MOfloat *max)
 
moText GetAttribute () const
 
void SetAttribute (moText p_attribute)
 
bool IsValid () const
 
int Set (const moText &p_XmlText)
 
const moTextToJSON ()
 
const moTextToXML ()
 

Static Public Member Functions

static moValueType ValueTypeFromStr (const moText &p_value_type_str)
 

Detailed Description

moValueDefinition clase que define un valor, con un código de texto śnico, rangos y tipo Este objeto es lo que diferencia a un Dato (moData) de un Valor (moValueBase)

Definition at line 337 of file moValue.h.

Constructor & Destructor Documentation

moValueDefinition::moValueDefinition ( )

Definition at line 1191 of file moValue.cpp.

moValueDefinition::moValueDefinition ( const moValueDefinition src)

Definition at line 1200 of file moValue.cpp.

moValueDefinition::~moValueDefinition ( )
virtual

Definition at line 1204 of file moValue.cpp.

Member Function Documentation

moText moValueDefinition::GetAttribute ( ) const

Definition at line 1339 of file moValue.cpp.

moText moValueDefinition::GetCodeName ( ) const

Definition at line 1308 of file moValue.cpp.

MOint moValueDefinition::GetIndex ( ) const

Definition at line 1303 of file moValue.cpp.

void moValueDefinition::GetRange ( MOfloat min,
MOfloat max 
)

Definition at line 1331 of file moValue.cpp.

moValueType moValueDefinition::GetType ( ) const

Definition at line 1229 of file moValue.cpp.

moText moValueDefinition::GetTypeStr ( ) const

Definition at line 1234 of file moValue.cpp.

bool moValueDefinition::IsValid ( ) const

Definition at line 1349 of file moValue.cpp.

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

Definition at line 1207 of file moValue.cpp.

int moValueDefinition::Set ( const moText p_XmlText)

or TIXML_ENCODING_UTF8

convert xmltext to structure

Definition at line 1384 of file moValue.cpp.

void moValueDefinition::SetAttribute ( moText  p_attribute)

Definition at line 1344 of file moValue.cpp.

void moValueDefinition::SetCodeName ( moText  p_codename)

Definition at line 1313 of file moValue.cpp.

void moValueDefinition::SetIndex ( MOint  p_index)

Definition at line 1224 of file moValue.cpp.

void moValueDefinition::SetRange ( MOfloat  min,
MOfloat  max 
)

Definition at line 1318 of file moValue.cpp.

void moValueDefinition::SetRange ( moText  min,
moText  max 
)

Definition at line 1324 of file moValue.cpp.

void moValueDefinition::SetType ( moValueType  p2_type)

Definition at line 1219 of file moValue.cpp.

const moText & moValueDefinition::ToJSON ( )

Definition at line 1354 of file moValue.cpp.

const moText & moValueDefinition::ToXML ( )

Definition at line 1369 of file moValue.cpp.

moValueType moValueDefinition::ValueTypeFromStr ( const moText p_value_type_str)
static

Definition at line 1274 of file moValue.cpp.


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