**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License (version 2) as
**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License (version 2) as
- double* xOutline() {return m_xOutline;}
- double* yOutline() {return m_yOutline;}
+ double* xOutline() {return m_xOutline;}\r
+ double* yOutline() {return m_yOutline;}\r
+ double* const xOutline() const {return m_xOutline;}\r
+ double* const yOutline() const {return m_yOutline;}\r
const double atten() const {return m_atten;}
const double diameter() const {return m_diameter;}
const double xmin() const {return m_xmin;}
const double atten() const {return m_atten;}
const double diameter() const {return m_diameter;}
const double xmin() const {return m_xmin;}
const double cx() const {return m_cx;}
const double cy() const {return m_cy;}
const double u() const {return m_u;}
const double cx() const {return m_cx;}
const double cy() const {return m_cy;}
const double u() const {return m_u;}
static const int POINTS_PER_CIRCLE;
static const double SCALE_PELEM_EXTENT; // increase pelem limits by 0.5%
static const int POINTS_PER_CIRCLE;
static const double SCALE_PELEM_EXTENT; // increase pelem limits by 0.5%
void convertToImagefile (ImageFile& im, const int in_nsample, const int trace, const int colStart, const int colCount, bool bStoreAtColumnPos) const;
void convertToImagefile (ImageFile& im, const int in_nsample, const int trace) const;
void convertToImagefile (ImageFile& im, const int in_nsample, const int trace, const int colStart, const int colCount, bool bStoreAtColumnPos) const;
void convertToImagefile (ImageFile& im, const int in_nsample, const int trace) const;
- const string& failMessage() const {return m_failMessage;}
- const string& name() const {return m_name;}
+ const std::string& failMessage() const {return m_failMessage;}
+ const std::string& name() const {return m_name;}
const double xmax() const {return m_xmax;}
const double ymin() const {return m_ymin;}
const double ymax() const {return m_ymax;}
const double xmax() const {return m_xmax;}
const double ymin() const {return m_ymin;}
const double ymax() const {return m_ymax;}
- slist<PhantomElement*>& listPElem() {return m_listPElem;}
- const slist<PhantomElement*>& listPElem() const {return m_listPElem;}
+ std::list<PhantomElement*>& listPElem() {return m_listPElem;}
+ const std::list<PhantomElement*>& listPElem() const {return m_listPElem;}
const int nPElem() const {return m_nPElem;}
static const int getPhantomCount() {return s_iPhantomCount;}
const int nPElem() const {return m_nPElem;}
static const int getPhantomCount() {return s_iPhantomCount;}
int m_nPElem; // number of pelems in phantom
double m_xmin, m_xmax, m_ymin, m_ymax; // extent of pelems in pelem coordinates
double m_diameter; // diameter of object
int m_nPElem; // number of pelems in phantom
double m_xmin, m_xmax, m_ymin, m_ymax; // extent of pelems in pelem coordinates
double m_diameter; // diameter of object
-typedef slist<PhantomElement*>::iterator PElemIterator;
-typedef slist<PhantomElement*>::const_iterator PElemConstIterator;
+typedef std::list<PhantomElement*>::iterator PElemIterator;
+typedef std::list<PhantomElement*>::const_iterator PElemConstIterator;