|
@@ -86,6 +86,10 @@ struct aiMetaDataEntry
|
|
|
|
|
|
#ifdef __cplusplus
|
|
#ifdef __cplusplus
|
|
|
|
|
|
|
|
+#include <string>
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
// -------------------------------------------------------------------------------
|
|
// -------------------------------------------------------------------------------
|
|
/**
|
|
/**
|
|
* Helper functions to get the aiType enum entry for a type
|
|
* Helper functions to get the aiType enum entry for a type
|
|
@@ -218,6 +222,10 @@ struct aiMetadata
|
|
return false;
|
|
return false;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ template<typename T>
|
|
|
|
+ inline bool Get( const std::string& key, T& value )
|
|
|
|
+ { return Get(aiString(key), value); }
|
|
|
|
+
|
|
#endif // __cplusplus
|
|
#endif // __cplusplus
|
|
};
|
|
};
|
|
|
|
|