Assimp v5.2.2 (January 2022)
The Asset-Importer-Lib API documentation.
GenericProperty.h File Reference

Macros

#define AI_GENERIC_PROPERTY_H_INCLUDED
 

Functions

template<class T >
const T & GetGenericProperty (const std::map< unsigned int, T > &list, const char *szName, const T &errorReturn)
 
template<class T >
bool HasGenericProperty (const std::map< unsigned int, T > &list, const char *szName)
 
template<class T >
bool SetGenericProperty (std::map< unsigned int, T > &list, const char *szName, const T &value)
 
template<class T >
void SetGenericPropertyPtr (std::map< unsigned int, T * > &list, const char *szName, T *value, bool *bWasExisting=nullptr)
 

Macro Definition Documentation

◆ AI_GENERIC_PROPERTY_H_INCLUDED

#define AI_GENERIC_PROPERTY_H_INCLUDED

Function Documentation

◆ GetGenericProperty()

template<class T >
const T & GetGenericProperty ( const std::map< unsigned int, T > &  list,
const char *  szName,
const T &  errorReturn 
)
inline

◆ HasGenericProperty()

template<class T >
bool HasGenericProperty ( const std::map< unsigned int, T > &  list,
const char *  szName 
)
inline

◆ SetGenericProperty()

template<class T >
bool SetGenericProperty ( std::map< unsigned int, T > &  list,
const char *  szName,
const T &  value 
)
inline

◆ SetGenericPropertyPtr()

template<class T >
void SetGenericPropertyPtr ( std::map< unsigned int, T * > &  list,
const char *  szName,
T *  value,
bool *  bWasExisting = nullptr 
)
inline