Horus Doc || C++ Reference || Class Overview   Pixels   Images   Detector   Geometry   Registry || Doxygen's quick Index  

HxTagTem Class Template Reference

Template specialization of HxTag to store any type of value as a tag. More...

#include <HxTagTem.h>

Inheritance diagram for HxTagTem::

HxTag List of all members.

Public Methods

 HxTagTem (HxString name, ValT v)
 Constructor. More...

virtual ~HxTagTem ()
 Destructor. More...

virtual HxTagclone () const
 Clone operation. More...

ValT getValue () const
 Get the value of this tag. More...

virtual std::ostream & put (std::ostream &) const
 To put the tag on an ostream. More...


Protected Methods

 HxTagTem (const HxTagTem &rhs)
 Copy constructor. More...


Detailed Description

template<class ValT>
class HxTagTem< ValT >

Template specialization of HxTag to store any type of value as a tag.


Constructor & Destructor Documentation

template<class ValT>
HxTagTem< ValT >::HxTagTem HxString    name,
ValT    v
[inline]
 

Constructor.

00051     : HxTag(name), _value(v)
00052 {
00053 }

template<class ValT>
HxTagTem< ValT >::~HxTagTem   [virtual]
 

Destructor.

00020 {
00021 }

template<class ValT>
HxTagTem< ValT >::HxTagTem const HxTagTem< ValT > &    rhs [inline, protected]
 

Copy constructor.

00058     :  HxTag(rhs), _value(rhs._value)
00059 {
00060 }


Member Function Documentation

template<class ValT>
HxTag * HxTagTem< ValT >::clone   const [virtual]
 

Clone operation.

Reimplemented from HxTag.

00026 {
00027     return new HxTagTem(*this);
00028 }

template<class ValT>
ValT HxTagTem< ValT >::getValue   const [inline]
 

Get the value of this tag.

00035 {return _value;}

template<class ValT>
std::ostream & HxTagTem< ValT >::put std::ostream &    os const [virtual]
 

To put the tag on an ostream.

Reimplemented from HxTag.

00033 {
00034     os << getName() << " = " << _value;
00035     return os;
00036 }


The documentation for this class was generated from the following files:
Generated on Tue Feb 3 14:19:08 2004 for C++Reference by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001