Assimp
v4.1. (December 2018)
|
Usage: More...
Public Types | |
typedef size_t | line_idx |
Public Member Functions | |
line_idx | get_index () const |
StreamReaderLE & | get_stream () |
access the underlying stream object More... | |
template<size_t N> | |
void | get_tokens (const char *(&tokens)[N]) const |
extract the start positions of N tokens from the current line More... | |
LineSplitter (StreamReaderLE &stream, bool skip_empty_lines=true, bool trim=true) | |
construct from existing stream reader note: trim is always assumed true if skyp_empty_lines==true More... | |
LineSplitter (const LineSplitter &)=delete | |
LineSplitter (LineSplitter &&)=delete | |
bool | match_start (const char *check) |
!strcmp((*this)->substr(0,strlen(check)),check) More... | |
operator bool () const | |
boolean context More... | |
operator line_idx () const | |
line indices are zero-based, empty lines are included More... | |
std::string | operator* () const |
LineSplitter & | operator++ () |
pseudo-iterator increment More... | |
LineSplitter & | operator++ (int) |
const std::string * | operator-> () const |
member access More... | |
LineSplitter & | operator= (const LineSplitter &)=delete |
const char * | operator[] (size_t idx) const |
get a pointer to the beginning of a particular token More... | |
void | swallow_next_increment () |
swallow the next call to ++, return the previous value. More... | |
~LineSplitter () | |
Usage:
typedef size_t Assimp::LineSplitter::line_idx |
|
inline |
construct from existing stream reader note: trim is always assumed true if skyp_empty_lines==true
|
inline |
|
delete |
|
delete |
|
inline |
|
inline |
access the underlying stream object
|
inline |
extract the start positions of N tokens from the current line
|
inline |
!strcmp((*this)->substr(0,strlen(check)),check)
|
inline |
boolean context
|
inline |
line indices are zero-based, empty lines are included
|
inline |
|
inline |
pseudo-iterator increment
|
inline |
|
inline |
member access
|
delete |
|
inline |
get a pointer to the beginning of a particular token
|
inline |
swallow the next call to ++, return the previous value.