g4tools  5.4.0
Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | List of all members
tools::histo::base_cloud Class Reference
Inheritance diagram for tools::histo::base_cloud:
Inheritance graph
[legend]

Public Member Functions

 base_cloud (const base_cloud &a_from)
 
base_cloudoperator= (const base_cloud &a_from)
 
const std::string & title () const
 
int max_entries () const
 

Protected Member Functions

 base_cloud (int aLimit)
 
virtual ~base_cloud ()
 

Static Protected Member Functions

static int UNLIMITED ()
 
static unsigned int BINS ()
 

Protected Attributes

std::string m_title
 
int m_limit
 
double m_Sw
 
std::vector< double > m_ws
 

Detailed Description

Definition at line 17 of file base_cloud.

Constructor & Destructor Documentation

◆ base_cloud() [1/2]

tools::histo::base_cloud::base_cloud ( int  aLimit)
inlineprotected

Definition at line 23 of file base_cloud.

24  :m_limit(aLimit)
25  ,m_Sw(0)
26  {
27 #ifdef TOOLS_MEM
28  mem::increment(s_class().c_str());
29 #endif
30  }

◆ ~base_cloud()

virtual tools::histo::base_cloud::~base_cloud ( )
inlineprotectedvirtual

Definition at line 31 of file base_cloud.

31  {
32 #ifdef TOOLS_MEM
33  mem::decrement(s_class().c_str());
34 #endif
35  }

◆ base_cloud() [2/2]

tools::histo::base_cloud::base_cloud ( const base_cloud a_from)
inline

Definition at line 37 of file base_cloud.

38  :m_title(a_from.m_title)
39  ,m_limit(a_from.m_limit)
40  ,m_Sw(a_from.m_Sw)
41  ,m_ws(a_from.m_ws)
42  {
43 #ifdef TOOLS_MEM
44  mem::increment(s_class().c_str());
45 #endif
46  }

Member Function Documentation

◆ BINS()

static unsigned int tools::histo::base_cloud::BINS ( )
inlinestaticprotected

Definition at line 60 of file base_cloud.

60 {return 100;}

◆ max_entries()

int tools::histo::base_cloud::max_entries ( ) const
inline

Definition at line 57 of file base_cloud.

57 {return m_limit;}

◆ operator=()

base_cloud& tools::histo::base_cloud::operator= ( const base_cloud a_from)
inline

Definition at line 48 of file base_cloud.

48  {
49  m_title = a_from.m_title;
50  m_limit = a_from.m_limit;
51  m_Sw = a_from.m_Sw;
52  m_ws = a_from.m_ws;
53  return *this;
54  }

◆ title()

const std::string& tools::histo::base_cloud::title ( ) const
inline

Definition at line 56 of file base_cloud.

56 {return m_title;}

◆ UNLIMITED()

static int tools::histo::base_cloud::UNLIMITED ( )
inlinestaticprotected

Definition at line 59 of file base_cloud.

59 {return -1;}

Member Data Documentation

◆ m_limit

int tools::histo::base_cloud::m_limit
protected

Definition at line 63 of file base_cloud.

◆ m_Sw

double tools::histo::base_cloud::m_Sw
protected

Definition at line 64 of file base_cloud.

◆ m_title

std::string tools::histo::base_cloud::m_title
protected

Definition at line 62 of file base_cloud.

◆ m_ws

std::vector<double> tools::histo::base_cloud::m_ws
protected

Definition at line 65 of file base_cloud.


The documentation for this class was generated from the following file:
tools::histo::base_cloud::m_Sw
double m_Sw
Definition: base_cloud:64
tools::histo::base_cloud::m_limit
int m_limit
Definition: base_cloud:63
tools::histo::base_cloud::m_title
std::string m_title
Definition: base_cloud:62
tools::histo::base_cloud::m_ws
std::vector< double > m_ws
Definition: base_cloud:65