HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Library.h File Reference
#include <algorithm>
#include <cstdlib>
#include <functional>
#include <memory>
#include <set>
#include <string>
#include <unordered_map>
#include <vector>
#include <MaterialXCore/Generated.h>
+ Include dependency graph for Library.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define MATERIALX_GENERATE_INDEX(major, minor, build)   ((((uint32_t)(major)) << 22U) | (((uint32_t)(minor)) << 12U) | ((uint32_t)(build)))
 
#define MATERIALX_VERSION_INDEX   MATERIALX_GENERATE_INDEX(MATERIALX_MAJOR_VERSION, MATERIALX_MINOR_VERSION, MATERIALX_BUILD_VERSION)
 
#define MATERIALX_SYMBOL_EXPORT
 Platform-specific macros for declaring imported and exported symbols. More...
 
#define MATERIALX_SYMBOL_IMPORT
 
#define MATERIALX_EXPORT_EXTERN_TEMPLATE(...)
 
#define MATERIALX_IMPORT_EXTERN_TEMPLATE(...)
 

Typedefs

using StringVec = vector< string >
 A vector of strings. More...
 
using StringMap = std::unordered_map< string, string >
 An unordered map with strings as both keys and values. More...
 
using StringSet = std::set< string >
 A set of strings. More...
 

Detailed Description

Library-wide includes and types. This file should be the first include for any public header in the MaterialX library.

Definition in file Library.h.

Macro Definition Documentation

#define MATERIALX_EXPORT_EXTERN_TEMPLATE (   ...)

Definition at line 48 of file Library.h.

#define MATERIALX_GENERATE_INDEX (   major,
  minor,
  build 
)    ((((uint32_t)(major)) << 22U) | (((uint32_t)(minor)) << 12U) | ((uint32_t)(build)))

Definition at line 24 of file Library.h.

#define MATERIALX_IMPORT_EXTERN_TEMPLATE (   ...)

Definition at line 49 of file Library.h.

#define MATERIALX_SYMBOL_EXPORT

Platform-specific macros for declaring imported and exported symbols.

Definition at line 46 of file Library.h.

#define MATERIALX_SYMBOL_IMPORT

Definition at line 47 of file Library.h.

Definition at line 26 of file Library.h.

Typedef Documentation

using StringMap = std::unordered_map<string, string>

An unordered map with strings as both keys and values.

Definition at line 62 of file Library.h.

using StringSet = std::set<string>

A set of strings.

Definition at line 64 of file Library.h.

using StringVec = vector<string>

A vector of strings.

Definition at line 60 of file Library.h.