HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
openvdb::OPENVDB_VERSION_NAME::points::StringAttributeHandle Class Reference

#include <AttributeArrayString.h>

+ Inheritance diagram for openvdb::OPENVDB_VERSION_NAME::points::StringAttributeHandle:

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
 

Detailed Description

Definition at line 134 of file AttributeArrayString.h.

Member Typedef Documentation

Constructor & Destructor Documentation

openvdb::OPENVDB_VERSION_NAME::points::StringAttributeHandle::StringAttributeHandle ( const AttributeArray array,
const MetaMap metadata,
const bool  preserveCompression = true 
)

Member Function Documentation

static Ptr openvdb::OPENVDB_VERSION_NAME::points::StringAttributeHandle::create ( const AttributeArray array,
const MetaMap metadata,
const bool  preserveCompression = true 
)
static
Name openvdb::OPENVDB_VERSION_NAME::points::StringAttributeHandle::get ( Index  n,
Index  m = 0 
) const
void openvdb::OPENVDB_VERSION_NAME::points::StringAttributeHandle::get ( Name name,
Index  n,
Index  m = 0 
) const
bool openvdb::OPENVDB_VERSION_NAME::points::StringAttributeHandle::isUniform ( ) const
inline

Definition at line 146 of file AttributeArrayString.h.

Index openvdb::OPENVDB_VERSION_NAME::points::StringAttributeHandle::size ( void  ) const
inline

Definition at line 145 of file AttributeArrayString.h.

Member Data Documentation

AttributeHandle<StringIndexType, StringCodec<false> > openvdb::OPENVDB_VERSION_NAME::points::StringAttributeHandle::mHandle
protected

Definition at line 152 of file AttributeArrayString.h.

const MetaMap& openvdb::OPENVDB_VERSION_NAME::points::StringAttributeHandle::mMetadata
protected

Definition at line 153 of file AttributeArrayString.h.


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