HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
strongparam.h File Reference
#include <type_traits>
#include <OpenImageIO/oiioversion.h>
+ Include dependency graph for strongparam.h:

Go to the source code of this file.

Classes

struct  StrongParam< Tag, Basetype >
 

Macros

#define OIIO_STRONG_PARAM_TYPE(Name, Basetype)
 

Macro Definition Documentation

#define OIIO_STRONG_PARAM_TYPE (   Name,
  Basetype 
)
Value:
struct Name : public StrongParam<Name, Basetype> { \
}
Definition: ImfName.h:28
StrongParam(const Basetype &val)
Definition: strongparam.h:97

Convenience macro for making strong parameter type Name that is Basetype underneath. What it actually does is make a new type that is derived from StrongParam<Name,Basetype>.

Definition at line 118 of file strongparam.h.