HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
OP_ExtraInfoBuffer Class Reference

#include <OP_OTLDefinition.h>

Public Member Functions

 OP_ExtraInfoBuffer ()=default
 
 OP_ExtraInfoBuffer (const char *extra_info)
 
void readExtraInfo (const char *extra_info)
 
bool oldFormat () const
 
bool isBoolToken (const UT_StringRef &name)
 
bool isIntToken (const UT_StringRef &name)
 
bool hasInputColors () const
 
void removeInputColors ()
 
const UT_Array< UT_Color > & getInputColors () const
 
void setInputColors (const UT_Array< UT_Color > &colors)
 
bool hasOutputColors () const
 
void removeOutputColors ()
 
const UT_Array< UT_Color > & getOutputColors () const
 
void setOutputColors (const UT_Array< UT_Color > &colors)
 
void writeExtraInfo (UT_WorkBuffer &extra_info) const
 Writes out the extra info state of this object into a string. More...
 
void writeExtraInfo (UT_String &extra_info) const
 Writes out the extra info state of this object into a string. More...
 
void writeExtraInfo (UT_StringHolder &extra_info) const
 Writes out the extra info state of this object into a string. More...
 

Detailed Description

Definition at line 35 of file OP_OTLDefinition.h.

Constructor & Destructor Documentation

OP_ExtraInfoBuffer::OP_ExtraInfoBuffer ( )
default
OP_ExtraInfoBuffer::OP_ExtraInfoBuffer ( const char *  extra_info)
inline

Definition at line 39 of file OP_OTLDefinition.h.

Member Function Documentation

const UT_Array<UT_Color>& OP_ExtraInfoBuffer::getInputColors ( ) const
inline

Definition at line 134 of file OP_OTLDefinition.h.

const UT_Array<UT_Color>& OP_ExtraInfoBuffer::getOutputColors ( ) const
inline

Definition at line 143 of file OP_OTLDefinition.h.

bool OP_ExtraInfoBuffer::hasInputColors ( ) const
inline

Definition at line 132 of file OP_OTLDefinition.h.

bool OP_ExtraInfoBuffer::hasOutputColors ( ) const
inline

Definition at line 141 of file OP_OTLDefinition.h.

bool OP_ExtraInfoBuffer::isBoolToken ( const UT_StringRef name)
inline

Definition at line 114 of file OP_OTLDefinition.h.

bool OP_ExtraInfoBuffer::isIntToken ( const UT_StringRef name)
inline

Definition at line 120 of file OP_OTLDefinition.h.

bool OP_ExtraInfoBuffer::oldFormat ( ) const
inline

True if this is an old format, to ensure we preserve compatibility if we re-save.

Definition at line 54 of file OP_OTLDefinition.h.

void OP_ExtraInfoBuffer::readExtraInfo ( const char *  extra_info)

Parses the extra info string. After this call, you can use the query methods below.

void OP_ExtraInfoBuffer::removeInputColors ( )
inline

Definition at line 133 of file OP_OTLDefinition.h.

void OP_ExtraInfoBuffer::removeOutputColors ( )
inline

Definition at line 142 of file OP_OTLDefinition.h.

void OP_ExtraInfoBuffer::setInputColors ( const UT_Array< UT_Color > &  colors)
inline

Definition at line 135 of file OP_OTLDefinition.h.

void OP_ExtraInfoBuffer::setOutputColors ( const UT_Array< UT_Color > &  colors)
inline

Definition at line 144 of file OP_OTLDefinition.h.

void OP_ExtraInfoBuffer::writeExtraInfo ( UT_WorkBuffer extra_info) const

Writes out the extra info state of this object into a string.

void OP_ExtraInfoBuffer::writeExtraInfo ( UT_String extra_info) const

Writes out the extra info state of this object into a string.

void OP_ExtraInfoBuffer::writeExtraInfo ( UT_StringHolder extra_info) const

Writes out the extra info state of this object into a string.


The documentation for this class was generated from the following file: