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

#include <moParam.h>

Public Member Functions

 moParamDefinition ()
 
 moParamDefinition (const moParamDefinition &src)
 
 moParamDefinition (const moText &p_name, moParamType p_type)
 
 moParamDefinition (const moText &p_name, const moText &p_type, const moText &p_property=moText(""), const moText &p_group=moText(""), const moText &p_interpolation=moText(""), const moText &p_duration=moText(""), const moText &p_optionsstr=moText(""))
 
 moParamDefinition (const moText &p_name, const moText &p_type, const moText &p_property, const moText &p_group, const moText &p_interpolation, const moText &p_duration, const moTextArray &p_Options)
 
virtual ~moParamDefinition ()
 
moParamDefinitionoperator= (const moParamDefinition &src)
 
bool IsValid () const
 
const moTextGetName () const
 
void SetName (const moText &p_Name)
 
moParamType GetType () const
 
moText GetTypeStr () const
 
void SetType (moParamType p_paramType)
 
MOint GetIndex () const
 
void SetIndex (MOint p_index)
 
const moTextGetProperty () const
 
void SetProperty (const moText &p_Property)
 
const moTextGetGroup () const
 
void SetGroup (const moText &p_Group)
 
void SetDefault (const moValue &p_defaultvalue)
 
moValueGetDefaultValue ()
 
void SetOptions (const moTextArray &p_options)
 
void SetOptions (const moText &p_OptionsStr)
 
moTextArray & GetOptions ()
 
const moTextGetOptionsStr ()
 
void SetInterpolation (moParamInterpolation &p_Interpolation)
 
moParamInterpolationGetInterpolation ()
 
int Set (const moText &p_XmlText)
 
const moTextToJSON ()
 
const moTextToXML ()
 

Static Public Member Functions

static moParamType ParamTypeFromStr (const moText &p_type)
 

Detailed Description

Definition at line 250 of file moParam.h.

Constructor & Destructor Documentation

moParamDefinition::moParamDefinition ( )
moParamDefinition::moParamDefinition ( const moParamDefinition src)

Definition at line 53 of file moParam.cpp.

moParamDefinition::moParamDefinition ( const moText p_name,
moParamType  p_type 
)

Definition at line 57 of file moParam.cpp.

moParamDefinition::moParamDefinition ( const moText p_name,
const moText p_type,
const moText p_property = moText(""),
const moText p_group = moText(""),
const moText p_interpolation = moText(""),
const moText p_duration = moText(""),
const moText p_optionsstr = moText("") 
)

Definition at line 195 of file moParam.cpp.

moParamDefinition::moParamDefinition ( const moText p_name,
const moText p_type,
const moText p_property,
const moText p_group,
const moText p_interpolation,
const moText p_duration,
const moTextArray &  p_Options 
)

Definition at line 355 of file moParam.cpp.

moParamDefinition::~moParamDefinition ( )
virtual

Definition at line 367 of file moParam.cpp.

Member Function Documentation

moValue& moParamDefinition::GetDefaultValue ( )
inline

Definition at line 309 of file moParam.h.

const moText& moParamDefinition::GetGroup ( ) const
inline

Definition at line 299 of file moParam.h.

MOint moParamDefinition::GetIndex ( ) const
inline

Definition at line 284 of file moParam.h.

moParamInterpolation& moParamDefinition::GetInterpolation ( )
inline

Definition at line 329 of file moParam.h.

const moText& moParamDefinition::GetName ( ) const
inline

Definition at line 266 of file moParam.h.

moTextArray& moParamDefinition::GetOptions ( )
inline

Definition at line 317 of file moParam.h.

const moText& moParamDefinition::GetOptionsStr ( )
inline

Definition at line 321 of file moParam.h.

const moText& moParamDefinition::GetProperty ( ) const
inline

Definition at line 291 of file moParam.h.

moParamType moParamDefinition::GetType ( ) const
inline

Definition at line 277 of file moParam.h.

moText moParamDefinition::GetTypeStr ( ) const

Definition at line 386 of file moParam.cpp.

bool moParamDefinition::IsValid ( ) const

Definition at line 175 of file moParam.cpp.

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

Definition at line 370 of file moParam.cpp.

moParamType moParamDefinition::ParamTypeFromStr ( const moText p_type)
static

Definition at line 66 of file moParam.cpp.

int moParamDefinition::Set ( const moText p_XmlText)

or TIXML_ENCODING_UTF8

convert xmltext to structure

Definition at line 653 of file moParam.cpp.

void moParamDefinition::SetDefault ( const moValue p_defaultvalue)

TODO: removing subvalues if any

Definition at line 505 of file moParam.cpp.

void moParamDefinition::SetGroup ( const moText p_Group)
inline

Definition at line 303 of file moParam.h.

void moParamDefinition::SetIndex ( MOint  p_index)
inline

Definition at line 287 of file moParam.h.

void moParamDefinition::SetInterpolation ( moParamInterpolation p_Interpolation)
inline

Definition at line 325 of file moParam.h.

void moParamDefinition::SetName ( const moText p_Name)
inline

Definition at line 270 of file moParam.h.

void moParamDefinition::SetOptions ( const moTextArray &  p_options)

Definition at line 586 of file moParam.cpp.

void moParamDefinition::SetOptions ( const moText p_OptionsStr)

Definition at line 597 of file moParam.cpp.

void moParamDefinition::SetProperty ( const moText p_Property)
inline

Definition at line 295 of file moParam.h.

void moParamDefinition::SetType ( moParamType  p_paramType)

Definition at line 498 of file moParam.cpp.

const moText & moParamDefinition::ToJSON ( )

Definition at line 605 of file moParam.cpp.

const moText & moParamDefinition::ToXML ( )

Definition at line 635 of file moParam.cpp.


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