6 #ifndef MATERIALX_LIBRARY_H
7 #define MATERIALX_LIBRARY_H
19 #include <unordered_map>
25 #if defined(MATERIALX_BUILD_SHARED_LIBS)
27 #pragma warning(disable : 4251)
28 #pragma warning(disable : 4275)
29 #pragma warning(disable : 4661)
30 #define MATERIALX_SYMBOL_EXPORT __declspec(dllexport)
31 #define MATERIALX_SYMBOL_IMPORT __declspec(dllimport)
32 #define MATERIALX_EXPORT_EXTERN_TEMPLATE(...) template class MATERIALX_SYMBOL_EXPORT __VA_ARGS__
33 #define MATERIALX_IMPORT_EXTERN_TEMPLATE(...) extern template class MATERIALX_SYMBOL_IMPORT __VA_ARGS__
37 #define MATERIALX_SYMBOL_EXPORT
38 #define MATERIALX_SYMBOL_IMPORT
39 #define MATERIALX_EXPORT_EXTERN_TEMPLATE(...)
40 #define MATERIALX_IMPORT_EXTERN_TEMPLATE(...)
43 #define MATERIALX_SYMBOL_EXPORT
44 #define MATERIALX_SYMBOL_IMPORT
45 #define MATERIALX_EXPORT_EXTERN_TEMPLATE(...)
46 #define MATERIALX_IMPORT_EXTERN_TEMPLATE(...)
53 using std::shared_ptr;
59 using StringMap = std::unordered_map<string, string>;
#define MATERIALX_NAMESPACE_BEGIN
vector< string > StringVec
A vector of strings.
GLsizei const GLchar *const * string
std::unordered_map< string, string > StringMap
An unordered map with strings as both keys and values.
std::set< string > StringSet
A set of strings.
#define MATERIALX_NAMESPACE_END