ra4_draw  4bd0201e3d922d42bd545d4b045ed44db33454a4
Public Member Functions | Public Attributes | List of all members
SimpleVariable Class Reference

Pairs a type and name of a variable accessible via Baby. More...

#include <generate_baby.hpp>

Public Member Functions

 SimpleVariable (const std::string &type, const std::string &name)
 Standard constructor. More...
 

Public Attributes

std::string type_
 Type of variable (e.g., int, float, etc.) More...
 
std::string name_
 Name of variable (e.g., ht, met, etc.) More...
 

Detailed Description

Pairs a type and name of a variable accessible via Baby.

Used only to generate Baby classes, but not in subsequent analysis code.

Definition at line 8 of file generate_baby.hpp.

Constructor & Destructor Documentation

SimpleVariable::SimpleVariable ( const std::string &  type,
const std::string &  name 
)

Standard constructor.

Parameters
[in]typeType of variable (e.g., int, float, etc.)
[in]nameName of variable (e.g., ht, met, etc.)

Definition at line 54 of file generate_baby.cxx.

Member Data Documentation

std::string SimpleVariable::name_

Name of variable (e.g., ht, met, etc.)

Definition at line 11 of file generate_baby.hpp.

Referenced by GetVariables().

std::string SimpleVariable::type_

Type of variable (e.g., int, float, etc.)

Definition at line 10 of file generate_baby.hpp.

Referenced by GetVariables().


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