Class to compute a string->index map from all string:N metadata.
More...
#include <AttributeArrayString.h>
Class to compute a string->index map from all string:N metadata.
Definition at line 56 of file AttributeArrayString.h.
using openvdb::OPENVDB_VERSION_NAME::points::StringMetaCache::UniquePtr = std::unique_ptr<StringMetaCache> |
using openvdb::OPENVDB_VERSION_NAME::points::StringMetaCache::ValueMap = std::unordered_map<Name, Index> |
openvdb::OPENVDB_VERSION_NAME::points::StringMetaCache::StringMetaCache |
( |
| ) |
|
|
default |
openvdb::OPENVDB_VERSION_NAME::points::StringMetaCache::StringMetaCache |
( |
const MetaMap & |
metadata | ) |
|
|
explicit |
bool openvdb::OPENVDB_VERSION_NAME::points::StringMetaCache::empty |
( |
void |
| ) |
const |
|
inline |
void openvdb::OPENVDB_VERSION_NAME::points::StringMetaCache::insert |
( |
const Name & |
key, |
|
|
Index |
index |
|
) |
| |
Insert a new element in the cache.
const ValueMap& openvdb::OPENVDB_VERSION_NAME::points::StringMetaCache::map |
( |
| ) |
const |
|
inline |
void openvdb::OPENVDB_VERSION_NAME::points::StringMetaCache::reset |
( |
const MetaMap & |
metadata | ) |
|
Clears and re-populates the cache.
size_t openvdb::OPENVDB_VERSION_NAME::points::StringMetaCache::size |
( |
void |
| ) |
const |
|
inline |
The documentation for this class was generated from the following file: