26 #ifndef __GyotoValue_H_ 27 #define __GyotoValue_H_ 36 namespace Metric {
class Generic;}
37 namespace Astrobj {
class Generic;}
38 namespace Spectrum {
class Generic;}
39 namespace Spectrometer {
class Generic;}
81 operator double()
const;
90 operator bool()
const;
99 operator long()
const;
106 Value(
unsigned long);
108 operator unsigned long()
const;
114 #if !defined(GYOTO_SIZE__T_IS_UNSIGNED_LONG) 128 operator std::string()
const;
135 Value(std::vector<double>);
137 operator std::vector<double>()
const;
144 Value(std::vector<unsigned long>);
146 operator std::vector<unsigned long>()
const;
std::vector< double > VDouble
A vector of double values.
Definition: GyotoValue.h:132
Gyoto::SmartPointer< Gyoto::Screen > Screen
A Screen object.
Definition: GyotoValue.h:186
int type
Type of this instance.
Definition: GyotoValue.h:72
Reference-counting pointers.
Gyoto::SmartPointer< Gyoto::Metric::Generic > Metric
A Metric object.
Definition: GyotoValue.h:150
std::vector< unsigned long > VULong
A vector of unsigned long values.
Definition: GyotoValue.h:141
std::string String
A string value.
Definition: GyotoValue.h:123
#define size_t
If not defined in <sys/types.h>.
Definition: GyotoConfig.h:387
long Long
A long value.
Definition: GyotoValue.h:94
unsigned long ULong
An unsigned long (a.k.a. size_t)
Definition: GyotoValue.h:103
Compile-time configuration.
size_t SizeT
A size_t (only if distinct from unsigned long)
Definition: GyotoValue.h:112
Gyoto::SmartPointer< Gyoto::Astrobj::Generic > Astrobj
An Astrobj Object.
Definition: GyotoValue.h:159
Gyoto::SmartPointer< Gyoto::Spectrum::Generic > Spectrum
A Spectrum object.
Definition: GyotoValue.h:168
Namespace for the Gyoto library.
Definition: GyotoAstrobj.h:43
Value & operator=(Value const &)
Assignement operator.
Container for the value of a Property.
Definition: GyotoValue.h:60
Gyoto::SmartPointer< Gyoto::Spectrometer::Generic > Spectrometer
A Spectrometer object.
Definition: GyotoValue.h:177
bool Bool
A boolean value.
Definition: GyotoValue.h:85
double Double
A double value.
Definition: GyotoValue.h:76