14 #ifndef __VOP_TypeDefinition__
15 #define __VOP_TypeDefinition__
43 void setTypeName(
const char *
name );
45 {
return getTypeName(); }
50 void setTypeLabel(
const char *
label );
54 const UT_Color * getConnectorColor()
const;
55 void setSpecificConnectorColor(
const UT_Color &clr);
56 void setDefaultConnectorColor();
60 void setCodeTypeName(
const char *code_type_name );
92 virtual void getTypeDefinitionSourceCode(
UT_String &code,
Reprsents a language for which VOPs can generate source code.
A class abstracting definition of a VOP data type.
const UT_StringHolder & getName() const
Sets and gets the type definition unique name identifier.
virtual UT_StringHolder getMetaType() const =0
GLuint GLsizei const GLchar * label
static const UT_StringHolder METATYPE_VALUE
Saves to or loades from a JSON value associated with given key.
The simplest form of a custom type implementation.
bool operator==(const BaseDimensions< T > &a, const BaseDimensions< Y > &b)
std::shared_ptr< T > UT_SharedPtr
Wrapper around std::shared_ptr.
static const UT_StringHolder METATYPE_KEY
GLuint const GLchar * name
virtual bool isEqual(const VOP_TypeDefinition &other) const =0
Class to store JSON objects as C++ objects.
bool operator!=(const BaseDimensions< T > &a, const BaseDimensions< Y > &b)
UT_SharedPtr< const VOP_TypeDefinition > VOP_TypeDefinitionHandle
Define a handle for the type definition objects.