BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
Reconstruction/MdcPatRec/MdcRecoUtil/include/MdcRecoUtil/HTColumn.h
Go to the documentation of this file.
1//--------------------------------------------------------------------------
2// File and Version Information:
3// $Id: HTColumn.h,v 1.2 2009/12/23 02:59:56 zhangy Exp $
4//
5// Description:
6// Class HTColumn.
7// Base class for the ntuple columns. This is abstract one, all
8// real things will be implemented it the classes for specific types.
9//
10// Environment:
11// Software developed for the BaBar Detector at the SLAC B-Factory.
12//
13// Author List:
14// Salnikov
15//
16// Copyright Information:
17// Copyright (C) 1997 Saclay
18//
19// History:
20// Migration for BESIII MDC
21//
22//------------------------------------------------------------------------
23
24#ifndef HTColumn_H
25#define HTColumn_H
26
27//-------------
28// C Headers --
29//-------------
30extern "C" {}
31
32//---------------
33// C++ Headers --
34//---------------
35#include <iostream>
36#include <string>
37
38//----------------------
39// Base Class Headers --
40//----------------------
41
42//-------------------------------
43// Collaborating Class Headers --
44//-------------------------------
45
46//------------------------------------
47// Collaborating Class Declarations --
48//------------------------------------
49class HTColumnAcceptor;
50
51// ---------------------
52// -- Class Interface --
53// ---------------------
54
55class HTColumn {
56
57 //--------------------
58 // Declarations --
59 //--------------------
60
61 // Typedefs, consts, and enums
62
63 //--------------------
64 // Instance Members --
65 //--------------------
66
67public:
68 // Constructors
69 HTColumn( const std::string& label, const std::string& block = std::string(),
70 const std::string& indexLabel = std::string() );
71
72 // Copy Constructor
73 HTColumn( const HTColumn& );
74
75 // Destructor
76 virtual ~HTColumn();
77
78 // Operators
80
81 // Selectors (const)
82 virtual const std::string& label() const;
83 virtual const std::string& block() const;
84 virtual const std::string& indexLabel() const;
85
86 // typeinfo
87 virtual const std::string& typeName() const = 0;
88
89 // modifiers
90 virtual void clearData() = 0;
91
92 virtual void print( /*std::ostream& out*/ ) const;
93
94protected:
95 // Helper functions
96
97private:
98 // Friends
99
100 // Data members
101 std::string _label;
102 std::string _block;
103 std::string _indexLabel;
104};
105
106#endif // HTColumn_H
HTColumn & operator=(const HTColumn &)
HTColumn(const std::string &label, const std::string &block=std::string(), const std::string &indexLabel=std::string())
virtual const std::string & indexLabel() const
virtual void clearData()=0
virtual void print() const
HTColumn(const HTColumn &)
virtual const std::string & block() const
virtual const std::string & typeName() const =0
virtual const std::string & indexLabel() const
Definition HTColumn.cxx:97
virtual ~HTColumn()
virtual const std::string & block() const
Definition HTColumn.cxx:95
virtual const std::string & label() const
virtual const std::string & label() const
Definition HTColumn.cxx:93