jaula API Reference
version 1.4.0
|
29 #ifndef _JAULA_VALUE_NUMBER_H_
30 #define _JAULA_VALUE_NUMBER_H_
32 #include <jaula/jaula_value.h>
80 virtual void repr(std::ostream &ostr)
const;
87 void set(
double data);
virtual void repr(std::ostream &ostr) const
Represents the instance in a stream.
Definition: jaula_value_number.cc:55
double getData(void) const
Retrieves the value contained by the instance.
Definition: jaula_value_number.cc:50
Class for handling numeric values.
Definition: jaula_value_number.h:51
void set(double data)
Establishes the contents of the instance.
Definition: jaula_value_number.cc:60
Namespace for all library definitions.
Definition: jaula.h:438
virtual ~Value_Number()
Destructor.
Definition: jaula_value_number.cc:47
virtual void set(Value const &origin)
Copies the contents of one instance into another.
Definition: jaula_value.cc:61
void addOrigin(std::string const &origin)
Attachs a new origin after the existing ones.
Definition: jaula_exception.cc:144
Base class for handling values.
Definition: jaula_value.h:52
double data_
Container to hold the value itself.
Definition: jaula_value_number.h:105
class for incompatible data type exceptions
Definition: jaula_bad_data_type.h:52
Value_Number(double data=0)
Constructor.
Definition: jaula_value_number.cc:42
Copyright (c) 2007, 2008, 2009 Kombo Morongo.
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.2
or any later version published by the Free Software Foundation;
with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
A copy of the license is included in the section entitled "GNU Free Documentation License".
API Reference Generated for jaula by