HDK
|
Helper class for reading and writing FunctionName HDA section. More...
#include <OP_ScriptOperator.h>
Public Member Functions | |
bool | readFile (const FS_IndexFile &file) |
Reads from and writes to a file. More... | |
void | writeFile (FS_IndexFile &file) const |
Reads from and writes to a file. More... | |
void | readBuffer (const char *str) |
Reads from and writes to a string buffer. More... | |
void | writeBuffer (UT_WorkBuffer &str) const |
Reads from and writes to a string buffer. More... | |
void | setMainFunctionName (const char *name) |
The name of the main (shader) function HDA represents. More... | |
const UT_StringHolder & | getMainFunctionName () const |
The name of the main (shader) function HDA represents. More... | |
void | setSecondaryFunctionsMap (const UT_StringMap< UT_StringHolder > &m) |
The dictionary of additional functions stored in HDA. More... | |
const UT_StringMap < UT_StringHolder > & | getSecondaryFunctionsMap () const |
The dictionary of additional functions stored in HDA. More... | |
Static Public Member Functions | |
static void | getFunctionCodeSections (UT_StringArray §ion_names, const FS_IndexFile &file) |
Helper class for reading and writing FunctionName HDA section.
Definition at line 234 of file OP_ScriptOperator.h.
|
static |
Utility function to obtain the function code section names referenced by a function info section.
|
inline |
The name of the main (shader) function HDA represents.
Definition at line 250 of file OP_ScriptOperator.h.
|
inline |
The dictionary of additional functions stored in HDA.
Definition at line 257 of file OP_ScriptOperator.h.
void OP_FunctionNameInfo::readBuffer | ( | const char * | str | ) |
Reads from and writes to a string buffer.
bool OP_FunctionNameInfo::readFile | ( | const FS_IndexFile & | file | ) |
Reads from and writes to a file.
|
inline |
The name of the main (shader) function HDA represents.
Definition at line 248 of file OP_ScriptOperator.h.
|
inline |
The dictionary of additional functions stored in HDA.
Definition at line 255 of file OP_ScriptOperator.h.
void OP_FunctionNameInfo::writeBuffer | ( | UT_WorkBuffer & | str | ) | const |
Reads from and writes to a string buffer.
void OP_FunctionNameInfo::writeFile | ( | FS_IndexFile & | file | ) | const |
Reads from and writes to a file.