Rosetta Core  2014.35
Public Member Functions | Private Attributes | List of all members
core::io::silent::SilentEnergy Class Reference

Helper class for silent-file classes to keep track of energy information. More...

#include <SilentEnergy.hh>

Public Member Functions

 SilentEnergy ()
 
 SilentEnergy (std::string name, core::Real value, core::Real weight, int width)
 
 SilentEnergy (std::string name, std::string value, int width)
 
std::string const & name () const
 
void name (std::string const &new_name)
 
core::Real value () const
 
void value (core::Real const &new_value)
 
std::string const & string_value () const
 
void value (std::string const &new_string_value)
 
core::Real weight () const
 
void weight (core::Real const &new_weight)
 
int width () const
 
void width (int const &new_width)
 

Private Attributes

std::string name_
 
core::Real value_
 
core::Real weight_
 
int width_
 
std::string string_value_
 

Detailed Description

Helper class for silent-file classes to keep track of energy information.

Constructor & Destructor Documentation

core::io::silent::SilentEnergy::SilentEnergy ( )
inline
core::io::silent::SilentEnergy::SilentEnergy ( std::string  name,
core::Real  value,
core::Real  weight,
int  width 
)
inline
core::io::silent::SilentEnergy::SilentEnergy ( std::string  name,
std::string  value,
int  width 
)
inline

Member Function Documentation

std::string const& core::io::silent::SilentEnergy::name ( ) const
inline
void core::io::silent::SilentEnergy::name ( std::string const &  new_name)
inline

References name_.

std::string const& core::io::silent::SilentEnergy::string_value ( ) const
inline
core::Real core::io::silent::SilentEnergy::value ( ) const
inline
void core::io::silent::SilentEnergy::value ( core::Real const &  new_value)
inline

References value_.

void core::io::silent::SilentEnergy::value ( std::string const &  new_string_value)
inline

References string_value_.

core::Real core::io::silent::SilentEnergy::weight ( ) const
inline

References weight_.

void core::io::silent::SilentEnergy::weight ( core::Real const &  new_weight)
inline

References weight_.

int core::io::silent::SilentEnergy::width ( ) const
inline

References width_.

void core::io::silent::SilentEnergy::width ( int const &  new_width)
inline

References width_.

Member Data Documentation

std::string core::io::silent::SilentEnergy::name_
private

Referenced by name().

std::string core::io::silent::SilentEnergy::string_value_
private

Referenced by string_value(), and value().

core::Real core::io::silent::SilentEnergy::value_
private

Referenced by value().

core::Real core::io::silent::SilentEnergy::weight_
private

Referenced by weight().

int core::io::silent::SilentEnergy::width_
private

Referenced by width().


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