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

Classes

class  OpenDDLParser
 This is the main API for the OpenDDL-parser. More...
 

Enumerations

enum  LogSeverity { ddl_debug_msg = 0, ddl_info_msg, ddl_warn_msg, ddl_error_msg }
 Defines the log severity. More...
 

Functions

template<class T >
T * getNextToken (T *in, T *end)
 Utility function to go for the next token or the end of the buffer. More...
 
DLL_ODDLPARSER_EXPORT const char * getTypeToken (Value::ValueType type)
 
template<class T >
bool isEmbeddedCommentOpenTag (T *in, T *end)
 
template<class T >
T * lookForNextToken (T *in, T *end)
 Utility function to search for the next token or the end of the buffer. More...
 

Enumeration Type Documentation

◆ LogSeverity

Defines the log severity.

Enumerator
ddl_debug_msg 

Debug message, for debugging.

ddl_info_msg 

Info messages, normal mode.

ddl_warn_msg 

Parser warnings.

ddl_error_msg 

Parser errors.

Function Documentation

◆ getNextToken()

template<class T >
T* getNextToken ( T *  in,
T *  end 
)
inline

Utility function to go for the next token or the end of the buffer.

Parameters
in[in] The start position in the buffer.
end[in] The end position in the buffer.
Returns
Pointer showing to the next token or the end of the buffer. Will increase buffer by a minimum of one.

◆ getTypeToken()

DLL_ODDLPARSER_EXPORT const char* getTypeToken ( Value::ValueType  type)

◆ isEmbeddedCommentOpenTag()

template<class T >
bool isEmbeddedCommentOpenTag ( T *  in,
T *  end 
)
inline

◆ lookForNextToken()

template<class T >
T* lookForNextToken ( T *  in,
T *  end 
)
inline

Utility function to search for the next token or the end of the buffer.

Parameters
in[in] The start position in the buffer.
end[in] The end position in the buffer.
Returns
Pointer showing to the next token or the end of the buffer. Will not increase buffer when already a valid buffer was found.