HDK
|
Parameters for OP_Node::getInfoText()/OP_Node::getNodeSpecificInfoText() More...
#include <OP_NodeInfoParms.h>
Public Member Functions | |
OP_NodeInfoParms () | |
~OP_NodeInfoParms () | |
void | clearText () |
Clear the text. More... | |
UT_WorkBuffer & | getText () |
The text buffer in which to write the information. More... | |
void | append (const char *string) |
Append a string to the text buffer. More... | |
int | appendSprintf (const char *format,...) SYS_PRINTF_CHECK_ATTRIBUTE(2 |
int void | appendSeparator () |
Append a section separator. More... | |
void | appendNotCooked (const char *node_type="Node") |
Append "not cooked". More... | |
void | replaceSeparators (char dash='_') |
void | setVerbose (bool v) |
bool | getVerbose () const |
void | setForceCook (bool v) |
bool | getForceCook () const |
void | setSeparatorLength (int v) |
int | getSeparatorLength () const |
Static Public Member Functions | |
static const char * | getSeparatorToken () |
Parameters for OP_Node::getInfoText()/OP_Node::getNodeSpecificInfoText()
Definition at line 18 of file OP_NodeInfoParms.h.
|
inlineexplicit |
Definition at line 21 of file OP_NodeInfoParms.h.
|
inline |
Definition at line 27 of file OP_NodeInfoParms.h.
|
inline |
Append a string to the text buffer.
Definition at line 39 of file OP_NodeInfoParms.h.
void OP_NodeInfoParms::appendNotCooked | ( | const char * | node_type = "Node" | ) |
Append "not cooked".
Append a section separator.
int OP_NodeInfoParms::appendSprintf | ( | const char * | format, |
... | |||
) |
Append text to the buffer. If you have a single string to append, to avoid printf errors in the string text, please use:
|
inline |
Clear the text.
Definition at line 31 of file OP_NodeInfoParms.h.
|
inline |
Force cook
Definition at line 71 of file OP_NodeInfoParms.h.
|
inline |
Separator length
Definition at line 79 of file OP_NodeInfoParms.h.
|
static |
Return the separator string token (which is replaced in replaceSeparators()
).
|
inline |
The text buffer in which to write the information.
Definition at line 35 of file OP_NodeInfoParms.h.
|
inline |
Verbose info
Definition at line 63 of file OP_NodeInfoParms.h.
void OP_NodeInfoParms::replaceSeparators | ( | char | dash = '_' | ) |
Make a separator line (prefixed and suffixed with newlines). The separator will be a line of '-' which matches the line length of the longest line in the text (or getSeparatorLength() if the lines are too long).
|
inline |
Force cook
Definition at line 69 of file OP_NodeInfoParms.h.
Separator length
Definition at line 77 of file OP_NodeInfoParms.h.
|
inline |
Verbose info
Definition at line 61 of file OP_NodeInfoParms.h.