ANNA Suite
2020b
Multipurpose development suite for Telco applications
|
#include <TextVariable.hpp>
Public Member Functions | |
TextVariable & | operator= (const int value) noexcept(false) |
TextVariable & | operator= (const char *value) noexcept(false) |
TextVariable & | operator= (const anna::String &value) noexcept(false) |
TextVariable & | operator= (const S64 value) noexcept(false) |
TextVariable & | operator= (const float value) noexcept(false) |
TextVariable & | operator= (const double value) noexcept(false) |
Public Member Functions inherited from anna::Variable | |
Variable (const char *name, std::string &value) | |
Variable (const char *name, int &value) | |
Variable (const char *name, S64 &value) | |
Variable (const char *name, bool &value) | |
Variable (const char *name, DataBlock &value) | |
Variable (const char *name, float &value) | |
Variable (const char *name, double &value) | |
Variable (const char *name, void *value) | |
Variable (const char *name, const Type::_v type) | |
virtual | ~Variable () |
Type::_v | getType () const |
const char * | getName () const |
bool | isNull () const |
const char * | getStringValue () const noexcept(false) |
int | getIntegerValue () const noexcept(false) |
S64 | getInteger64Value () const noexcept(false) |
bool | getBooleanValue () const noexcept(false) |
const DataBlock & | getDataBlockValue () const noexcept(false) |
float | getFloatValue () const noexcept(false) |
double | getDoubleValue () const noexcept(false) |
void * | getCustom () noexcept(false) |
const void * | getCustom () const noexcept(false) |
void | setCustom (void *value) noexcept(false) |
int | getInteger () const |
S64 | getInteger64 () const |
bool | getBoolean () const |
const DataBlock & | getDataBlock () const |
float | getFloat () const |
double | getDouble () const |
void | setValue (const char *value) noexcept(false) |
void | setCharPointer (const char *value) noexcept(false) |
void | setValue (const int value) noexcept(false) |
void | setValue (const S64 value) noexcept(false) |
void | setValue (const bool value) noexcept(false) |
void | setValue (const DataBlock &value) noexcept(false) |
void | setValue (const float value) noexcept(false) |
void | setValue (const double value) noexcept(false) |
void | setNull (const bool isNull=true) |
void | setInteger (const int value) |
void | setLong (const S64 value) |
void | setBoolean (const bool value) |
void | setDataBlock (const DataBlock &value) |
void | setFloat (const float value) |
void | setDouble (const double value) |
bool | isEqual (const Variable &right) const |
virtual String | asString () const |
Protected Member Functions | |
TextVariable (const char *name, const Type::_v type, const anna::String &expression) | |
Protected Member Functions inherited from anna::Variable | |
void * | getReference () const |
void * | buffer () const |
bool * | getNullIndicator () |
Friends | |
class | TextComposer |
Variable que contiene los valores sobre los que trabaja el util::TextComposer.
|
protected |
Constructor.
name | Nombre de la variable. |
type | Tipo de dato de la variable. |
expression | Expresión asociada a esta variable. |
|
inlinenoexcept |
Asignación a entero.
value | Valor a asignar a esta variable. |
|
inlinenoexcept |
Asignación a cadena.
value | Valor a asignar a esta variable. |
|
inlinenoexcept |
Asignación a cadena.
value | Valor a asignar a esta variable. |
|
inlinenoexcept |
Asignación a entero de 64 bits.
value | Valor a asignar a esta variable. |
|
inlinenoexcept |
Asignación a flotante.
value | Valor a asignar a esta variable. |
|
inlinenoexcept |
Asignación a flotante.
value | Valor a asignar a esta variable. |
|
friend |