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

Subclass to read (and ignore) data of an unregistered type. More...

#include <Metadata.h>

+ Inheritance diagram for openvdb::OPENVDB_VERSION_NAME::UnknownMetadata:

Public Member Functions

 UnknownMetadata ()
 
virtual ~UnknownMetadata ()
 
virtual Name typeName () const
 Return the type name of the metadata. More...
 
virtual Metadata::Ptr copy () const
 Return a copy of the metadata. More...
 
virtual void copy (const Metadata &)
 Copy the given metadata into this metadata. More...
 
virtual std::string str () const
 Return a textual representation of this metadata. More...
 
virtual bool asBool () const
 
virtual Index32 size () const
 Return the size of this metadata in bytes. More...
 

Protected Member Functions

virtual void readValue (std::istream &s, Index32 numBytes)
 Read the metadata from a stream. More...
 
virtual void writeValue (std::ostream &) const
 Write the metadata to a stream. More...
 

Additional Inherited Members

Detailed Description

Subclass to read (and ignore) data of an unregistered type.

Definition at line 118 of file Metadata.h.

Constructor & Destructor Documentation

openvdb::OPENVDB_VERSION_NAME::UnknownMetadata::UnknownMetadata ( )
inline

Definition at line 121 of file Metadata.h.

virtual openvdb::OPENVDB_VERSION_NAME::UnknownMetadata::~UnknownMetadata ( )
inlinevirtual

Definition at line 122 of file Metadata.h.

Member Function Documentation

virtual bool openvdb::OPENVDB_VERSION_NAME::UnknownMetadata::asBool ( ) const
inlinevirtual

Return the boolean representation of this metadata (empty strings and zeroVals evaluate to false; most other values evaluate to true).

Implements openvdb::OPENVDB_VERSION_NAME::Metadata.

Definition at line 127 of file Metadata.h.

virtual Metadata::Ptr openvdb::OPENVDB_VERSION_NAME::UnknownMetadata::copy ( ) const
inlinevirtual

Return a copy of the metadata.

Implements openvdb::OPENVDB_VERSION_NAME::Metadata.

Definition at line 124 of file Metadata.h.

virtual void openvdb::OPENVDB_VERSION_NAME::UnknownMetadata::copy ( const Metadata other)
inlinevirtual

Copy the given metadata into this metadata.

Implements openvdb::OPENVDB_VERSION_NAME::Metadata.

Definition at line 125 of file Metadata.h.

virtual void openvdb::OPENVDB_VERSION_NAME::UnknownMetadata::readValue ( std::istream &  ,
Index32  numBytes 
)
protectedvirtual

Read the metadata from a stream.

Implements openvdb::OPENVDB_VERSION_NAME::Metadata.

virtual Index32 openvdb::OPENVDB_VERSION_NAME::UnknownMetadata::size ( ) const
inlinevirtual

Return the size of this metadata in bytes.

Implements openvdb::OPENVDB_VERSION_NAME::Metadata.

Definition at line 128 of file Metadata.h.

virtual std::string openvdb::OPENVDB_VERSION_NAME::UnknownMetadata::str ( ) const
inlinevirtual

Return a textual representation of this metadata.

Implements openvdb::OPENVDB_VERSION_NAME::Metadata.

Definition at line 126 of file Metadata.h.

virtual Name openvdb::OPENVDB_VERSION_NAME::UnknownMetadata::typeName ( ) const
inlinevirtual

Return the type name of the metadata.

Implements openvdb::OPENVDB_VERSION_NAME::Metadata.

Definition at line 123 of file Metadata.h.

virtual void openvdb::OPENVDB_VERSION_NAME::UnknownMetadata::writeValue ( std::ostream &  ) const
protectedvirtual

Write the metadata to a stream.

Implements openvdb::OPENVDB_VERSION_NAME::Metadata.


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