StarAttributeDouble Class Reference

a double attribute More...

#include <StarAttribute.hxx>

Inheritance diagram for StarAttributeDouble:
StarAttribute

List of all members.

Public Member Functions

 StarAttributeDouble (Type type, std::string const &debugName, double value)
 constructor
virtual shared_ptr< StarAttributecreate () const
 create a new attribute
virtual bool read (StarZone &zone, int vers, long endPos, StarObject &object)
 read a zone
virtual void printData (libstoff::DebugStream &o) const
 debug function to print the data

Protected Member Functions

 StarAttributeDouble (StarAttributeDouble const &orig)
 copy constructor

Protected Attributes

double m_value

Detailed Description

a double attribute


Constructor & Destructor Documentation

StarAttributeDouble::StarAttributeDouble ( Type  type,
std::string const &  debugName,
double  value 
) [inline]

constructor

Referenced by create().

StarAttributeDouble::StarAttributeDouble ( StarAttributeDouble const &  orig) [inline, protected]

copy constructor


Member Function Documentation

virtual shared_ptr<StarAttribute> StarAttributeDouble::create ( ) const [inline, virtual]

create a new attribute

Implements StarAttribute.

virtual void StarAttributeDouble::printData ( libstoff::DebugStream o) const [inline, virtual]

debug function to print the data

Reimplemented from StarAttribute.

bool StarAttributeDouble::read ( StarZone zone,
int  vers,
long  endPos,
StarObject object 
) [virtual]

read a zone

Implements StarAttribute.


Member Data Documentation

double StarAttributeDouble::m_value [protected]

Referenced by printData(), and read().


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