API Guides > ConceptRT 3.x

Detailed Description

Classes

class  FromString
 From string. To cast any string to most common types. More...
 
class  Variant
 Variant. More...
 

Functions

void Convert (bool &value, PCChar8 text)
 Converts a text to a bool. More...
 
void Convert (Char8 &value, PCChar8 text)
 Converts a text to a Char8. More...
 
void Convert (UInt8 &value, PCChar8 text)
 Converts a text to an UInt8. More...
 
void Convert (Int16 &value, PCChar8 text)
 Converts a text to an Int16. More...
 
void Convert (UInt16 &value, PCChar8 text)
 Converts a text to an UInt16. More...
 
void Convert (int &value, PCChar8 text)
 Converts a text to an int. More...
 
void Convert (unsigned int &value, PCChar8 text)
 Converts a text to an unsigned int. More...
 
void Convert (Int32 &value, PCChar8 text)
 Converts a text to an Int32. More...
 
void Convert (UInt32 &value, PCChar8 text)
 Converts a text to an UInt32. More...
 
void Convert (Int64 &value, PCChar8 text)
 Converts a text to an Int64. More...
 
void Convert (UInt64 &value, PCChar8 text)
 Converts a text to an UInt64. More...
 
void Convert (BaseStaticString &value, PCChar8 text)
 Converts a text to a BaseStaticString. More...
 
void Convert (Float32 &value, PCChar8 text)
 Converts a text to a Float32. More...
 
void Convert (Float64 &value, PCChar8 text)
 Converts a text to a Float64. More...
 
void Convert (IStringConvertible &value, PCChar8 text)
 Converts a text to an IStringConvertible. More...
 
String ToString (PCChar8 value)
 Convert this object into a string representation. More...
 
String ToString (Int64 value)
 Convert this object into a string representation. More...
 
String ToString (UInt64 value)
 Convert this object into a string representation. More...
 
String ToString (Int32 value)
 Convert this object into a string representation. More...
 
String ToString (UInt32 value)
 Convert this object into a string representation. More...
 
String ToString (bool value)
 Convert this object into a string representation. More...
 
String ToString (int value)
 Convert this object into a string representation. More...
 
String ToString (Int16 value)
 Convert this object into a string representation. More...
 
String ToString (UInt16 value)
 Convert this object into a string representation. More...
 
String ToString (Float64 value, Int32 decimals=-1)
 Convert this object into a string representation. More...
 
String ToString (const IStringConvertible &value)
 Convert this object into a string representation. More...
 
const BaseStaticString & ToString (const BaseStaticString &value)
 Convert this object into a string representation. More...
 
String HexString (Int32 value)
 Convert a integer value into a hexadecimal representation. More...
 
StaticString< 1 > Chr (Int32 ascii)
 Convert an ASCII value to a character. Not usable with 0, would return an empty string. More...
 

Function Documentation

StaticString< 1 > Chr ( Int32  ascii)

Convert an ASCII value to a character. Not usable with 0, would return an empty string.

Parameters
asciiThe ascii value.
Returns
The character
void Convert ( bool &  value,
PCChar8  text 
)

Converts a text to a bool.

Parameters
value[in,out] The value.
textThe text.
void Convert ( Char8 value,
PCChar8  text 
)

Converts a text to a Char8.

Parameters
value[in,out] The value.
textThe text.
void Convert ( UInt8 value,
PCChar8  text 
)

Converts a text to an UInt8.

Parameters
value[in,out] The value.
textThe text.
void Convert ( Int16 value,
PCChar8  text 
)

Converts a text to an Int16.

Parameters
value[in,out] The value.
textThe text.
void Convert ( UInt16 value,
PCChar8  text 
)

Converts a text to an UInt16.

Parameters
value[in,out] The value.
textThe text.
void Convert ( int &  value,
PCChar8  text 
)

Converts a text to an int.

Parameters
value[in,out] The value.
textThe text.
void Convert ( unsigned int &  value,
PCChar8  text 
)

Converts a text to an unsigned int.

Parameters
value[in,out] The value.
textThe text.
void Convert ( Int32 value,
PCChar8  text 
)

Converts a text to an Int32.

Parameters
value[in,out] The value.
textThe text.
void Convert ( UInt32 value,
PCChar8  text 
)

Converts a text to an UInt32.

Parameters
value[in,out] The value.
textThe text.
void Convert ( Int64 value,
PCChar8  text 
)

Converts a text to an Int64.

Parameters
value[in,out] The value.
textThe text.
void Convert ( UInt64 value,
PCChar8  text 
)

Converts a text to an UInt64.

Parameters
value[in,out] The value.
textThe text.
void Convert ( BaseStaticString value,
PCChar8  text 
)

Converts a text to a BaseStaticString.

Parameters
value[in,out] The value.
textThe text.
void Convert ( Float32 value,
PCChar8  text 
)

Converts a text to a Float32.

Parameters
value[in,out] The value.
textThe text.
void Convert ( Float64 value,
PCChar8  text 
)

Converts a text to a Float64.

Parameters
value[in,out] The value.
textThe text.
void Convert ( IStringConvertible value,
PCChar8  text 
)

Converts a text to an IStringConvertible.

Parameters
value[in,out] The value.
textThe text.
String HexString ( Int32  value)

Convert a integer value into a hexadecimal representation.

Parameters
valueThe value.
Returns
the hexadecimal representation
Note
return a String which is limited to STRING_MAX_LENGTH.
String ToString ( PCChar8  value)

Convert this object into a string representation.

Parameters
valueThe value.
Returns
A string representation of this object.
Note
return a String which is limited to STRING_MAX_LENGTH.
Examples:
DynamicInvocation/1.Client/main.cpp, and Machine/main.cpp.
String ToString ( Int64  value)

Convert this object into a string representation.

Parameters
valueThe value.
Returns
A string representation of this object.
Note
return a String which is limited to STRING_MAX_LENGTH.
String ToString ( UInt64  value)

Convert this object into a string representation.

Parameters
valueThe value.
Returns
A string representation of this object.
Note
return a String which is limited to STRING_MAX_LENGTH.
String ToString ( Int32  value)

Convert this object into a string representation.

Parameters
valueThe value.
Returns
A string representation of this object.
Note
return a String which is limited to STRING_MAX_LENGTH.
String ToString ( UInt32  value)

Convert this object into a string representation.

Parameters
valueThe value.
Returns
A string representation of this object.
Note
return a String which is limited to STRING_MAX_LENGTH.
String ToString ( bool  value)

Convert this object into a string representation.

Parameters
valuetrue to value.
Returns
A string representation of this object.
Note
return a String which is limited to STRING_MAX_LENGTH.
String ToString ( int  value)

Convert this object into a string representation.

Parameters
valueThe value.
Returns
A string representation of this object.
Note
return a String which is limited to STRING_MAX_LENGTH.
String ToString ( Int16  value)

Convert this object into a string representation.

Parameters
valueThe value.
Returns
A string representation of this object.
Note
return a String which is limited to STRING_MAX_LENGTH.
String ToString ( UInt16  value)

Convert this object into a string representation.

Parameters
valueThe value.
Returns
A string representation of this object.
Note
return a String which is limited to STRING_MAX_LENGTH.
String ToString ( Float64  value,
Int32  decimals = -1 
)

Convert this object into a string representation.

Parameters
valueThe value.
decimals(optional) the decimals.
Returns
A string representation of this object.
Note
return a String which is limited to STRING_MAX_LENGTH.
String ToString ( const IStringConvertible value)

Convert this object into a string representation.

Parameters
valueThe value.
Returns
A string representation of this object.
Note
return a String which is limited to STRING_MAX_LENGTH.
const ConceptRT::BaseStaticString & ToString ( const BaseStaticString value)

Convert this object into a string representation.

Parameters
valueThe value.
Returns
A string representation of this object.