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 ()=default
 
 TypedAttribute (const T &value)
 
 TypedAttribute (const TypedAttribute< T > &other)=default
 
 TypedAttribute (TypedAttribute< T > &&other)=default
 
virtual ~TypedAttribute ()
 
TypedAttributeoperator= (const TypedAttribute< T > &other)=default
 
TypedAttributeoperator= (TypedAttribute< T > &&other)=default
 
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 113 of file ImfAttribute.h.

Constructor & Destructor Documentation

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

Definition at line 230 of file ImfAttribute.h.

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

Definition at line 238 of file ImfAttribute.h.

Member Function Documentation

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

Definition at line 314 of file ImfAttribute.h.

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

Definition at line 328 of file ImfAttribute.h.

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

Definition at line 342 of file ImfAttribute.h.

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

Definition at line 350 of file ImfAttribute.h.

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

Implements Attribute.

Definition at line 277 of file ImfAttribute.h.

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

Implements Attribute.

Definition at line 306 of file ImfAttribute.h.

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

Definition at line 269 of file ImfAttribute.h.

template<class T>
TypedAttribute& TypedAttribute< T >::operator= ( const TypedAttribute< T > &  other)
default
template<class T>
TypedAttribute& TypedAttribute< T >::operator= ( TypedAttribute< T > &&  other)
default
template<class T >
void TypedAttribute< T >::readValueFrom ( OPENEXR_IMF_INTERNAL_NAMESPACE::IStream is,
int  size,
int  version 
)
virtual

Implements Attribute.

Definition at line 296 of file ImfAttribute.h.

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

Definition at line 358 of file ImfAttribute.h.

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

Implements Attribute.

Definition at line 261 of file ImfAttribute.h.

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

Definition at line 366 of file ImfAttribute.h.

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

Definition at line 245 of file ImfAttribute.h.

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

Definition at line 253 of file ImfAttribute.h.

template<class T >
void TypedAttribute< T >::writeValueTo ( OPENEXR_IMF_INTERNAL_NAMESPACE::OStream os,
int  version 
) const
virtual

Implements Attribute.

Definition at line 287 of file ImfAttribute.h.


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