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

Additional Inherited Members

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

Detailed Description

template<class T>
class TypedAttribute< T >

Definition at line 141 of file ImfAttribute.h.

Constructor & Destructor Documentation

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

Definition at line 248 of file ImfAttribute.h.

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

Definition at line 257 of file ImfAttribute.h.

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

Definition at line 266 of file ImfAttribute.h.

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

Definition at line 275 of file ImfAttribute.h.

Member Function Documentation

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

Definition at line 352 of file ImfAttribute.h.

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

Definition at line 366 of file ImfAttribute.h.

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

Definition at line 380 of file ImfAttribute.h.

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

Definition at line 388 of file ImfAttribute.h.

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

Implements Attribute.

Definition at line 315 of file ImfAttribute.h.

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

Implements Attribute.

Definition at line 344 of file ImfAttribute.h.

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

Definition at line 307 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 334 of file ImfAttribute.h.

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

Definition at line 396 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 299 of file ImfAttribute.h.

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

Definition at line 404 of file ImfAttribute.h.

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

Definition at line 283 of file ImfAttribute.h.

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

Definition at line 291 of file ImfAttribute.h.

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

Implements Attribute.

Definition at line 325 of file ImfAttribute.h.


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