GClasses
|
#include <usage.h>
Public Member Functions | |
UsageNode (const char *templ, const char *descr) | |
~UsageNode () | |
UsageNode * | add (const char *templ, const char *descr="") |
UsageNode * | choice (const char *name) |
std::vector< UsageNode * > & | choices () |
std::string & | default_value () |
const char * | descr () |
int | findPart (const char *name) |
std::vector< std::string > & | parts () |
void | print (std::ostream &stream, int depth, int tabSize, int maxWidth, int maxDepth, bool descriptions) |
void | setTok (const char *token) |
void | sig (std::string *pS) |
const char * | tok () |
Protected Attributes | |
std::vector< UsageNode * > | m_choices |
std::string | m_default_value |
std::string | m_description |
std::vector< std::string > | m_parts |
UsageNode::UsageNode | ( | const char * | templ, |
const char * | descr | ||
) |
UsageNode::~UsageNode | ( | ) |
UsageNode* UsageNode::add | ( | const char * | templ, |
const char * | descr = "" |
||
) |
UsageNode* UsageNode::choice | ( | const char * | name | ) |
|
inline |
|
inline |
|
inline |
int UsageNode::findPart | ( | const char * | name | ) |
|
inline |
void UsageNode::print | ( | std::ostream & | stream, |
int | depth, | ||
int | tabSize, | ||
int | maxWidth, | ||
int | maxDepth, | ||
bool | descriptions | ||
) |
|
inline |
void UsageNode::sig | ( | std::string * | pS | ) |
|
inline |
|
protected |
|
protected |
|
protected |
|
protected |