c4d_string.h File Reference

Classes

class  String
 

Namespaces

 maxon
 

Functions

maxon::String ToString (const String &val, const maxon::FormatStatement *formatStatement, maxon::Bool checkDatatype=false)
 
const maxon::StringMaxonConvert (const String &val)
 
String MaxonConvert (const maxon::String &val)
 
String MaxonConvert (maxon::String &&val)
 
static Bool operator== (const String &left, const Char *right)
 
static Bool operator== (const String &left, const String &right)
 
static Bool operator!= (const String &left, const String &right)
 
static Bool operator!= (const String &left, const Char *right)
 
static Bool operator< (const String &left, const String &right)
 

Function Documentation

◆ ToString()

maxon::String ToString ( const String val,
const maxon::FormatStatement formatStatement,
maxon::Bool  checkDatatype = false 
)

◆ MaxonConvert() [1/3]

const maxon::String& MaxonConvert ( const String val)

◆ MaxonConvert() [2/3]

String MaxonConvert ( const maxon::String val)

◆ MaxonConvert() [3/3]

String MaxonConvert ( maxon::String &&  val)

◆ operator==() [1/2]

static Bool operator== ( const String left,
const Char right 
)
static

Checks if the strings are equal. Deprecated. Use maxon::String::Compare(...).

Note
The comparison is done alphanumerically and case-sensitive.
Parameters
[in]leftThe left-hand operand string.
[in]rightThe right-hand operand string.
Returns
true if the strings are equal, otherwise false.

◆ operator==() [2/2]

static Bool operator== ( const String left,
const String right 
)
static

Checks if the strings are equal. Deprecated. Use maxon::String::Compare(...).

Note
The comparison is done alphanumerically and case-sensitive.
Parameters
[in]leftThe left-hand operand string.
[in]rightThe right-hand operand string.
Returns
true if the strings are equal, otherwise false.

◆ operator!=() [1/2]

static Bool operator!= ( const String left,
const String right 
)
static

Checks if two strings are different. Deprecated. Use maxon::String::Compare(...).

Note
The comparison is done alphanumerically and case-sensitive.
Parameters
[in]leftThe left-hand operand string.
[in]rightThe right-hand operand string.
Returns
true if the two strings are different, otherwise false.

◆ operator!=() [2/2]

static Bool operator!= ( const String left,
const Char right 
)
static

Checks if two strings are different. Deprecated. Use maxon::String::Compare(...).

Note
The comparison is done alphanumerically and case-sensitive.
Parameters
[in]leftThe left-hand operand string.
[in]rightThe right-hand operand string.
Returns
true if the two strings are different, otherwise false.

◆ operator<()

static Bool operator< ( const String left,
const String right 
)
static

Compares the strings to see if the the left-hand string is less than the right-hand string. Deprecated. Use maxon::String::Compare(...).

Note
The comparison is done alphanumerically and case-sensitive.
Parameters
[in]leftThe left-hand operand string.
[in]rightThe right-hand operand string.
Returns
The result of the comparison.