Rosetta  2021.16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
protocols::canonical_sampling::BiasEnergy::Histogram< T > Class Template Reference
Inheritance diagram for protocols::canonical_sampling::BiasEnergy::Histogram< T >:
Inheritance graph
[legend]

Public Types

typedef
utility::pointer::shared_ptr
< Histogram< T > > 
OP
 
typedef
utility::pointer::shared_ptr
< Histogram const > 
COP
 

Public Member Functions

 Histogram (core::Real grid_min, core::Real grid_max, core::Size ngrid_cells_=100)
 
 Histogram (Histogram const &)
 
Histogramoperator= (Histogram const &)
 
 ~Histogram () override
 
bool check_range (core::Real val) const
 
core::Size cell_index (core::Real val) const
 
core::Size size () const
 
ValueTypeat (core::Size index)
 
ValueType at (core::Size index) const
 
void toggle ()
 
void reset ()
 
void write_to_stream (std::ostream &) const
 
void write_to_string (std::string &) const
 

Private Types

typedef utility::VirtualBase Parent
 
typedef T ValueType
 

Private Member Functions

void copy_data (Histogram const &)
 

Private Attributes

ValueTypedata_
 
ValueTyperecv_buf_
 
core::Real grid_min_
 
core::Real grid_max_
 
core::Real delta_grid_
 
core::Size ngrid_cells_
 

Member Typedef Documentation

template<typename T>
typedef utility::pointer::shared_ptr< Histogram const > protocols::canonical_sampling::BiasEnergy::Histogram< T >::COP
template<typename T>
typedef utility::pointer::shared_ptr< Histogram<T> > protocols::canonical_sampling::BiasEnergy::Histogram< T >::OP
template<typename T>
typedef utility::VirtualBase protocols::canonical_sampling::BiasEnergy::Histogram< T >::Parent
private
template<typename T>
typedef T protocols::canonical_sampling::BiasEnergy::Histogram< T >::ValueType
private

Constructor & Destructor Documentation

template<typename T >
protocols::canonical_sampling::BiasEnergy::Histogram< T >::Histogram ( core::Real  grid_min,
core::Real  grid_max,
core::Size  ngrid_cells_ = 100 
)
template<typename T >
protocols::canonical_sampling::BiasEnergy::Histogram< T >::Histogram ( Histogram< T > const &  other)
template<typename T >
protocols::canonical_sampling::BiasEnergy::Histogram< T >::~Histogram ( )
override

Member Function Documentation

template<typename T>
ValueType& protocols::canonical_sampling::BiasEnergy::Histogram< T >::at ( core::Size  index)
inline
template<typename T>
ValueType protocols::canonical_sampling::BiasEnergy::Histogram< T >::at ( core::Size  index) const
inline
template<typename T >
core::Size protocols::canonical_sampling::BiasEnergy::Histogram< T >::cell_index ( core::Real  val) const
template<typename T >
bool protocols::canonical_sampling::BiasEnergy::Histogram< T >::check_range ( core::Real  val) const
template<typename T >
void protocols::canonical_sampling::BiasEnergy::Histogram< T >::copy_data ( Histogram< T > const &  other)
private
template<typename T >
BiasEnergy::Histogram< T > & protocols::canonical_sampling::BiasEnergy::Histogram< T >::operator= ( Histogram< T > const &  other)
template<typename T >
void protocols::canonical_sampling::BiasEnergy::Histogram< T >::reset ( )
template<typename T>
core::Size protocols::canonical_sampling::BiasEnergy::Histogram< T >::size ( ) const
inline
template<typename T >
void protocols::canonical_sampling::BiasEnergy::Histogram< T >::toggle ( )
template<typename T >
void protocols::canonical_sampling::BiasEnergy::Histogram< T >::write_to_stream ( std::ostream &  os) const
template<typename T >
void protocols::canonical_sampling::BiasEnergy::Histogram< T >::write_to_string ( std::string &  str) const

Member Data Documentation

template<typename T>
ValueType* protocols::canonical_sampling::BiasEnergy::Histogram< T >::data_
private
template<typename T>
core::Real protocols::canonical_sampling::BiasEnergy::Histogram< T >::delta_grid_
private
template<typename T>
core::Real protocols::canonical_sampling::BiasEnergy::Histogram< T >::grid_max_
private
template<typename T>
core::Real protocols::canonical_sampling::BiasEnergy::Histogram< T >::grid_min_
private
template<typename T>
core::Size protocols::canonical_sampling::BiasEnergy::Histogram< T >::ngrid_cells_
private
template<typename T>
ValueType* protocols::canonical_sampling::BiasEnergy::Histogram< T >::recv_buf_
private

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