aiMetadata Struct Reference

Container for holding metadata. More...

List of all members.

Public Member Functions

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

Public Attributes

aiString * mKeys
 Arrays of keys, may not be NULL.
unsigned int mNumProperties
 Length of the mKeys and mValues arrays, respectively.
aiMetadataEntry * mValues
 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.

aiMetadata::~aiMetadata (  )  [inline]

Destructor.


Member Function Documentation

template<typename T >
bool aiMetadata::Get ( const std::string &  key,
T &  value 
) [inline]
template<typename T >
bool aiMetadata::Get ( const aiString &  key,
T &  value 
) [inline]
template<typename T >
bool aiMetadata::Get ( unsigned  index,
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:
Generated on Tue Jul 29 13:54:31 2014 for Assimp by  doxygen 1.6.3