Public Member Functions | |
| LLCLPValue () | |
| virtual | ~LLCLPValue () |
| void | setMinTokens (unsigned c) |
| void | setMaxTokens (unsigned c) |
| void | setComposing (bool c) |
| void | setLastOption (bool c) |
| void | setNotifyCallback (notify_callback_t f) |
| virtual std::string | name () const |
| virtual unsigned | min_tokens () const |
| virtual unsigned | max_tokens () const |
| virtual bool | is_composing () const |
| virtual bool | apply_default (boost::any &value_store) const |
| virtual void | notify (const boost::any &value_store) const |
Protected Member Functions | |
| void | xparse (boost::any &value_store, const std::vector< std::string > &new_tokens) const |
Private Types | |
| typedef boost::function1< void, const LLCommandLineParser::token_vector_t & > | notify_callback_t |
Private Attributes | |
| unsigned | mMinTokens |
| unsigned | mMaxTokens |
| bool | mIsComposing |
| notify_callback_t | mNotifyCallback |
| bool | mLastOption |
Definition at line 97 of file llcommandlineparser.cpp.
typedef boost::function1<void, const LLCommandLineParser::token_vector_t&> LLCLPValue::notify_callback_t [private] |
Definition at line 102 of file llcommandlineparser.cpp.
| LLCLPValue::LLCLPValue | ( | ) | [inline] |
Definition at line 107 of file llcommandlineparser.cpp.
| virtual LLCLPValue::~LLCLPValue | ( | ) | [inline, virtual] |
Definition at line 114 of file llcommandlineparser.cpp.
| void LLCLPValue::setMinTokens | ( | unsigned | c | ) | [inline] |
Definition at line 116 of file llcommandlineparser.cpp.
References mMinTokens.
Referenced by LLCommandLineParser::addOptionDesc().

| void LLCLPValue::setMaxTokens | ( | unsigned | c | ) | [inline] |
Definition at line 121 of file llcommandlineparser.cpp.
References mMaxTokens.
Referenced by LLCommandLineParser::addOptionDesc().

| void LLCLPValue::setComposing | ( | bool | c | ) | [inline] |
Definition at line 126 of file llcommandlineparser.cpp.
References mIsComposing.
Referenced by LLCommandLineParser::addOptionDesc().

| void LLCLPValue::setLastOption | ( | bool | c | ) | [inline] |
Definition at line 131 of file llcommandlineparser.cpp.
References mLastOption.
Referenced by LLCommandLineParser::addOptionDesc().

| void LLCLPValue::setNotifyCallback | ( | notify_callback_t | f | ) | [inline] |
Definition at line 136 of file llcommandlineparser.cpp.
References mNotifyCallback.
Referenced by LLCommandLineParser::addOptionDesc().

| virtual std::string LLCLPValue::name | ( | ) | const [inline, virtual] |
Definition at line 142 of file llcommandlineparser.cpp.
References max_tokens().

| virtual unsigned LLCLPValue::min_tokens | ( | ) | const [inline, virtual] |
Definition at line 149 of file llcommandlineparser.cpp.
References mMinTokens.
Referenced by xparse().

| virtual unsigned LLCLPValue::max_tokens | ( | ) | const [inline, virtual] |
Definition at line 154 of file llcommandlineparser.cpp.
References mMaxTokens.
Referenced by name(), and xparse().

| virtual bool LLCLPValue::is_composing | ( | ) | const [inline, virtual] |
Definition at line 159 of file llcommandlineparser.cpp.
References mIsComposing.
Referenced by xparse().

| virtual bool LLCLPValue::apply_default | ( | boost::any & | value_store | ) | const [inline, virtual] |
Definition at line 164 of file llcommandlineparser.cpp.
| virtual void LLCLPValue::notify | ( | const boost::any & | value_store | ) | const [inline, virtual] |
| void LLCLPValue::xparse | ( | boost::any & | value_store, | |
| const std::vector< std::string > & | new_tokens | |||
| ) | const [inline, protected] |
Definition at line 181 of file llcommandlineparser.cpp.
References gPastLastOption, i, is_composing(), max_tokens(), min_tokens(), mLastOption, and mMaxTokens.

unsigned LLCLPValue::mMinTokens [private] |
Definition at line 99 of file llcommandlineparser.cpp.
Referenced by min_tokens(), and setMinTokens().
unsigned LLCLPValue::mMaxTokens [private] |
Definition at line 100 of file llcommandlineparser.cpp.
Referenced by max_tokens(), setMaxTokens(), and xparse().
bool LLCLPValue::mIsComposing [private] |
Definition at line 101 of file llcommandlineparser.cpp.
Referenced by is_composing(), and setComposing().
notify_callback_t LLCLPValue::mNotifyCallback [private] |
Definition at line 103 of file llcommandlineparser.cpp.
Referenced by notify(), and setNotifyCallback().
bool LLCLPValue::mLastOption [private] |
Definition at line 104 of file llcommandlineparser.cpp.
Referenced by setLastOption(), and xparse().
1.5.5