Assimp  v4.1. (December 2018)
StringUtils.h File Reference

Macros

#define ai_snprintf   snprintf
 The portable version of the function snprintf ( C99 standard ), which works on visual studio compilers 2013 and earlier. More...
 

Functions

AI_FORCE_INLINE float ai_strtof (const char *begin, const char *end)
 
template<class T >
AI_FORCE_INLINE std::string DecimalToHexa (T toConvert)
 
template<typename T >
AI_FORCE_INLINE std::string to_string (T value)
 

Macro Definition Documentation

◆ ai_snprintf

ai_snprintf   snprintf

The portable version of the function snprintf ( C99 standard ), which works on visual studio compilers 2013 and earlier.

Parameters
outBufThe buffer to write in
sizeThe buffer size
formatThe format string
apThe additional arguments.
Returns
The number of written characters if the buffer size was big enough. If an encoding error occurs, a negative number is returned.

Function Documentation

◆ ai_strtof()

AI_FORCE_INLINE float ai_strtof ( const char *  begin,
const char *  end 
)

◆ DecimalToHexa()

template<class T >
AI_FORCE_INLINE std::string DecimalToHexa ( toConvert)

◆ to_string()

template<typename T >
AI_FORCE_INLINE std::string to_string ( value)