Assimp: aiMetadata Struct Reference

assimp - Open Asset Import Library

Container for holding metadata. More...

Public Member Functions

 aiMetadata ()
 Constructor. More...
 
template<typename T >
bool Get (unsigned index, T &value)
 
template<typename T >
bool Get (const aiString &key, T &value)
 
template<typename T >
bool Get (const std::string &key, T &value)
 
template<typename T >
void Set (unsigned index, const std::string &key, const T &value)
 
 ~aiMetadata ()
 Destructor. More...
 

Public Attributes

C_STRUCT aiStringmKeys
 Arrays of keys, may not be NULL. More...
 
unsigned int mNumProperties
 Length of the mKeys and mValues arrays, respectively. More...
 
C_STRUCT aiMetadataEntrymValues
 Arrays of values, may not be NULL. More...
 

Detailed Description

Container for holding metadata.

Metadata is a key-value store using string keys and values.

Constructor & Destructor Documentation

aiMetadata::aiMetadata ( )
inline

Constructor.

aiMetadata::~aiMetadata ( )
inline

Destructor.

Member Function Documentation

template<typename T >
bool aiMetadata::Get ( unsigned  index,
T &  value 
)
inline
template<typename T >
bool aiMetadata::Get ( const aiString key,
T &  value 
)
inline
template<typename T >
bool aiMetadata::Get ( const std::string &  key,
T &  value 
)
inline
template<typename T >
void aiMetadata::Set ( unsigned  index,
const std::string &  key,
const T &  value 
)
inline

Member Data Documentation

C_STRUCT aiString* aiMetadata::mKeys

Arrays of keys, may not be NULL.

Entries in this array may not be NULL as well.

unsigned int aiMetadata::mNumProperties

Length of the mKeys and mValues arrays, respectively.

C_STRUCT aiMetadataEntry* aiMetadata::mValues

Arrays of values, may not be NULL.

Entries in this array may be NULL if the corresponding property key has no assigned value.

The documentation for this struct was generated from the following file:
Generated on Sun Feb 21 2016 19:42:29 for Assimp by   doxygen 1.8.11