Assimp  v3.1.1 (June 2014)
ObjTools.h File Reference

Some helpful templates for text parsing. More...

Namespaces

 Assimp
 MACHINE-GENERATED by scripts/ICFImporter/CppGenerator.py.
 

Functions

template<class char_t >
char_t Assimp::CopyNextWord (char_t it, char_t end, char *pBuffer, size_t length)
 Get next word from given line. More...
 
template<class char_t >
char_t Assimp::getFloat (char_t it, char_t end, ai_real &value)
 Get next float from given line. More...
 
template<class char_t >
char_t Assimp::getName (char_t it, char_t end, std::string &name)
 Get a name from the current line. More...
 
template<class char_t >
char_t Assimp::getNameNoSpace (char_t it, char_t end, std::string &name)
 Get a name from the current line. More...
 
template<class Char_T >
Char_T Assimp::getNextToken (Char_T pBuffer, Char_T pEnd)
 Returns pointer a next token. More...
 
template<class Char_T >
Char_T Assimp::getNextWord (Char_T pBuffer, Char_T pEnd)
 Returns next word separated by a space. More...
 
template<class T >
bool Assimp::hasLineEnd (T it, T end)
 
template<class char_t >
bool Assimp::isEndOfBuffer (char_t it, char_t end)
 Returns true, if the last entry of the buffer is reached. More...
 
template<class char_t >
char_t Assimp::skipLine (char_t it, char_t end, unsigned int &uiLine)
 Skips a line. More...
 
template<class string_type >
unsigned int Assimp::tokenize (const string_type &str, std::vector< string_type > &tokens, const string_type &delimiters)
 Will perform a simple tokenize. More...
 
template<class string_type >
string_type Assimp::trim_whitespaces (string_type str)
 

Detailed Description

Some helpful templates for text parsing.