ra4_stats  0341147a0dc35f80f4e12c6003afb76a38e2ed6e
Public Member Functions | Private Attributes | List of all members
Block Class Reference

#include <block.hpp>

Public Member Functions

 Block (const std::string &name, const std::vector< std::vector< Bin > > &bins)
 
 Block (const std::string &name, std::initializer_list< std::vector< Bin > > bins)
 
const std::string & Name () const
 
BlockName (const std::string &name)
 
const std::vector< std::vector< Bin > > & Bins () const
 
std::vector< std::vector< Bin > > & Bins ()
 
bool operator< (const Block &b) const
 
bool operator== (const Block &b) const
 

Private Attributes

std::vector< std::vector< Bin > > bins_
 
std::string name_
 

Detailed Description

Definition at line 12 of file block.hpp.

Constructor & Destructor Documentation

Block::Block ( const std::string &  name,
const std::vector< std::vector< Bin > > &  bins 
)
Block::Block ( const std::string &  name,
std::initializer_list< std::vector< Bin > >  bins 
)

Member Function Documentation

const vector< vector< Bin > > & Block::Bins ( ) const
vector< vector< Bin > > & Block::Bins ( )

Definition at line 32 of file block.cpp.

References bins_.

const string & Block::Name ( ) const
Block & Block::Name ( const std::string &  name)

Definition at line 23 of file block.cpp.

References scan_aggregate::name, and name_.

bool Block::operator< ( const Block b) const

Definition at line 36 of file block.cpp.

References bins_.

bool Block::operator== ( const Block b) const

Definition at line 40 of file block.cpp.

References bins_.

Member Data Documentation

std::vector<std::vector<Bin> > Block::bins_
private

Definition at line 27 of file block.hpp.

Referenced by Bins(), operator<(), and operator==().

std::string Block::name_
private

Definition at line 28 of file block.hpp.

Referenced by Name().


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