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 103 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 206 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 212 of file ImfAttribute.h.

Member Function Documentation

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

Definition at line 281 of file ImfAttribute.h.

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

Definition at line 292 of file ImfAttribute.h.

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

Definition at line 304 of file ImfAttribute.h.

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

Definition at line 311 of file ImfAttribute.h.

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

Implements Attribute.

Definition at line 247 of file ImfAttribute.h.

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

Implements Attribute.

Definition at line 274 of file ImfAttribute.h.

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

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

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

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

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

Definition at line 325 of file ImfAttribute.h.

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

Definition at line 219 of file ImfAttribute.h.

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

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


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