Class to help with insertion of keyed string values into metadata. More...
#include <openvdb/points/AttributeArrayString.h>
| Public Types | |
| using | UniquePtr = std::unique_ptr<StringMetaInserter> | 
| Public Member Functions | |
| StringMetaInserter (MetaMap &metadata) | |
| bool | hasKey (const Name &key) const | 
| Returns trueif key exists. | |
| bool | hasIndex (Index index) const | 
| Returns trueif index exists. | |
| Index | insert (const Name &name, Index hint=Index(0)) | 
| Insert the string into the metadata using the hint if non-zero. | |
| void | resetCache () | 
| Reset the cache from the metadata. | |
Class to help with insertion of keyed string values into metadata.
| using UniquePtr = std::unique_ptr<StringMetaInserter> | 
| 
 | explicit | 
| bool hasIndex | ( | Index | index | ) | const | 
Returns true if index exists. 
| bool hasKey | ( | const Name & | key | ) | const | 
Returns true if key exists. 
Insert the string into the metadata using the hint if non-zero.
| name | the string to insert | 
| hint | requested index to use if non-zero and not already in use | 
| void resetCache | ( | ) | 
Reset the cache from the metadata.