public |
Inheritance Graph
graph BT
String
String --> Object
click String "classEScript_1_1String"
click Object "classEScript_1_1Object"
Description
[ String ] | > [ Object ] |
Public Static Functions
Type * | getTypeObject() |
void | init( EScript::Namespace & globals) |
String * | create(const std::string & s) |
String * | create(const StringData & sData) |
void | release( String * b) |
Public Functions
~String() | ||
StringData & | operator*() | |
const std::string & | operator*() const | |
void | appendString(const std::string & _s) | |
bool | empty() const | |
size_t | length() const | |
size_t | getDataSize() const | |
const StringData & | _getStringData() const | |
StringData & | _getStringData() | |
const std::string & | getString() const | |
void | setString(const std::string & _s) | |
void | setString(const StringData & _sData) | |
Object * | clone() const |
> [ Object ] |
std::string | toString() const o |
|
double | toDouble() const o |
|
int | toInt() const o |
|
bool | rt_isEqual( Runtime & rt, const ObjPtr & other) | |
std::string | toDbgString() const o |
|
internalTypeId_t | _getInternalTypeId() const |
Documentation
function
EScript::String::getTypeObject
public | static |
Type * getTypeObject( | ) |
Defined in EScript/EScript/Objects/Values/String.h:28
function
EScript::String::init
public | static |
void init( | EScript::Namespace & | globals ) |
Defined in EScript/EScript/Objects/Values/String.h:29
function
EScript::String::create
public | static | inline |
String * create( | const std::string & | s ) |
Defined in EScript/EScript/Objects/Values/String.h:31
function
EScript::String::create
public | static |
String * create( | const StringData & | sData ) |
Defined in EScript/EScript/Objects/Values/String.h:32
function
EScript::String::release
public | static |
void release( | String * | b ) |
Defined in EScript/EScript/Objects/Values/String.h:33
function
EScript::String::~String
public | inline | virtual |
~String( | ) |
Defined in EScript/EScript/Objects/Values/String.h:36
function
EScript::String::operator*
public | inline |
StringData & operator*( | ) |
Defined in EScript/EScript/Objects/Values/String.h:38
function
EScript::String::operator*
public | const | inline |
const std::string & operator*( | ) const |
Defined in EScript/EScript/Objects/Values/String.h:39
function
EScript::String::appendString
public | inline |
void appendString( | const std::string & | _s ) |
Defined in EScript/EScript/Objects/Values/String.h:41
function
EScript::String::empty
public | const | inline |
bool empty( | ) const |
Defined in EScript/EScript/Objects/Values/String.h:42
function
EScript::String::length
public | const | inline |
size_t length( | ) const |
Defined in EScript/EScript/Objects/Values/String.h:43
function
EScript::String::getDataSize
public | const | inline |
size_t getDataSize( | ) const |
Defined in EScript/EScript/Objects/Values/String.h:44
function
EScript::String::_getStringData
public | const | inline |
const StringData & _getStringData( | ) const |
Defined in EScript/EScript/Objects/Values/String.h:46
function
EScript::String::_getStringData
public | inline |
StringData & _getStringData( | ) |
Defined in EScript/EScript/Objects/Values/String.h:47
function
EScript::String::getString
public | const | inline |
const std::string & getString( | ) const |
Defined in EScript/EScript/Objects/Values/String.h:48
function
EScript::String::setString
public | inline |
void setString( | const std::string & | _s ) |
Defined in EScript/EScript/Objects/Values/String.h:49
function
EScript::String::setString
public | inline |
void setString( | const StringData & | _sData ) |
Defined in EScript/EScript/Objects/Values/String.h:50
function
EScript::String::clone
public | const | inline | virtual |
Object * clone( | ) const |
> [ Object ] |
Defined in EScript/EScript/Objects/Values/String.h:53
function
EScript::String::toString
public | const | inline | virtual |
std::string toString( | ) const |
o
Defined in EScript/EScript/Objects/Values/String.h:54
function
EScript::String::toDouble
public | const | virtual |
double toDouble( | ) const |
o
Defined in EScript/EScript/Objects/Values/String.h:55
function
EScript::String::toInt
public | const | virtual |
int toInt( | ) const |
o
Defined in EScript/EScript/Objects/Values/String.h:56
function
EScript::String::rt_isEqual
public | virtual |
bool rt_isEqual( | Runtime & | rt, |
const ObjPtr & | other | |
) |
o
Note: For camparing objects, never use this function directly but use isEqual(…) instead. Otherwise scripted ‘==’-member functions are not supported.
Defined in EScript/EScript/Objects/Values/String.h:57
function
EScript::String::toDbgString
public | const | virtual |
std::string toDbgString( | ) const |
o
Defined in EScript/EScript/Objects/Values/String.h:58
function
EScript::String::_getInternalTypeId
public | const | inline | virtual |
internalTypeId_t _getInternalTypeId( | ) const |
o For internal use only.
Defined in EScript/EScript/Objects/Values/String.h:59