SAGA API
v9.6
|
#include <api_core.h>
Public Member Functions | |
CSG_String_Tokenizer (void) | |
CSG_String_Tokenizer (const CSG_String &String, const CSG_String &Delimiters=SG_DEFAULT_DELIMITERS, TSG_String_Tokenizer_Mode Mode=SG_TOKEN_DEFAULT) | |
~CSG_String_Tokenizer (void) | |
size_t | Get_Tokens_Count (void) const |
SG_Char | Get_Last_Delimiter (void) const |
CSG_String | Get_Next_Token (void) |
size_t | Get_Position (void) const |
CSG_String | Get_String (void) const |
bool | Has_More_Tokens (void) const |
void | Set_String (const CSG_String &String, const CSG_String &Delimiters=SG_DEFAULT_DELIMITERS, TSG_String_Tokenizer_Mode Mode=SG_TOKEN_DEFAULT) |
Definition at line 759 of file api_core.h.
CSG_String_Tokenizer::CSG_String_Tokenizer | ( | void | ) |
Definition at line 1457 of file api_string.cpp.
CSG_String_Tokenizer::CSG_String_Tokenizer | ( | const CSG_String & | String, |
const CSG_String & | Delimiters = SG_DEFAULT_DELIMITERS , |
||
TSG_String_Tokenizer_Mode | Mode = SG_TOKEN_DEFAULT |
||
) |
Definition at line 1463 of file api_string.cpp.
References Set_String().
CSG_String_Tokenizer::~CSG_String_Tokenizer | ( | void | ) |
Definition at line 1471 of file api_string.cpp.
SG_Char CSG_String_Tokenizer::Get_Last_Delimiter | ( | void | ) | const |
Definition at line 1483 of file api_string.cpp.
CSG_String CSG_String_Tokenizer::Get_Next_Token | ( | void | ) |
Definition at line 1489 of file api_string.cpp.
Referenced by CSG_Parameter_Choices::_Set_Value(), CSG_Vector::from_String(), CSG_Matrix::from_String(), CSG_Parameter_Choices::Set_Items(), SG_Date_To_JulianDayNumber(), and SG_String_Tokenize().
size_t CSG_String_Tokenizer::Get_Position | ( | void | ) | const |
Definition at line 1497 of file api_string.cpp.
CSG_String CSG_String_Tokenizer::Get_String | ( | void | ) | const |
Definition at line 1503 of file api_string.cpp.
size_t CSG_String_Tokenizer::Get_Tokens_Count | ( | void | ) | const |
Definition at line 1477 of file api_string.cpp.
Referenced by SG_Date_To_JulianDayNumber().
bool CSG_String_Tokenizer::Has_More_Tokens | ( | void | ) | const |
Definition at line 1511 of file api_string.cpp.
Referenced by CSG_Parameter_Choices::_Set_Value(), CSG_Vector::from_String(), CSG_Matrix::from_String(), CSG_Parameter_Choices::Set_Items(), and SG_String_Tokenize().
void CSG_String_Tokenizer::Set_String | ( | const CSG_String & | String, |
const CSG_String & | Delimiters = SG_DEFAULT_DELIMITERS , |
||
TSG_String_Tokenizer_Mode | Mode = SG_TOKEN_DEFAULT |
||
) |
Definition at line 1517 of file api_string.cpp.
References CSG_String::c_str(), SG_TOKEN_INVALID, SG_TOKEN_RET_DELIMS, SG_TOKEN_RET_EMPTY, SG_TOKEN_RET_EMPTY_ALL, and SG_TOKEN_STRTOK.
Referenced by CSG_String_Tokenizer().