|
Jpp
|
Interface for I/O of parser element. More...
#include <JParser.hh>
Public Member Functions | |
| const std::string & | getName () const |
| Get name of parameter. More... | |
| const std::string & | getHelp () const |
| Get help of parameter. More... | |
| virtual bool | getStatus () const =0 |
| Get status of parameter. More... | |
| virtual bool | getInitialisationStatus () const =0 |
| Get initialisation status of parameter. More... | |
| virtual void | setInitialiationStatus (const bool value)=0 |
| Set initialisation status of parameter. More... | |
| virtual void | print (std::ostream &out) const |
| Print. More... | |
| virtual bool | gcount () const |
| Read counter. More... | |
| virtual std::istream & | read (std::istream &in)=0 |
| Stream input. More... | |
| virtual std::ostream & | write (std::ostream &out) const =0 |
| Stream output. More... | |
Protected Member Functions | |
| JParserElementInterface (const std::string &name="arg", const std::string &help="") | |
| Constructor. More... | |
Protected Attributes | |
| std::string | __name |
| std::string | __help |
Interface for I/O of parser element.
Definition at line 344 of file JParser.hh.
|
inlineprotected |
Constructor.
| name | name of object |
| help | help of object |
Definition at line 355 of file JParser.hh.
|
inline |
|
inline |
|
pure virtual |
Get status of parameter.
Implemented in JPARSER::JParserTemplateElement< JCounter >, JPARSER::JParserTemplateElement< bool >, JPARSER::JParserTemplateElement< JType_t, true >, and JPARSER::JParserTemplateElement< JType_t, false >.
|
pure virtual |
Get initialisation status of parameter.
Implemented in JPARSER::JParserTemplateElement< JCounter >, JPARSER::JParserTemplateElement< bool >, and JPARSER::JParserTemplateElement< JType_t, false >.
|
pure virtual |
Set initialisation status of parameter.
| value | initialisation status |
Implemented in JPARSER::JParserTemplateElement< JCounter >, JPARSER::JParserTemplateElement< bool >, and JPARSER::JParserTemplateElement< JType_t, false >.
|
inlinevirtual |
Print.
| out | output stream |
Reimplemented in JPARSER::JParserTemplateElement< JType_t, true >.
Definition at line 415 of file JParser.hh.
|
inlinevirtual |
Read counter.
Reimplemented in JPARSER::JParserTemplateElement< JCounter >, and JPARSER::JParserTemplateElement< bool >.
Definition at line 437 of file JParser.hh.
|
pure virtualinherited |
Stream input.
| in | input stream |
Implemented in JEEP::JPropertiesTemplateElement< JProperties >, JPARSER::JParserTemplateElement< JCounter >, JEEP::JPropertiesTemplateElement< JProperties::JFileReader >, JPARSER::JParserTemplateElement< bool >, JPARSER::JParserTemplateElement< JType_t, false >, JEEP::JPropertiesTemplateElement< const T >, JEEP::JPropertiesTemplateElement< T >, JTOOLS::JAutoPointer< JDerived_t, JBase_t >, and JLANG::JValueInput< T >.
|
pure virtualinherited |
Stream output.
| out | output stream |
Implemented in JEEP::JPropertiesTemplateElement< JProperties >, JPARSER::JParserTemplateElement< JCounter >, JEEP::JPropertiesTemplateElement< JProperties::JFileReader >, JPARSER::JParserTemplateElement< bool >, JPARSER::JParserTemplateElement< JType_t, false >, JEEP::JPropertiesTemplateElement< const T >, JEEP::JPropertiesTemplateElement< T >, JLANG::JValueOutput< T >, and JTOOLS::JAutoPointer< JDerived_t, JBase_t >.
|
protected |
Definition at line 444 of file JParser.hh.
|
protected |
Definition at line 445 of file JParser.hh.
1.8.5