ewmscp  ..
Public Member Functions | Private Attributes | List of all members
statCollectionBase< TC > Class Template Referenceabstract
Collaboration diagram for statCollectionBase< TC >:
[legend]

Public Member Functions

 statCollectionBase (const std::string &aName, const std::string &aUnit="s")
 
virtual void print (unsigned long n)=0
 
virtual void add (TC *)
 
const std::string & getName () const
 
const std::string & getUnit () const
 

Private Attributes

std::string name
 
std::string unit
 

Detailed Description

template<typename TC>
class statCollectionBase< TC >

Definition at line 338 of file fileopstest.cpp.

Constructor & Destructor Documentation

◆ statCollectionBase()

template<typename TC >
statCollectionBase< TC >::statCollectionBase ( const std::string &  aName,
const std::string &  aUnit = "s" 
)
inline

Definition at line 343 of file fileopstest.cpp.

344  : name(aName), unit(aUnit) {};

Member Function Documentation

◆ add()

template<typename TC >
virtual void statCollectionBase< TC >::add ( TC *  )
inlinevirtual

Definition at line 346 of file fileopstest.cpp.

346 {};

◆ getName()

template<typename TC >
const std::string& statCollectionBase< TC >::getName ( ) const
inline

Definition at line 347 of file fileopstest.cpp.

347  {
348  return name;
349  };

◆ getUnit()

template<typename TC >
const std::string& statCollectionBase< TC >::getUnit ( ) const
inline

Definition at line 350 of file fileopstest.cpp.

350  {
351  return unit;
352  };

◆ print()

template<typename TC >
virtual void statCollectionBase< TC >::print ( unsigned long  n)
pure virtual

Implemented in statCollection< T, TC >.

Member Data Documentation

◆ name

template<typename TC >
std::string statCollectionBase< TC >::name
private

Definition at line 340 of file fileopstest.cpp.

Referenced by statCollectionBase< testFile >::getName().

◆ unit

template<typename TC >
std::string statCollectionBase< TC >::unit
private

Definition at line 341 of file fileopstest.cpp.

Referenced by statCollectionBase< testFile >::getUnit().


The documentation for this class was generated from the following file:
statCollectionBase::unit
std::string unit
Definition: fileopstest.cpp:341
statCollectionBase::name
std::string name
Definition: fileopstest.cpp:340