HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
OP_OTLDefinition.h File Reference
#include "OP_API.h"
#include "OP_Node.h"
#include <UT/UT_StringHolder.h>
#include <UT/UT_ValArray.h>
#include <UT/UT_Color.h>
#include <iosfwd>
#include <time.h>
+ Include dependency graph for OP_OTLDefinition.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  OP_ExtraInfoBuffer
 
class  OP_OTLDefinition
 

Macros

#define OTL_LEGAL_OPTYPE_NAME_CHARS   ".:/"
 
#define OP_EXTRA_ACCESSOR_COMMON(NAME, TOKEN)
 
#define OP_EXTRA_ACCESSOR_BOOL(NAME, TOKEN)
 
#define OP_EXTRA_ACCESSOR_STRING(NAME, TOKEN)
 
#define OP_EXTRA_ACCESSOR_INT(NAME, TOKEN)
 

Typedefs

typedef UT_ValArray
< OP_OTLDefinition * > 
OP_OTLDefinitionArray
 

Macro Definition Documentation

#define OP_EXTRA_ACCESSOR_BOOL (   NAME,
  TOKEN 
)
Value:
bool get##NAME() const \
{ return myOptions.getOptionB(get##NAME##Token()); } \
void set##NAME(bool value) \
{ myOptions.setOptionB(get##NAME##Token(), value); } \
void
Definition: png.h:1083
#define OP_EXTRA_ACCESSOR_COMMON(NAME, TOKEN)
Definition: core.h:1131

Definition at line 71 of file OP_OTLDefinition.h.

#define OP_EXTRA_ACCESSOR_COMMON (   NAME,
  TOKEN 
)
Value:
const UT_StringHolder &get##NAME##Token() const \
{ \
static constexpr UT_StringLit token(TOKEN); \
return token.asHolder(); \
} \
void remove##NAME() \
{ myOptions.removeOption(get##NAME##Token()); } \
bool has##NAME() const \
{ return myOptions.hasOption(get##NAME##Token()); } \
void
Definition: png.h:1083

Definition at line 57 of file OP_OTLDefinition.h.

#define OP_EXTRA_ACCESSOR_INT (   NAME,
  TOKEN 
)
Value:
exint get##NAME() const \
{ return myOptions.getOptionI(get##NAME##Token()); } \
{ myOptions.setOptionI(get##NAME##Token(),value); } \
void
Definition: png.h:1083
int64 exint
Definition: SYS_Types.h:125
#define OP_EXTRA_ACCESSOR_COMMON(NAME, TOKEN)
Definition: core.h:1131

Definition at line 86 of file OP_OTLDefinition.h.

#define OP_EXTRA_ACCESSOR_STRING (   NAME,
  TOKEN 
)
Value:
get##NAME() const \
{ return myOptions.getOptionS(get##NAME##Token()); } \
{ myOptions.setOptionSRaw(get##NAME##Token(),value); } \
void
Definition: png.h:1083
#define OP_EXTRA_ACCESSOR_COMMON(NAME, TOKEN)
auto get(const UT_ARTIterator< T > &it) -> decltype(it.key())
Definition: UT_ARTMap.h:1073
Definition: core.h:1131

Definition at line 78 of file OP_OTLDefinition.h.

#define OTL_LEGAL_OPTYPE_NAME_CHARS   ".:/"

Definition at line 33 of file OP_OTLDefinition.h.

Typedef Documentation