#include <vCore.h>
Public Member Functions | |
String (tString value) | |
Constructor. | |
String (char const *value) | |
Constructor. | |
String (Base const &other) | |
Copy constructor. | |
Base * | copy (void) const |
virtual | ~String () |
virtual Variant | GetValue (void) const |
Returns the value in its native format. | |
virtual tString | GetString (Base const *other=0) const |
bool | operator== (Base const &other) const |
compares two values | |
bool | operator!= (Base const &other) const |
compares two values | |
bool | operator>= (Base const &other) const |
compares two values | |
bool | operator<= (Base const &other) const |
compares two values | |
bool | operator> (Base const &other) const |
compares two values | |
bool | operator< (Base const &other) const |
compares two values | |
Private Attributes | |
tString | m_value |
The stored value. |
Definition at line 259 of file vCore.h.
vValue::Expr::Core::String::String | ( | tString | value | ) |
vValue::Expr::Core::String::String | ( | char const * | value | ) |
vValue::Expr::Core::String::String | ( | Base const & | other | ) |
virtual vValue::Expr::Core::String::~String | ( | ) | [inline, virtual] |
Base * vValue::Expr::Core::String::copy | ( | void | ) | const [virtual] |
Overwritten copy function
Reimplemented from vValue::Expr::Core::Base.
Definition at line 203 of file vCore.cpp.
References String().
00203 { 00204 return new String(*this); 00205 }
Variant vValue::Expr::Core::String::GetValue | ( | void | ) | const [virtual] |
Returns the value in its native format.
Reimplemented from vValue::Expr::Core::Base.
Definition at line 207 of file vCore.cpp.
References GetString().
00207 { 00208 return GetString(); 00209 }
Returns the string stored inside the object
Reimplemented from vValue::Expr::Core::Base.
Definition at line 213 of file vCore.cpp.
References m_value, and vValue::Expr::Core::Base::Output().
Referenced by GetValue().
bool vValue::Expr::Core::String::operator== | ( | Base const & | other | ) | const [virtual] |
bool vValue::Expr::Core::String::operator!= | ( | Base const & | other | ) | const [virtual] |
bool vValue::Expr::Core::String::operator>= | ( | Base const & | other | ) | const [virtual] |
bool vValue::Expr::Core::String::operator<= | ( | Base const & | other | ) | const [virtual] |
compares two values
Reimplemented from vValue::Expr::Core::Base.
Definition at line 220 of file vCore.cpp.
bool vValue::Expr::Core::String::operator> | ( | Base const & | other | ) | const [virtual] |
bool vValue::Expr::Core::String::operator< | ( | Base const & | other | ) | const [virtual] |
compares two values
Reimplemented from vValue::Expr::Core::Base.
Definition at line 222 of file vCore.cpp.
tString vValue::Expr::Core::String::m_value [private] |
The stored value.
Definition at line 260 of file vCore.h.
Referenced by GetString(), operator!=(), operator==(), operator>(), and operator>=().