MeshKit  1.0
buffer< T > Class Template Reference

#include <Buffer.h>

Inheritance diagram for buffer< T >:

List of all members.

Public Member Functions

 buffer ()
 buffer (int l)
void init (int l)
int add (const T &t)
void reset ()
int find (const T &)
remove (int i)
int addAll (const buffer< T > &buf)
void removeDuplicates ()
int length () const
int maxLength () const

Protected Attributes

int fill

Detailed Description

template<class T>
class buffer< T >

Definition at line 7 of file Buffer.h.


Constructor & Destructor Documentation

buffer ( ) [inline]

Definition at line 11 of file Buffer.h.

buffer ( int  l) [inline]

Definition at line 12 of file Buffer.h.


Member Function Documentation

int add ( const T &  t) [inline]

Definition at line 29 of file Buffer.h.

int addAll ( const buffer< T > &  buf) [inline]

Definition at line 71 of file Buffer.h.

int find ( const T &  t) [inline]

Definition at line 46 of file Buffer.h.

void init ( int  l) [inline]

Reimplemented from array< T >.

Definition at line 14 of file Buffer.h.

int length ( ) const [inline]

Reimplemented from array< T >.

Definition at line 23 of file Buffer.h.

int maxLength ( ) const [inline]

Reimplemented from array< T >.

Definition at line 24 of file Buffer.h.

T remove ( int  i) [inline]

Definition at line 56 of file Buffer.h.

void removeDuplicates ( ) [inline]

Definition at line 80 of file Buffer.h.

void reset ( ) [inline]

Definition at line 40 of file Buffer.h.


Member Data Documentation

int fill [protected]

Definition at line 9 of file Buffer.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines