BOSS 6.6.4.p01
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
 

Detailed Description

Definition at line 57 of file HTColumn.h.

Constructor & Destructor Documentation

◆ HTColumn() [1/2]

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

◆ HTColumn() [2/2]

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()

HTColumn::~HTColumn ( )
virtual

Definition at line 83 of file HTColumn.cxx.

84{
85}

Member Function Documentation

◆ block()

const string & HTColumn::block ( ) const
virtual

Definition at line 116 of file HTColumn.cxx.

117{
118 return _block ;
119}

Referenced by print().

◆ clearData()

virtual void HTColumn::clearData ( )
pure virtual

◆ indexLabel()

const string & HTColumn::indexLabel ( ) const
virtual

Definition at line 122 of file HTColumn.cxx.

123{
124 return _indexLabel ;
125}

Referenced by print().

◆ label()

const string & HTColumn::label ( ) const
virtual

Definition at line 110 of file HTColumn.cxx.

111{
112 return _label ;
113}

Referenced by print().

◆ operator=()

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}

◆ print()

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

◆ typeName()

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

Referenced by print().


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