Public Member Functions | Private Member Functions | Private Attributes
QwtClip::PointBuffer< Point > Class Template Reference

List of all members.

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

Detailed Description

template<class Point>
class QwtClip::PointBuffer< Point >

Definition at line 127 of file qwt_clipper.cpp.


Constructor & Destructor Documentation

template<class Point>
QwtClip::PointBuffer< Point >::PointBuffer ( int  capacity = 0) [inline, explicit]

Definition at line 130 of file qwt_clipper.cpp.

template<class Point>
QwtClip::PointBuffer< Point >::~PointBuffer ( ) [inline]

Definition at line 139 of file qwt_clipper.cpp.


Member Function Documentation

template<class Point>
void QwtClip::PointBuffer< Point >::add ( const Point &  point) [inline]

Definition at line 178 of file qwt_clipper.cpp.

template<class Point>
Point* QwtClip::PointBuffer< Point >::data ( ) const [inline]

Definition at line 163 of file qwt_clipper.cpp.

template<class Point>
Point& QwtClip::PointBuffer< Point >::operator[] ( int  i) [inline]

Definition at line 168 of file qwt_clipper.cpp.

template<class Point>
const Point& QwtClip::PointBuffer< Point >::operator[] ( int  i) const [inline]

Definition at line 173 of file qwt_clipper.cpp.

template<class Point>
void QwtClip::PointBuffer< Point >::reserve ( int  size) [inline, private]

Definition at line 187 of file qwt_clipper.cpp.

template<class Point>
void QwtClip::PointBuffer< Point >::reset ( ) [inline]

Definition at line 153 of file qwt_clipper.cpp.

template<class Point>
void QwtClip::PointBuffer< Point >::setPoints ( int  numPoints,
const Point *  points 
) [inline]

Definition at line 145 of file qwt_clipper.cpp.

template<class Point>
int QwtClip::PointBuffer< Point >::size ( ) const [inline]

Definition at line 158 of file qwt_clipper.cpp.


Member Data Documentation

template<class Point>
Point* QwtClip::PointBuffer< Point >::m_buffer [private]

Definition at line 201 of file qwt_clipper.cpp.

template<class Point>
int QwtClip::PointBuffer< Point >::m_capacity [private]

Definition at line 199 of file qwt_clipper.cpp.

template<class Point>
int QwtClip::PointBuffer< Point >::m_size [private]

Definition at line 200 of file qwt_clipper.cpp.


The documentation for this class was generated from the following file:


plotjuggler
Author(s): Davide Faconti
autogenerated on Fri Sep 1 2017 02:41:58