Module wxmpl :: Class VectorBuffer
[show private | hide private]
[frames | no frames]

Class VectorBuffer


Manages a Numerical Python vector, automatically growing it as necessary to accomodate new entries.
Method Summary
  __init__(self)
  append(self, point)
Append a new entry to the end of this buffer's vector.
  clear(self)
Zero and reset this buffer without releasing the underlying array.
  getData(self)
Returns the current vector or None if the buffer contains no data.
  reset(self)
Zero and reset this buffer, releasing the underlying array.

Method Details

append(self, point)

Append a new entry to the end of this buffer's vector.

clear(self)

Zero and reset this buffer without releasing the underlying array.

getData(self)

Returns the current vector or None if the buffer contains no data.

reset(self)

Zero and reset this buffer, releasing the underlying array.

Generated by Epydoc 2.1 on Mon Aug 28 13:47:50 2006 http://epydoc.sf.net