OpenVDB  5.2.0
Public Types | Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
StringAttributeHandle Class Reference

#include <AttributeArrayString.h>

Inherited by StringAttributeWriteHandle.

Public Types

using Ptr = std::shared_ptr< StringAttributeHandle >
 

Public Member Functions

 StringAttributeHandle (const AttributeArray &array, const MetaMap &metadata, const bool preserveCompression=true)
 
Index size () const
 
bool isUniform () const
 
Name get (Index n, Index m=0) const
 
void get (Name &name, Index n, Index m=0) const
 

Static Public Member Functions

static Ptr create (const AttributeArray &array, const MetaMap &metadata, const bool preserveCompression=true)
 

Protected Attributes

AttributeHandle< StringIndexType, StringCodec< false > > mHandle
 
const MetaMapmMetadata
 

Member Typedef Documentation

◆ Ptr

using Ptr = std::shared_ptr<StringAttributeHandle>

Constructor & Destructor Documentation

◆ StringAttributeHandle()

StringAttributeHandle ( const AttributeArray array,
const MetaMap metadata,
const bool  preserveCompression = true 
)

Member Function Documentation

◆ create()

static Ptr create ( const AttributeArray array,
const MetaMap metadata,
const bool  preserveCompression = true 
)
static

◆ get() [1/2]

Name get ( Index  n,
Index  m = 0 
) const

◆ get() [2/2]

void get ( Name name,
Index  n,
Index  m = 0 
) const

◆ isUniform()

bool isUniform ( ) const
inline

◆ size()

Index size ( ) const
inline

Member Data Documentation

◆ mHandle

AttributeHandle<StringIndexType, StringCodec<false> > mHandle
protected

◆ mMetadata

const MetaMap& mMetadata
protected

The documentation for this class was generated from the following file: