![]()  | 
  
    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. 
   | 
 
#include <moValue.h>
  
 Public Member Functions | |
| moValueBase () | |
| Contructor.  More... | |
| moValueBase (const moValueBase &src) | |
| virtual | ~moValueBase () | 
| moValueBase & | operator= (const moValueBase &src) | 
| void | SetValueDefinition (moValueDefinition &p_valuedefinition) | 
| Fija la definición del valor [ nombre de codigo, rango, tipo, índice ].  More... | |
| const moValueDefinition & | GetValueDefinition () const | 
| Devuelve una referencia a la definición del valor [ nombre de codigo, rango, tipo, índice ].  More... | |
| void | SetType (moValueType p_type) | 
| Fija el tipo de valor, esta función se implementa sólo como atajo a ciertos datos de la definición  More... | |
| moValueType | GetType () const | 
| Devuelve el tipo de valor ,esta función se implementa sólo como atajo a ciertos datos de la definición  More... | |
| void | SetIndex (MOint p_index) | 
| Fija el índice al que corresponde este valor dentro de la configuración  More... | |
| moText | GetTypeStr () const | 
| Devuelve el tipo en formato texto.  More... | |
| MOint | GetIndex () const | 
| Devuelve el índice de este valor.  More... | |
| moText | GetCodeName () const | 
| Devuelve un nombre de código en texto fijado por el usuario para este valor.  More... | |
| void | SetCodeName (moText p_codename) | 
| Fija el nombre del código para este valor.  More... | |
| 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) | 
| const moText & | ToJSON () | 
| const moText & | ToXML () | 
| int | Set (const moText &p_XmlText) | 
| bool | FixType (moValueType p_ValueType) | 
  Public Member Functions inherited from moData | |
| moData () | |
| moData (MOchar data) | |
| moData (MOint data) | |
| moData (MOlonglong data) | |
| moData (MOdouble data) | |
| moData (MOfloat data) | |
| moData (MOpointer data, MOulong size, moDataType type) | |
| moData (moText data) | |
| moData (moDataType datatype) | |
| virtual | ~moData () | 
| moData & | operator= (const moData &data) | 
| void | Copy (const moData &data) | 
| bool | IsValid () const | 
| void | SetFloat (MOfloat pfloat) | 
| void | SetDouble (MOdouble pdouble) | 
| void | SetInt (MOint pint) | 
| void | SetLong (MOlonglong plong) | 
| void | SetChar (MOchar pchar) | 
| void | SetPointer (MOpointer data, MOulong size) | 
| void | SetText (moText ptext) | 
| void | SetNumber (moNumber p_number) | 
| void | SetType (moDataType p_DataType) | 
| void | SetSize (MOulong p_DataSize) | 
| void | SetFun (const moText &p_functionExpression) | 
| moText | Text () | 
| MOint | Int () const | 
| MOlonglong | Long () const | 
| MOfloat | Float () const | 
| MOdouble | Double () const | 
| MOchar | Char () const | 
| moNumber | Number () | 
| MOpointer | Pointer () | 
| moDataType | Type () const | 
| MOulong | Size () const | 
| MOdouble | Eval () | 
| MOdouble | Eval (double x) | 
| MOdouble | LastEval () const | 
| moMathFunction * | Fun () | 
| referencias a clases  More... | |
| moFont * | Font () | 
| moTextureBuffer * | TextureBuffer () | 
| moSceneNode * | Model () | 
| moVector2d * | Vector2d () | 
| moVector2i * | Vector2i () | 
| moVector3d * | Vector3d () | 
| moVector3i * | Vector3i () | 
| moVector4d * | Vector4d () | 
| moVector4i * | Vector4i () | 
| moDataMessage * | Message () | 
| moDataMessages * | Messages () | 
| moSound * | Sound () | 
| moTexture * | Texture () | 
| moTexture * | TextureDestination () | 
| if MO_DATA_IMAGESAMPLE source = destination  More... | |
| moData * | GetData () | 
| moText | ToText () const | 
| moText | TypeToText () | 
| moDataType | TextToType (moText texttype) | 
| GLint | GetGLId (MOfloat p_cycle, MOfloat p_fade, const moTextFilterParam &p_filterparam) | 
| GLint | GetGLId (moTempo *p_tempo, MOfloat p_fade, const moTextFilterParam &p_filterparam) | 
| GLint | GetGLId (MOuint p_i, MOfloat p_fade, const moTextFilterParam &p_filterparam) | 
| GLint | GetGLId (MOfloat p_fade, const moTextFilterParam &p_filterparam) | 
| GLint | GetGLId (moMoldeoObject *p_mob, MOfloat p_fade, const moTextFilterParam &p_filterparam) | 
| GLint | GetGLId (moMoldeoObject *p_mob, moTempo *p_tempo, MOfloat p_fade, const moTextFilterParam &p_filterparam) | 
| GLint | GetGLId (MOfloat p_cycle) | 
| GLint | GetGLId (moTempo *p_tempo) | 
| GLint | GetGLId (MOuint p_i) | 
| GLint | GetGLId () | 
| GLint | GetGLId (moMoldeoObject *p_mob) | 
| GLint | GetGLId (moMoldeoObject *p_mob, moTempo *p_tempo) | 
| void | SetFun (moMathFunction *p_Function) | 
| Fija el dato a una textura.  More... | |
| void | SetTexture (moTexture *p_Texture) | 
| void | SetTextureBuffer (moTextureBuffer *p_TextureBuffer) | 
| void | SetVideoBuffer (moVideoBuffer *p_VideoBuffer) | 
| void | SetTextureFilter (moTextureFilter *p_TextureFilter) | 
| void | SetTextureFilterAlpha (moData *p_alpha) | 
| void | SetTextureFilterParam (const moTextFilterParam &p_filterparam) | 
| void | SetFont (moFont *p_Font) | 
| void | SetModel (moSceneNode *p_Model) | 
| void | SetSound (moSound *p_Sound) | 
| void | SetVector (moVector2d *p_vector2d) | 
| void | SetVector (moVector3d *p_vector3d) | 
| void | SetVector (moVector4d *p_vector4d) | 
| void | SetVector (moVector2i *p_vector2i) | 
| void | SetVector (moVector3i *p_vector3i) | 
| void | SetVector (moVector4i *p_vector4i) | 
| void | SetMessage (moDataMessage *p_datamessage) | 
| void | SetMessages (moDataMessages *p_datamessages) | 
Additional Inherited Members | |
  Static Public Member Functions inherited from moData | |
