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;}
84 operator double()
const;
93 operator bool()
const;
102 operator long()
const;
109 Value(
unsigned long);
111 operator unsigned long()
const;
117 #if !defined(GYOTO_SIZE__T_IS_UNSIGNED_LONG) 131 operator std::string()
const;
138 Value(std::vector<double>);
140 operator std::vector<double>()
const;
147 Value(std::vector<unsigned long>);
149 operator std::vector<unsigned long>()
const;
std::vector< double > VDouble
A vector of double values.
Definition: GyotoValue.h:135
Gyoto::SmartPointer< Gyoto::Screen > Screen
A Screen object.
Definition: GyotoValue.h:189
int type
Type of this instance.
Definition: GyotoValue.h:75
Reference-counting pointers.
Gyoto::SmartPointer< Gyoto::Metric::Generic > Metric
A Metric object.
Definition: GyotoValue.h:153
std::vector< unsigned long > VULong
A vector of unsigned long values.
Definition: GyotoValue.h:144
std::string String
A string value.
Definition: GyotoValue.h:126
#define size_t
If not defined in <sys/types.h>.
Definition: GyotoConfig.h:424
Value()
Default onstructor.
long Long
A long value.
Definition: GyotoValue.h:97
unsigned long ULong
An unsigned long (a.k.a. size_t)
Definition: GyotoValue.h:106
Compile-time configuration.
size_t SizeT
A size_t (only if distinct from unsigned long)
Definition: GyotoValue.h:115
Gyoto::SmartPointer< Gyoto::Astrobj::Generic > Astrobj
An Astrobj Object.
Definition: GyotoValue.h:162
Gyoto::SmartPointer< Gyoto::Spectrum::Generic > Spectrum
A Spectrum object.
Definition: GyotoValue.h:171
Namespace for the Gyoto library.
Definition: GyotoAstrobj.h:46
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:180
bool Bool
A boolean value.
Definition: GyotoValue.h:88
double Double
A double value.
Definition: GyotoValue.h:79