HDK
|
#include <DS_Stream.h>
Public Member Functions | |
DS_Stream (const char *filename, int pathvar=-1) | |
DS_Stream (UT_IStream &is, const char *filename="<internal>", bool fordisablewhen=false) | |
~DS_Stream () override | |
int | getOpenBrace () |
int | parseBlock (UT_String &block, char delimiter= '\n', bool quote_tokens=false) |
int | getToken (UT_String &token) |
int | getErrorMessages (UT_String &str, UT_ErrorSeverity s=UT_ERROR_NONE) |
void | clearErrors () |
void | stealErrors (DS_Stream &src) |
UT_ErrorSeverity | getErrorSeverity () |
void | message (const char *m) |
void | warning (const char *m) |
void | error (const char *m) |
![]() | |
CPP_TokenStream (const char *filename, int pathvar=-1, const char **cpp_options=0) | |
CPP_TokenStream (UT_IStream &is, const char *filename="<internal>", const char **cpp_options=0) | |
virtual | ~CPP_TokenStream () |
void | addIncludePath (const char *path) |
void | addIncludePathRaw (const char *path) |
void | setCPPOptions (const char **cpp_options) |
Set additional CPP options. More... | |
int | getLineNumber () |
const char * | getFileName () |
void | setPreserveBackslashes (bool flag) |
int | getToken (UT_String &token) |
void | ungetToken (const UT_String &token) |
virtual void | cppError (const char *message) const |
virtual void | cppWarning (const char *message) const |
Additional Inherited Members | |
![]() | |
void | init (int pathvar, const char **cpp_options) |
![]() | |
UT_WorkArgs | myArgs |
UT_WorkBuffer | myArgBuf |
UT_String | myUnget |
CPP_Manager * | myCPP |
int | myOptind |
bool | myPreserveBackslashes |
Definition at line 25 of file DS_Stream.h.
DS_Stream::DS_Stream | ( | const char * | filename, |
int | pathvar = -1 |
||
) |
DS_Stream::DS_Stream | ( | UT_IStream & | is, |
const char * | filename = "<internal>" , |
||
bool | fordisablewhen = false |
||
) |
|
override |
|
inline |
Definition at line 46 of file DS_Stream.h.
void DS_Stream::error | ( | const char * | m | ) |
|
inline |
Definition at line 43 of file DS_Stream.h.
|
inline |
Definition at line 52 of file DS_Stream.h.
int DS_Stream::getOpenBrace | ( | ) |
void DS_Stream::message | ( | const char * | m | ) |
Definition at line 49 of file DS_Stream.h.
void DS_Stream::warning | ( | const char * | m | ) |