| static moText | TypeToText (moDataType p_data_type) | 
  Protected Attributes inherited from moData | |
| moDataType | m_DataType | 
| moNumber | m_Number | 
| moText | m_Text | 
| MOulong | m_DataSize | 
| bool | m_bFilteredAlpha | 
| bool | m_bFilteredParams | 
| MOfloat | m_AlphaFilter | 
| moTextFilterParam | m_pFilterParam | 
| moData * | m_pAlphaFilter | 
| MOdouble | m_LastEval | 
moValueBase clase base para la representación de un valor, derivado de moData es un dato asociado a una definición de dato
| moValueBase::moValueBase | ( | ) | 
Contructor.
Definition at line 1413 of file moValue.cpp.
| moValueBase::moValueBase | ( | const moValueBase & | src | ) | 
Definition at line 1416 of file moValue.cpp.
      
  | 
  virtual | 
Definition at line 1421 of file moValue.cpp.
| bool moValueBase::FixType | ( | moValueType | p_ValueType | ) | 
Definition at line 1461 of file moValue.cpp.
| moText moValueBase::GetAttribute | ( | ) | const | 
Definition at line 1447 of file moValue.cpp.
| moText moValueBase::GetCodeName | ( | ) | const | 
Devuelve un nombre de código en texto fijado por el usuario para este valor.
Definition at line 1513 of file moValue.cpp.
| MOint moValueBase::GetIndex | ( | ) | const | 
Devuelve el índice de este valor.
Definition at line 1508 of file moValue.cpp.
Definition at line 1442 of file moValue.cpp.
| moValueType moValueBase::GetType | ( | ) | const | 
Devuelve el tipo de valor ,esta función se implementa sólo como atajo a ciertos datos de la definición
Definition at line 1498 of file moValue.cpp.
| moText moValueBase::GetTypeStr | ( | ) | const | 
Devuelve el tipo en formato texto.
Definition at line 1503 of file moValue.cpp.
      
  | 
  inline | 
| moValueBase & moValueBase::operator= | ( | const moValueBase & | src | ) | 
Definition at line 1424 of file moValue.cpp.
| int moValueBase::Set | ( | const moText & | p_XmlText | ) | 
| void moValueBase::SetAttribute | ( | moText | p_attribute | ) | 
Definition at line 1452 of file moValue.cpp.
| void moValueBase::SetCodeName | ( | moText | p_codename | ) | 
Fija el nombre del código para este valor.
| p_codename | un texto | 
Definition at line 1518 of file moValue.cpp.
| void moValueBase::SetIndex | ( | MOint | p_index | ) | 
Fija el índice al que corresponde este valor dentro de la configuración
| p_index | el índice | 
Definition at line 1493 of file moValue.cpp.
Definition at line 1432 of file moValue.cpp.
Definition at line 1437 of file moValue.cpp.
| void moValueBase::SetType | ( | moValueType | p_type | ) | 
Fija el tipo de valor, esta función se implementa sólo como atajo a ciertos datos de la definición
| p_type | el tipo de valor: | 
Definition at line 1457 of file moValue.cpp.
      
  | 
  inline | 
| const moText & moValueBase::ToJSON | ( | ) | 
Definition at line 1523 of file moValue.cpp.
| const moText & moValueBase::ToXML | ( | ) | 
TODO: add range if (m_ValueDefinition.)
Definition at line 1533 of file moValue.cpp.