HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
TypedAttribute< T > Class Template Reference

#include <ImfAttribute.h>

+ Inheritance diagram for TypedAttribute< T >:

Public Member Functions

 TypedAttribute ()
 
 TypedAttribute (const T &value)
 
 TypedAttribute (const TypedAttribute< T > &other)
 
virtual ~TypedAttribute ()
 
Tvalue ()
 
const Tvalue () const
 
virtual const char * typeName () const
 
virtual Attributecopy () const
 
virtual void writeValueTo (OPENEXR_IMF_INTERNAL_NAMESPACE::OStream &os, int version) const
 
virtual void readValueFrom (OPENEXR_IMF_INTERNAL_NAMESPACE::IStream &is, int size, int version)
 
virtual void copyValueFrom (const Attribute &other)
 
- Public Member Functions inherited from Attribute
 Attribute ()
 
virtual ~Attribute ()
 

Static Public Member Functions

static const char * staticTypeName ()
 
static AttributemakeNewAttribute ()
 
static TypedAttributecast (Attribute *attribute)
 
static const TypedAttributecast (const Attribute *attribute)
 
static TypedAttributecast (Attribute &attribute)
 
static const TypedAttributecast (const Attribute &attribute)
 
static void registerAttributeType ()
 
static void unRegisterAttributeType ()
 
- Static Public Member Functions inherited from Attribute
static AttributenewAttribute (const char typeName[])
 
static bool knownType (const char typeName[])
 

Additional Inherited Members

- Static Protected Member Functions inherited from Attribute
static void registerAttributeType (const char typeName[], Attribute *(*newAttribute)())
 
static void unRegisterAttributeType (const char typeName[])
 

Detailed Description

template<class T>
class TypedAttribute< T >

Definition at line 135 of file ImfAttribute.h.

Constructor & Destructor Documentation

template<class T >
TypedAttribute< T >::TypedAttribute ( )

Definition at line 242 of file ImfAttribute.h.

template<class T >
TypedAttribute< T >::TypedAttribute ( const T value)

Definition at line 251 of file ImfAttribute.h.

template<class T >
TypedAttribute< T >::TypedAttribute ( const TypedAttribute< T > &  other)

Definition at line 260 of file ImfAttribute.h.

template<class T >
TypedAttribute< T >::~TypedAttribute ( )
virtual

Definition at line 269 of file ImfAttribute.h.

Member Function Documentation

template<class T >
TypedAttribute< T > * TypedAttribute< T >::cast ( Attribute attribute)
static

Definition at line 346 of file ImfAttribute.h.

template<class T >
const TypedAttribute< T > * TypedAttribute< T >::cast ( const Attribute attribute)
static

Definition at line 360 of file ImfAttribute.h.

template<class T >
TypedAttribute< T > & TypedAttribute< T >::cast ( Attribute attribute)
inlinestatic

Definition at line 374 of file ImfAttribute.h.

template<class T >
const TypedAttribute< T > & TypedAttribute< T >::cast ( const Attribute attribute)
inlinestatic

Definition at line 382 of file ImfAttribute.h.

template<class T >
Attribute * TypedAttribute< T >::copy ( void  ) const
virtual

Implements Attribute.

Definition at line 309 of file ImfAttribute.h.

template<class T >
void TypedAttribute< T >::copyValueFrom ( const Attribute other)
virtual

Implements Attribute.

Definition at line 338 of file ImfAttribute.h.

template<class T >
Attribute * TypedAttribute< T >::makeNewAttribute ( )
static

Definition at line 301 of file ImfAttribute.h.

IMF_EXPORT void V3dAttribute::readValueFrom ( OPENEXR_IMF_INTERNAL_NAMESPACE::IStream &  is,
int  size,
int  version 
)
virtual

Implements Attribute.

Definition at line 328 of file ImfAttribute.h.

template<class T >
void TypedAttribute< T >::registerAttributeType ( )
inlinestatic

Definition at line 390 of file ImfAttribute.h.

IMF_EXPORT const char * V3dAttribute::staticTypeName ( )
static
template<class T >
const char * TypedAttribute< T >::typeName ( ) const
virtual

Implements Attribute.

Definition at line 293 of file ImfAttribute.h.

template<class T >
void TypedAttribute< T >::unRegisterAttributeType ( )
inlinestatic

Definition at line 398 of file ImfAttribute.h.

template<class T >
T & TypedAttribute< T >::value ( )
inline

Definition at line 277 of file ImfAttribute.h.

template<class T >
const T & TypedAttribute< T >::value ( ) const
inline

Definition at line 285 of file ImfAttribute.h.

IMF_EXPORT void V3dAttribute::writeValueTo ( OPENEXR_IMF_INTERNAL_NAMESPACE::OStream &  os,
int  version 
) const
virtual

Implements Attribute.

Definition at line 319 of file ImfAttribute.h.


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