GURLS++  2.0.00
C++ Implementation of GURLS Matlab Toolbox
gurls::GurlsOption Class Reference

GurlsOption is an abstraction of a generic `option', which is widely used within the GURLS++ package to store either numeric parameters necessary to configure specific algorigms or sequences of strings holding the names of the specific procedures that have to be performed. More...

#include <options.h>

Inheritance diagram for gurls::GurlsOption:

List of all members.

Public Member Functions

virtual const std::type_info & getDataID ()
 Returns the identifier of the option type.
OptTypes getType () const
 Returns the option type.
 GurlsOption (OptTypes t)
 Constructor from an option type.
virtual bool isA (OptTypes id) const
 Checks if the option has the given type.
virtual std::ostream & operator<< (std::ostream &os) const =0
 Writes the option to a stream.
virtual ~GurlsOption ()
 Destructor.

Protected Attributes

OptTypes type
 Option type.

Friends

GURLS_EXPORT std::ostream & operator<< (std::ostream &os, const GurlsOption &opt)
 Writes an option to a stream.

Detailed Description

The instances of the GurlsOption class hold information about the type (one of the elements in the OptTypes enumeration), while the value related to each specific option is stored using the attributes of the subclasses of GurlsOption.

Definition at line 90 of file options.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends