HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Attribute Class Referenceabstract

#include <ImfAttribute.h>

+ Inheritance diagram for Attribute:

Public Member Functions

IMF_EXPORT Attribute ()
 
virtual IMF_EXPORT ~Attribute ()
 
virtual const char * typeName () const =0
 
virtual Attributecopy () const =0
 
virtual void writeValueTo (OPENEXR_IMF_INTERNAL_NAMESPACE::OStream &os, int version) const =0
 
virtual void readValueFrom (OPENEXR_IMF_INTERNAL_NAMESPACE::IStream &is, int size, int version)=0
 
virtual void copyValueFrom (const Attribute &other)=0
 

Static Public Member Functions

static IMF_EXPORT AttributenewAttribute (const char typeName[])
 
static IMF_EXPORT bool knownType (const char typeName[])
 

Static Protected Member Functions

static IMF_EXPORT void registerAttributeType (const char typeName[], Attribute *(*newAttribute)())
 
static IMF_EXPORT void unRegisterAttributeType (const char typeName[])
 

Detailed Description

Examples:
karma_procedurals/BRAY_HdSphere.C.

Definition at line 34 of file ImfAttribute.h.

Constructor & Destructor Documentation

IMF_EXPORT Attribute::Attribute ( )
virtual IMF_EXPORT Attribute::~Attribute ( )
virtual

Member Function Documentation

virtual Attribute* Attribute::copy ( ) const
pure virtual

Implemented in TypedAttribute< T >, and OpaqueAttribute.

virtual void Attribute::copyValueFrom ( const Attribute other)
pure virtual

Implemented in TypedAttribute< T >, and OpaqueAttribute.

static IMF_EXPORT bool Attribute::knownType ( const char  typeName[])
static
static IMF_EXPORT Attribute* Attribute::newAttribute ( const char  typeName[])
static
virtual void Attribute::readValueFrom ( OPENEXR_IMF_INTERNAL_NAMESPACE::IStream is,
int  size,
int  version 
)
pure virtual

Implemented in TypedAttribute< T >, and OpaqueAttribute.

static IMF_EXPORT void Attribute::registerAttributeType ( const char  typeName[],
Attribute *(*)()  newAttribute 
)
staticprotected
virtual const char* Attribute::typeName ( ) const
pure virtual

Implemented in TypedAttribute< T >, and OpaqueAttribute.

static IMF_EXPORT void Attribute::unRegisterAttributeType ( const char  typeName[])
staticprotected
virtual void Attribute::writeValueTo ( OPENEXR_IMF_INTERNAL_NAMESPACE::OStream os,
int  version 
) const
pure virtual

Implemented in TypedAttribute< T >, and OpaqueAttribute.


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