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

#include <ImfAttribute.h>

+ Inheritance diagram for Attribute:

Public Member Functions

 Attribute ()
 
virtual ~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 AttributenewAttribute (const char typeName[])
 
static bool knownType (const char typeName[])
 

Static Protected Member Functions

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

Detailed Description

Definition at line 56 of file ImfAttribute.h.

Constructor & Destructor Documentation

Attribute::Attribute ( )
virtual 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 bool Attribute::knownType ( const char  typeName[])
static
static 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 void Attribute::registerAttributeType ( const char  typeName[],
Attribute *(*)()  newAttribute 
)
staticprotected
virtual const char* Attribute::typeName ( ) const
pure virtual

Implemented in TypedAttribute< T >, and OpaqueAttribute.

static 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: