16 using namespace kome::core;
21 #define new new( _NORMAL_BLOCK, __FILE__, __LINE__ )
22 #define malloc( s ) _malloc_dbg( s, _NORMAL_BLOCK, __FILE__, __LINE__ )
85 std::vector< Point< double > >::iterator it =
m_points.begin() + index;
100 std::vector< Point< double > >::iterator it =
m_points.begin() + index;
virtual double onGetY(const unsigned int index)
This method is called by getY method. (override method)
virtual double onGetX(const unsigned int index)
This method is called by getX method. (override method)
virtual void onDeletePoint(const unsigned int index)
This method is called by deletePoint method. (override method)
void sortByY(const bool desc)
sorts peaks by y
virtual void onInsertPoint(const unsigned int index, const double x, const double y)
This method is called by insertPoint method. (override method)
void sortByX(const bool desc)
sorts peaks by x
virtual void onClearPoints()
This method is called by clearPoints method. (override method)
std::vector< Point< double > > m_points
virtual void onAddPoint(const double x, const double y)
This method is called by addPoint method. (override method)
virtual void onReserve(const unsigned int num)
This method is called by reserve method. (override method)
interfaces of PointArray class
virtual ~PointArray()
destructor
2 dimensional point information management class
virtual unsigned int onGetLength()
this method is called by getLength method (override method)