28 #ifndef __GyotoComplexSpectrometer_H_
29 #define __GyotoComplexSpectrometer_H_
34 namespace Spectrometer {
125 void
append(Gyoto::SmartPointer<Gyoto::Spectrometer::Generic> element);
132 virtual void
tell(Gyoto::Hook::Teller *msg);
135 #ifdef GYOTO_USE_XERCES
141 virtual void
fillElement(FactoryMessenger *fmp) const ;
Complex spectrometer object.
Definition: GyotoComplexSpectrometer.h:66
virtual Complex * clone() const
Clone an instance.
virtual void tell(Gyoto::Hook::Teller *msg)
This is how a Teller tells.
#define size_t
If not defined in .
Definition: GyotoConfig.h:357
Gyoto::SmartPointer< Gyoto::Spectrometer::Generic > * elements_
Actual array of SmartPointer objects.
Definition: GyotoComplexSpectrometer.h:86
virtual void setParameters(Gyoto::FactoryMessenger *fmp)
Main loop for parsing Properties from XML description.
char const * kind_t
Type for Spectrometer kind.
Definition: GyotoSpectrometer.h:71
void remove(size_t i)
Remove i-th element from the array.
size_t getCardinal() const
Get the number of elements in the array.
virtual void fillElement(Gyoto::FactoryMessenger *fmp) const
Fill the XML element for this Object.
Spectroscopic capabilities of a Screen.
Namespace for the Gyoto library.
Definition: GyotoAstrobj.h:43
Pointers performing reference counting.
Definition: GyotoProperty.h:41
size_t cardinal_
Number of subspectrometers.
Definition: GyotoComplexSpectrometer.h:81
I might listen to a Teller.
Definition: GyotoHooks.h:64
static kind_t const Kind
"Complex"
Definition: GyotoComplexSpectrometer.h:182
void append(Gyoto::SmartPointer< Gyoto::Spectrometer::Generic > element)
Add element at the end of the array.
Base class for spectrometers.
Definition: GyotoSpectrometer.h:172