HTColumn Class Reference

#include <HTColumn.h>

List of all members.

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::stringlabel () const
virtual const std::stringblock () const
virtual const std::stringindexLabel () const
virtual const std::stringtypeName () const =0
virtual void clearData ()=0
virtual void print () const

Private Attributes

std::string _label
std::string _block
std::string _indexLabel


Detailed Description

Definition at line 57 of file HTColumn.h.


Constructor & Destructor Documentation

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

HTColumn::HTColumn ( const HTColumn  ) 

Definition at line 73 of file HTColumn.cxx.

00073                                      :
00074   _label(o._label),
00075   _block(o._block),
00076   _indexLabel(o._indexLabel)
00077 {
00078 }

HTColumn::~HTColumn (  )  [virtual]

Definition at line 83 of file HTColumn.cxx.

00084 {
00085 }


Member Function Documentation

const string & HTColumn::block (  )  const [virtual]

Definition at line 116 of file HTColumn.cxx.

References _block.

Referenced by print().

00117 {
00118   return _block ;
00119 }

virtual void HTColumn::clearData (  )  [pure virtual]

const string & HTColumn::indexLabel (  )  const [virtual]

Definition at line 122 of file HTColumn.cxx.

References _indexLabel.

Referenced by print().

00123 {
00124   return _indexLabel ;
00125 }

const string & HTColumn::label (  )  const [virtual]

Definition at line 110 of file HTColumn.cxx.

References _label.

Referenced by print().

00111 {
00112   return _label ;
00113 }

HTColumn & HTColumn::operator= ( const HTColumn  ) 

Definition at line 95 of file HTColumn.cxx.

References _block, _indexLabel, and _label.

00096 {
00097   if (&o == this) return *this;
00098   _label = o._label ;
00099   _block = o._block ;
00100   _indexLabel = o._indexLabel ;
00101 
00102   return *this ;
00103 }

void HTColumn::print (  )  const [virtual]

Definition at line 128 of file HTColumn.cxx.

References block(), indexLabel(), label(), and typeName().

00129 {
00130   cout << label() ;
00131   if ( indexLabel().length() > 0 ) cout << "(" << indexLabel() << ")" ;
00132   cout<< ends ;
00133 
00134   cout << " @ " << setw(10) << block() ;
00135   cout << " : " << typeName() ;
00136   cout << endl ;
00137   cout << resetiosflags(ios::adjustfield) ;
00138 }

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

Referenced by print().


Member Data Documentation

std::string HTColumn::_block [private]

Definition at line 108 of file HTColumn.h.

Referenced by block(), and operator=().

std::string HTColumn::_indexLabel [private]

Definition at line 109 of file HTColumn.h.

Referenced by indexLabel(), and operator=().

std::string HTColumn::_label [private]

Definition at line 107 of file HTColumn.h.

Referenced by label(), and operator=().


Generated on Tue Nov 29 23:19:42 2016 for BOSS_7.0.2 by  doxygen 1.4.7