BOSS 7.0.3
BESIII Offline Software System
Loading...
Searching...
No Matches
HTColumn Class Referenceabstract

#include <HTColumn.h>

Public Member Functions

 HTColumn (const std::string &label, const std::string &block=std::string(), const std::string &indexLabel=std::string())
 
 HTColumn (const HTColumn &)
 
virtual ~HTColumn ()
 
HTColumnoperator= (const HTColumn &)
 
virtual const std::string & label () const
 
virtual const std::string & block () const
 
virtual const std::string & indexLabel () const
 
virtual const std::string & typeName () const =0
 
virtual void clearData ()=0
 
virtual void print () const
 
 HTColumn (const std::string &label, const std::string &block=std::string(), const std::string &indexLabel=std::string())
 
 HTColumn (const HTColumn &)
 
virtual ~HTColumn ()
 
HTColumnoperator= (const HTColumn &)
 
virtual const std::string & label () const
 
virtual const std::string & block () const
 
virtual const std::string & indexLabel () const
 
virtual const std::string & typeName () const =0
 
virtual void clearData ()=0
 
virtual void print () const
 

Detailed Description

Constructor & Destructor Documentation

◆ HTColumn() [1/4]

HTColumn::HTColumn ( const std::string &  label,
const std::string &  block = std::string(),
const std::string &  indexLabel = std::string() 
)

◆ HTColumn() [2/4]

HTColumn::HTColumn ( const HTColumn o)

Definition at line 73 of file HTColumn.cxx.

73 :
74 _label(o._label),
75 _block(o._block),
76 _indexLabel(o._indexLabel)
77{
78}

◆ ~HTColumn() [1/2]

HTColumn::~HTColumn ( )
virtual

Definition at line 83 of file HTColumn.cxx.

84{
85}

◆ HTColumn() [3/4]

HTColumn::HTColumn ( const std::string &  label,
const std::string &  block = std::string(),
const std::string &  indexLabel = std::string() 
)

◆ HTColumn() [4/4]

HTColumn::HTColumn ( const HTColumn )

◆ ~HTColumn() [2/2]

virtual HTColumn::~HTColumn ( )
virtual

Member Function Documentation

◆ block() [1/2]

const string & HTColumn::block ( ) const
virtual

Definition at line 116 of file HTColumn.cxx.

117{
118 return _block ;
119}

Referenced by print().

◆ block() [2/2]

virtual const std::string & HTColumn::block ( ) const
virtual

◆ clearData() [1/2]

virtual void HTColumn::clearData ( )
pure virtual

◆ clearData() [2/2]

virtual void HTColumn::clearData ( )
pure virtual

◆ indexLabel() [1/2]

const string & HTColumn::indexLabel ( ) const
virtual

Definition at line 122 of file HTColumn.cxx.

123{
124 return _indexLabel ;
125}

Referenced by print().

◆ indexLabel() [2/2]

virtual const std::string & HTColumn::indexLabel ( ) const
virtual

◆ label() [1/2]

const string & HTColumn::label ( ) const
virtual

Definition at line 110 of file HTColumn.cxx.

111{
112 return _label ;
113}

Referenced by print().

◆ label() [2/2]

virtual const std::string & HTColumn::label ( ) const
virtual

◆ operator=() [1/2]

HTColumn & HTColumn::operator= ( const HTColumn o)

Definition at line 95 of file HTColumn.cxx.

96{
97 if (&o == this) return *this;
98 _label = o._label ;
99 _block = o._block ;
100 _indexLabel = o._indexLabel ;
101
102 return *this ;
103}

◆ operator=() [2/2]

HTColumn & HTColumn::operator= ( const HTColumn )

◆ print() [1/2]

void HTColumn::print ( ) const
virtual

Definition at line 128 of file HTColumn.cxx.

129{
130 cout << label() ;
131 if ( indexLabel().length() > 0 ) cout << "(" << indexLabel() << ")" ;
132 cout<< ends ;
133
134 cout << " @ " << setw(10) << block() ;
135 cout << " : " << typeName() ;
136 cout << endl ;
137 cout << resetiosflags(ios::adjustfield) ;
138}
virtual const std::string & typeName() const =0
virtual const std::string & indexLabel() const
Definition: HTColumn.cxx:122
virtual const std::string & block() const
Definition: HTColumn.cxx:116
virtual const std::string & label() const
Definition: HTColumn.cxx:110

◆ print() [2/2]

virtual void HTColumn::print ( ) const
virtual

◆ typeName() [1/2]

virtual const std::string & HTColumn::typeName ( ) const
pure virtual

Referenced by print().

◆ typeName() [2/2]

virtual const std::string & HTColumn::typeName ( ) const
pure virtual

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