HDK
|
The simplest form of a custom type implementation. More...
#include <VOP_TypeDefinition.h>
Public Member Functions | |
VOP_CustomTypeDefinition () | |
Constructor and destructor. More... | |
~VOP_CustomTypeDefinition () override | |
Public Member Functions inherited from VOP_TypeDefinition | |
VOP_TypeDefinition () | |
Constructor and destructor. More... | |
virtual | ~VOP_TypeDefinition () |
virtual bool | load (const UT_JSONValue &json) |
virtual bool | save (UT_JSONValue &json) const |
virtual void | getTypeDefinitionSourceCode (UT_String &code, const VOP_Language *language) const |
const UT_StringHolder & | getTypeName () const |
Sets and gets the type definition unique name identifier. More... | |
void | setTypeName (const char *name) |
Sets and gets the type definition unique name identifier. More... | |
const UT_StringHolder & | getName () const |
Sets and gets the type definition unique name identifier. More... | |
const UT_StringHolder & | getTypeLabel () const |
Sets and gets the type definition unique name identifier. More... | |
void | setTypeLabel (const char *label) |
Sets and gets the type definition unique name identifier. More... | |
const UT_Color * | getConnectorColor () const |
Methods for the color of the connector of this type. More... | |
void | setSpecificConnectorColor (const UT_Color &clr) |
Methods for the color of the connector of this type. More... | |
void | setDefaultConnectorColor () |
Methods for the color of the connector of this type. More... | |
void | setCodeTypeName (const char *code_type_name) |
Sets and gets the type name used in the generated code. More... | |
const UT_StringHolder & | getCodeTypeName () const |
Sets and gets the type name used in the generated code. More... | |
const UT_StringHolder & | getCodeTypeNameRaw () const |
Sets and gets the type name used in the generated code. More... | |
bool | operator== (const VOP_TypeDefinition &other) const |
Standard comparison operators. More... | |
bool | operator!= (const VOP_TypeDefinition &other) const |
Standard comparison operators. More... | |
Protected Member Functions | |
bool | isEqual (const VOP_TypeDefinition &other) const override |
Standard overrides from the base class. More... | |
static const UT_StringHolder | METATYPE_VALUE |
Saves to or loades from a JSON value associated with given key. More... | |
UT_StringHolder | getMetaType () const override |
Saves to or loades from a JSON value associated with given key. More... | |
Additional Inherited Members | |
Static Public Attributes inherited from VOP_TypeDefinition | |
static const UT_StringHolder | METATYPE_KEY |
The simplest form of a custom type implementation.
Definition at line 123 of file VOP_TypeDefinition.h.
VOP_CustomTypeDefinition::VOP_CustomTypeDefinition | ( | ) |
Constructor and destructor.
|
override |
|
overridevirtual |
Saves to or loades from a JSON value associated with given key.
Implements VOP_TypeDefinition.
|
overrideprotectedvirtual |
Standard overrides from the base class.
Implements VOP_TypeDefinition.
|
static |
Saves to or loades from a JSON value associated with given key.
Definition at line 131 of file VOP_TypeDefinition.h.