SG::AuxDataOption Class Reference

Hold information about an option setting request. More...

#include <AuxDataOption.h>

List of all members.

Public Member Functions

 AuxDataOption (const std::string &name, int val)
 Constructor, with an integer value.
 AuxDataOption (const std::string &name, float val)
 Constructor, with a float value.
 AuxDataOption (const std::string &name, double val)
 Constructor, with a double value.
std::string name () const
 The name of the option.
int intVal () const
 Return the option value as an integer.
float floatVal () const
 Return the option value as a float.

Detailed Description

Hold information about an option setting request.

This is used to pass an option setting through the setOption interface, which is used to decouple the user interface from the auxiliary store representation classes.

This class holds a name and a value, which can be either an int or a float.


Constructor & Destructor Documentation

SG::AuxDataOption::AuxDataOption ( const std::string &  name,
int  val 
) [inline]

Constructor, with an integer value.

Parameters:
name The option name.
val The option value.
SG::AuxDataOption::AuxDataOption ( const std::string &  name,
float  val 
) [inline]

Constructor, with a float value.

Parameters:
name The option name.
val The option value.
SG::AuxDataOption::AuxDataOption ( const std::string &  name,
double  val 
) [inline]

Constructor, with a double value.

Parameters:
name The option name.
val The option value.

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

Generated on 1 Dec 2017 for RootCore Packages by  doxygen 1.6.1