HDK
|
#include <PRM_ScriptPage.h>
Classes | |
struct | TokenParmCount |
Public Types | |
enum | { PRM_SCRIPT_RMAN = 0x01, PRM_SCRIPT_SHELL = 0x02, PRM_SCRIPT_VEX = 0x04, PRM_SCRIPT_INVISIBLE = 0x08, PRM_SCRIPT_INVISIBLETAB = 0x10, PRM_SCRIPT_OBSOLETE = 0x20 } |
Static Public Attributes | |
static const TokenParmCount | theTokens [] |
Protected Member Functions | |
virtual PRM_ScriptParm * | newParm () |
virtual PRM_ScriptPage * | newImportPage () |
virtual int | parseHelp (DS_Stream &is, UT_String &help) |
virtual int | handleUnknown (DS_Stream &is, UT_String &token) |
int | parseImport (DS_Stream &is, int multiparm_depth) |
void | processImportPage (PRM_ScriptPage *page) |
int | parseAttribute (DS_Stream &is) |
void | fillTemplate (PRM_Template *tplate, int &idx, PRM_ScriptImports *&imports, int nest_level, int switcher_idx, int folder) |
Protected Attributes | |
UT_String | myToken |
UT_String | myLabel |
UT_String | myDefault |
UT_String | myImportSource |
UT_String | myImportToken |
UT_String | myImportMask |
bool | myImportEnable |
UT_ValArray< PRM_ScriptParm * > | myParms |
UT_ValArray< PRM_ScriptParm * > | myObsoleteParms |
PRM_ScriptImports * | myImports |
PRM_ConditionalGroup * | myConditionalPage |
PRM_ConditionalGroup * | myConditionalGroup |
bool | myBaseParm |
bool | myTabBreak |
PRM_SpareData * | mySpareData |
unsigned | myFlag |
Friends | |
class | PRM_ScriptGroup |
Definition at line 29 of file PRM_ScriptPage.h.
anonymous enum |
Enumerator | |
---|---|
PRM_SCRIPT_RMAN | |
PRM_SCRIPT_SHELL | |
PRM_SCRIPT_VEX | |
PRM_SCRIPT_INVISIBLE | |
PRM_SCRIPT_INVISIBLETAB | |
PRM_SCRIPT_OBSOLETE |
Definition at line 34 of file PRM_ScriptPage.h.
PRM_ScriptPage::PRM_ScriptPage | ( | ) |
|
virtual |
void PRM_ScriptPage::appendScriptParms | ( | UT_ValArray< PRM_ScriptParm * > & | parms | ) |
|
inline |
Definition at line 81 of file PRM_ScriptPage.h.
int PRM_ScriptPage::computeObsoleteTemplateSize | ( | ) |
int PRM_ScriptPage::computeTemplateSize | ( | ) |
bool PRM_ScriptPage::containsReservedName | ( | ) | const |
|
virtual |
void PRM_ScriptPage::enforceOptions | ( | ) |
void PRM_ScriptPage::fillObsoleteTemplate | ( | PRM_Template * | tplate | ) |
void PRM_ScriptPage::fillTemplate | ( | PRM_Template * | tplate, |
int & | idx, | ||
PRM_ScriptImports *& | imports | ||
) |
|
protected |
|
inline |
Definition at line 62 of file PRM_ScriptPage.h.
|
inline |
Definition at line 59 of file PRM_ScriptPage.h.
|
inline |
Definition at line 82 of file PRM_ScriptPage.h.
|
inline |
Definition at line 64 of file PRM_ScriptPage.h.
|
inline |
Definition at line 58 of file PRM_ScriptPage.h.
|
inline |
Definition at line 66 of file PRM_ScriptPage.h.
|
inline |
Definition at line 60 of file PRM_ScriptPage.h.
|
inline |
Definition at line 61 of file PRM_ScriptPage.h.
PRM_SpareData* PRM_ScriptPage::getSpareData | ( | bool | create = false | ) |
|
inline |
Definition at line 63 of file PRM_ScriptPage.h.
|
inline |
Definition at line 56 of file PRM_ScriptPage.h.
|
protectedvirtual |
|
protectedvirtual |
int PRM_ScriptPage::parse | ( | DS_Stream & | is, |
bool | expect_open_brace, | ||
PRM_ScriptParm * | group_owner_parm, | ||
bool | parsing_import, | ||
bool | fix_invalid_joins = true , |
||
int | multiparm_depth = 0 |
||
) |
normally, we are parsing the whole stream & thus expect the opening brace. However, a derived Reader might want to read some meta data, then hand off to us, in which case expect_open_brace will be false.
|
protected |
|
inline |
Definition at line 74 of file PRM_ScriptPage.h.
|
inline |
Definition at line 80 of file PRM_ScriptPage.h.
|
inline |
Definition at line 57 of file PRM_ScriptPage.h.
|
friend |
Definition at line 114 of file PRM_ScriptPage.h.
|
protected |
Definition at line 143 of file PRM_ScriptPage.h.
|
protected |
Definition at line 142 of file PRM_ScriptPage.h.
|
protected |
Definition at line 141 of file PRM_ScriptPage.h.
|
protected |
Definition at line 133 of file PRM_ScriptPage.h.
|
protected |
Definition at line 146 of file PRM_ScriptPage.h.
|
protected |
Definition at line 137 of file PRM_ScriptPage.h.
|
protected |
Definition at line 136 of file PRM_ScriptPage.h.
|
protected |
Definition at line 140 of file PRM_ScriptPage.h.
|
protected |
Definition at line 134 of file PRM_ScriptPage.h.
|
protected |
Definition at line 135 of file PRM_ScriptPage.h.
|
protected |
Definition at line 132 of file PRM_ScriptPage.h.
|
protected |
Definition at line 139 of file PRM_ScriptPage.h.
|
protected |
Definition at line 138 of file PRM_ScriptPage.h.
|
protected |
Definition at line 145 of file PRM_ScriptPage.h.
|
protected |
Definition at line 144 of file PRM_ScriptPage.h.
|
protected |
Definition at line 131 of file PRM_ScriptPage.h.
|
static |
a list of tokens not handled by PRM_ScriptPage, but which may be handled by my subclasses or should at least be ignored without generating an error. Each token contains the expected parameter count. Negative values indicate tokens that take brace-enclosed blocks.
Definition at line 111 of file PRM_ScriptPage.h.