Assimp  v3.1.1 (June 2014)
aiMetadata Struct Reference

Container for holding metadata. More...

List of all members.

Public Member Functions

 aiMetadata ()
 Constructor.
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.

Public Attributes

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

Detailed Description

Container for holding metadata.

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


Constructor & Destructor Documentation

aiMetadata::aiMetadata ( ) [inline]

Constructor.

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

Arrays of keys, may not be NULL.

Entries in this array may not be NULL as well.

Length of the mKeys and mValues arrays, respectively.

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: