#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>
Go to the source code of this file.
#define OP_EXTRA_ACCESSOR_BOOL |
( |
|
NAME, |
|
|
|
TOKEN |
|
) |
| |
Value:
{
return myOptions.getOptionB(
get##NAME##
Token()); }
\
{ myOptions.setOptionB(
get##NAME##
Token(),
value); } \
#define OP_EXTRA_ACCESSOR_COMMON(NAME, TOKEN)
Definition at line 71 of file OP_OTLDefinition.h.
#define OP_EXTRA_ACCESSOR_COMMON |
( |
|
NAME, |
|
|
|
TOKEN |
|
) |
| |
Value:
{ \
return token.asHolder(); \
{ myOptions.removeOption(
get##NAME##
Token()); } \
{
return myOptions.hasOption(
get##NAME##
Token()); } \
Definition at line 57 of file OP_OTLDefinition.h.
#define OP_EXTRA_ACCESSOR_INT |
( |
|
NAME, |
|
|
|
TOKEN |
|
) |
| |
Value:
{
return myOptions.getOptionI(
get##NAME##
Token()); }
\
{ myOptions.setOptionI(
get##NAME##
Token(),
value); } \
#define OP_EXTRA_ACCESSOR_COMMON(NAME, TOKEN)
Definition at line 86 of file OP_OTLDefinition.h.
#define OP_EXTRA_ACCESSOR_STRING |
( |
|
NAME, |
|
|
|
TOKEN |
|
) |
| |
Value:
{
return myOptions.getOptionS(
get##NAME##
Token()); }
\
{ myOptions.setOptionSRaw(
get##NAME##
Token(),
value); } \
#define OP_EXTRA_ACCESSOR_COMMON(NAME, TOKEN)
auto get(const UT_ARTIterator< T > &it) -> decltype(it.key())
Definition at line 78 of file OP_OTLDefinition.h.
#define OTL_LEGAL_OPTYPE_NAME_CHARS ".:/" |