DAQ  1.0.0
Data Acquisition System (basic demo)
Public Member Functions | Private Attributes | List of all members
Variable Class Reference

#include <variable.h>

Collaboration diagram for Variable:
Collaboration graph
[legend]

Public Member Functions

 Variable ()=default
 
 Variable (const std::string &name, const std::string &color)
 
 Variable (const Variable &var)=default
 
 Variable (Variable &&var) noexcept=default
 
Variableoperator= (Variable &&var)=default
 
Variableoperator= (const Variable &var)=default
 
void set_name (const std::string &name) noexcept
 
void set_color (const std::string &color) noexcept
 
const std::string & name () const noexcept
 
const std::string & color () const noexcept
 

Private Attributes

std::string name_
 
std::string color_
 

Constructor & Destructor Documentation

Variable::Variable ( )
default
Variable::Variable ( const std::string &  name,
const std::string &  color 
)

Here is the call graph for this function:

Here is the caller graph for this function:

Variable::Variable ( const Variable var)
default
Variable::Variable ( Variable &&  var)
defaultnoexcept

Member Function Documentation

const std::string & Variable::color ( ) const
noexcept

Here is the caller graph for this function:

const std::string & Variable::name ( ) const
noexcept

Here is the caller graph for this function:

Variable& Variable::operator= ( Variable &&  var)
default
Variable& Variable::operator= ( const Variable var)
default
void Variable::set_color ( const std::string &  color)
noexcept
void Variable::set_name ( const std::string &  name)
noexcept

Member Data Documentation

std::string Variable::color_
private
std::string Variable::name_
private

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