Elm  2
ELM is a library providing generic data structures, OS-independent interface, plugins and XML.
ElmPlugin Class Reference
+ Inheritance diagram for ElmPlugin:

Public Member Functions

 ElmPlugin (void)
 
virtual void process (string arg)
 
void run (void)
 
- Public Member Functions inherited from Manager
SwitchOption::Make make_switch (void)
 
template<class T >
ValueOption< T >::Make make_value (void)
 
 Manager (void)
 
 Manager (const Make &maker)
 
virtual ~Manager (void)
 
void addOption (Option *option)
 
void removeOption (Option *option)
 
void parse (int argc, argv_t argv)
 
int manage (int artc, argv_t argv)
 
virtual void displayHelp (void)
 
virtual void displayVersion (void)
 
cstring program (void) const
 
const Versionversion (void) const
 
cstring author (void) const
 
cstring copyright (void) const
 
cstring description (void) const
 
cstring freeArgumentDescription (void) const
 
cstring getProgram (void) const
 
const VersiongetVersion (void) const
 
cstring getAuthor (void) const
 
cstring getCopyright (void) const
 
cstring getDescription (void) const
 
cstring getFreeArgumentDescription (void) const
 

Additional Inherited Members

- Public Attributes inherited from Manager
const typedef char *const * argv_t
 
- Protected Member Functions inherited from Manager
const Vector< string > & freeArguments () const
 
- Protected Attributes inherited from Manager
Make info
 

Constructor & Destructor Documentation

◆ ElmPlugin()

ElmPlugin ( void  )
inline

Member Function Documentation

◆ process()

virtual void process ( string  arg)
inlinevirtual

Called each time a free argumend (not tied to an option) is found.

Parameters
argFree argument value.

Reimplemented from Manager.

◆ run()

void run ( void  )
inlinevirtual

Function called to run the application after the command line parse. It is called by Manager::manage() and can be overridden to provide its own behaviour to the application.

The default implementation do nothing.

Exceptions
elm::ExceptionFor any error during application run.

Reimplemented from Manager.


The documentation for this class was generated from the following file: