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

HxRegValue Class Reference

A registry value. More...

#include <HxRegValue.h>

List of all members.

Public Methods

 HxRegValue ()
 Constructor. More...

 HxRegValue (HxString name, const HxRegData &data)
 Constructor. More...

 ~HxRegValue ()
 Destructor. More...

HxString getName () const
 Get name. More...

HxRegData getData () const
 Get data. More...

void setData (const HxRegData &data)
 Set data. More...

int operator< (const HxRegValue &rhs) const
 Compare names. More...

STD_OSTREAM & put (STD_OSTREAM &, int cCode=0) const
 Put on stream. More...


Detailed Description

A registry value.


Constructor & Destructor Documentation

HxRegValue::HxRegValue   [inline]
 

Constructor.

00053                        : _data(0)
00054 {
00055 }

HxRegValue::HxRegValue HxString    name,
const HxRegData   data
[inline]
 

Constructor.

00059     : _name(name), _data(data) 
00060 {
00061 }

HxRegValue::~HxRegValue   [inline]
 

Destructor.

00065 {
00066 }


Member Function Documentation

HxString HxRegValue::getName   const [inline]
 

Get name.

00070 {
00071     return _name;
00072 }

HxRegData HxRegValue::getData   const [inline]
 

Get data.

00076 {
00077     return _data;
00078 }

void HxRegValue::setData const HxRegData   data [inline]
 

Set data.

00082 {
00083     _data = data;
00084 }

int HxRegValue::operator< const HxRegValue &    rhs const [inline]
 

Compare names.

00088 {
00089     return _name < rhs._name;
00090 }

STD_OSTREAM & HxRegValue::put STD_OSTREAM &    os,
int    cCode = 0
const
 

Put on stream.

00016 {
00017     HxString quote = cCode ? "\\\"" : "\"";
00018     os << quote << _name << quote << "=";
00019     _data.put(os, cCode);
00020     return os;
00021 }


The documentation for this class was generated from the following files:
Generated on Mon Jan 27 15:49:09 2003 for C++Reference by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001