The Gnome Chemistry Utils  0.14.0
Public Member Functions | List of all members
gcu::Value Class Reference

#include <gcu/value.h>

Inheritance diagram for gcu::Value:
gcu::DimensionalValue gcu::LocalizedStringValue gcu::SimpleValue gcu::StringValue

Public Member Functions

 Value ()
virtual ~Value ()
virtual char const * GetAsString () const
virtual double GetAsDouble () const

Detailed Description

Base class used for data storing.

Definition at line 39 of file value.h.

Constructor & Destructor Documentation

gcu::Value::Value ( )

Default constructor

virtual gcu::Value::~Value ( )
virtual

Default destructor

Member Function Documentation

virtual double gcu::Value::GetAsDouble ( ) const
virtual
Returns
the value representation as a double or 0. if not a numeric value.

Reimplemented in gcu::DimensionalValue, and gcu::SimpleValue.

virtual char const* gcu::Value::GetAsString ( ) const
virtual
Returns
the value representation as a string.

Reimplemented in gcu::LocalizedStringValue, gcu::StringValue, gcu::DimensionalValue, and gcu::SimpleValue.


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