Public Member Functions | |
void | add (const Point &point) |
Point * | data () const |
Point & | operator[] (int i) |
const Point & | operator[] (int i) const |
PointBuffer (int capacity=0) | |
void | reset () |
void | setPoints (int numPoints, const Point *points) |
int | size () const |
~PointBuffer () | |
Private Member Functions | |
void | reserve (int size) |
Private Attributes | |
Point * | m_buffer |
int | m_capacity |
int | m_size |
Definition at line 127 of file qwt_clipper.cpp.
QwtClip::PointBuffer< Point >::PointBuffer | ( | int | capacity = 0 | ) | [inline, explicit] |
Definition at line 130 of file qwt_clipper.cpp.
QwtClip::PointBuffer< Point >::~PointBuffer | ( | ) | [inline] |
Definition at line 139 of file qwt_clipper.cpp.
void QwtClip::PointBuffer< Point >::add | ( | const Point & | point | ) | [inline] |
Definition at line 178 of file qwt_clipper.cpp.
Point* QwtClip::PointBuffer< Point >::data | ( | ) | const [inline] |
Definition at line 163 of file qwt_clipper.cpp.
Point& QwtClip::PointBuffer< Point >::operator[] | ( | int | i | ) | [inline] |
Definition at line 168 of file qwt_clipper.cpp.
const Point& QwtClip::PointBuffer< Point >::operator[] | ( | int | i | ) | const [inline] |
Definition at line 173 of file qwt_clipper.cpp.
void QwtClip::PointBuffer< Point >::reserve | ( | int | size | ) | [inline, private] |
Definition at line 187 of file qwt_clipper.cpp.
void QwtClip::PointBuffer< Point >::reset | ( | ) | [inline] |
Definition at line 153 of file qwt_clipper.cpp.
void QwtClip::PointBuffer< Point >::setPoints | ( | int | numPoints, |
const Point * | points | ||
) | [inline] |
Definition at line 145 of file qwt_clipper.cpp.
int QwtClip::PointBuffer< Point >::size | ( | ) | const [inline] |
Definition at line 158 of file qwt_clipper.cpp.
Point* QwtClip::PointBuffer< Point >::m_buffer [private] |
Definition at line 201 of file qwt_clipper.cpp.
int QwtClip::PointBuffer< Point >::m_capacity [private] |
Definition at line 199 of file qwt_clipper.cpp.
int QwtClip::PointBuffer< Point >::m_size [private] |
Definition at line 200 of file qwt_clipper.cpp.