Threadsafe singleton object for accessing the map type-name dictionary. Associates a map type-name with a factory function. More...
#include <openvdb/math/Maps.h>
| Public Types | |
| using | MapDictionary = std::map<Name, MapBase::MapFactory> | 
| Static Public Member Functions | |
| static MapRegistry * | instance () | 
| static MapBase::Ptr | createMap (const Name &) | 
| Create a new map of the given (registered) type name. | |
| static bool | isRegistered (const Name &) | 
| Return trueif the given map type name is registered. | |
| static void | registerMap (const Name &, MapBase::MapFactory) | 
| Register a map type along with a factory function. | |
| static void | unregisterMap (const Name &) | 
| Remove a map type from the registry. | |
| static void | clear () | 
| Clear the map type registry. | |
Threadsafe singleton object for accessing the map type-name dictionary. Associates a map type-name with a factory function.
| using MapDictionary = std::map<Name, MapBase::MapFactory> | 
| 
 | static | 
Clear the map type registry.
| 
 | static | 
Create a new map of the given (registered) type name.
| 
 | static | 
| 
 | static | 
Return true if the given map type name is registered. 
| 
 | static | 
Register a map type along with a factory function.
| 
 | static | 
Remove a map type from the registry.