a double attribute More...
#include <StarAttribute.hxx>
Public Member Functions | |
StarAttributeDouble (Type type, std::string const &debugName, double value) | |
constructor | |
virtual shared_ptr< StarAttribute > | create () 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 |
a double attribute
StarAttributeDouble::StarAttributeDouble | ( | Type | type, |
std::string const & | debugName, | ||
double | value | ||
) | [inline] |
constructor
Referenced by create().
StarAttributeDouble::StarAttributeDouble | ( | StarAttributeDouble const & | orig | ) | [inline, protected] |
copy constructor
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.
double StarAttributeDouble::m_value [protected] |
Referenced by printData(), and read().