Argument Interface

class JSL::ArgumentInterface

A wrapper class for all Argument

objects, enabling heterogenous argument lists etc. to be constructed.

Contains the virtual methods common to all objects. All

Argument objects are assumed to take name-value pairs, with the associated name indicated by the TriggerString

Subclassed by JSL::Argument< T >

Public Functions

inline ArgumentInterface(std::string string)
inline virtual void Parse(char *name, char *value)

Virtual alias for Argument::Parse()

inline virtual void ListParse(int argc, char *argv[])

Virtual alias for Argument::ListParse()

inline virtual void Configure(std::string configFile, char configDelimiter)

Virtual alias for Argument::Configure()

inline virtual void StreamTo(std::stringstream &stream, std::string delimiter)

Public Members

const std::string TriggerString

The chosen “Name” of the Argument - the string which will trigger the Parse() function to write in the passed value.