![]() | |
![]() | ![]() |
Entire Class Index | Main Class Index | Cross Index | Global Index |
Clan String Class
Contained in: global
Derived from:
none
Derived by:
none
Group: Core (System)
#include <ClanLib/core.h>
public function member index: |
||
Construction: |
||
CL_String | (const std::string& res_id, CL_ResourceManager* resources); | |
CL_String | (const std::string& res_id, CL_ResourceManager* resources, const std::string& def_value); | |
CL_String | (); | |
CL_String | (const std::string& _str); | |
CL_String | (const int value); | |
CL_String | (const float float_value); | |
CL_String | (const char* text); | |
CL_String | (const CL_String& clone); | |
CL_String | (const CL_String& text1, const CL_String& text2); | |
CL_String | (const char* text1, const char* text2); | |
CL_String | (const char* text, int length); | |
Operators: |
||
CL_String | operator + | (const CL_String& other_string); |
CL_String | operator + | (const char* other_text); |
CL_String | operator + | (const int number); |
CL_String | operator + | (const float number); |
CL_String& | operator += | (const CL_String& other_string); |
CL_String& | operator += | (const char* other_text); |
CL_String& | operator += | (const int number); |
CL_String& | operator += | (const float number); |
CL_String& | operator += | (double float_number); |
CL_String& | operator = | (const CL_String& other_string); |
CL_String& | operator = | (const char* other_text); |
CL_String& | operator = | (const int number); |
CL_String& | operator = | (const float float_number); |
CL_String& | operator = | (double float_number); |
bool | operator == | (const CL_String& other_string); |
bool | operator == | (const char* other_string); |
bool | operator != | (const CL_String& other_string); |
bool | operator != | (const char* other_text); |
operator const char* | (); | |
operator std::string | (); | |
CL_String& | operator << | (const CL_String& other_string); |
CL_String& | operator << | (const char* other_string); |
CL_String& | operator << | (const unsigned char* other_string); |
CL_String& | operator << | (const unsigned short number); |
CL_String& | operator << | (const short number); |
CL_String& | operator << | (const unsigned int number); |
CL_String& | operator << | (const int number); |
CL_String& | operator << | (const float float_number); |
CL_String& | operator << | (double float_number); |
Attributes: |
||
char* | get_string | (); |
int | get_length | (); |
int | get_as_int | (); |
float | get_as_float | (); |
CL_String | get_word | (int word_no); |
CL_String | mid | (int start, int len=-1); |
CL_String | left | (int len); |
CL_String | right | (int len); |
int | find | (int character, int start_pos=0); |
int | find_last | (char character) const; |
bool | case_compare | (const char* other); |
Operations: |
||
void | to_lower | (); |
void | to_upper | (); |
private function member index: |
||
std::string | int_to_string | (const char* prefix, const int number); |
std::string | float_to_string | (const char* prefix, const float _float_number); |
std::string | append_string | (const char* prefix, const char* postfix); |