Predator  [unstable] git snapshot
Public Types | Public Member Functions | Private Types | Private Member Functions | Private Attributes
CleanList< T > Class Template Reference

#include <clean_list.hh>

Inheritance diagram for CleanList< T >:
Inheritance graph
[legend]

Public Types

typedef TList::const_iterator const_iterator
typedef TList::iterator iterator

Public Member Functions

 CleanList ()
 ~CleanList ()
void append (T *ptr)
bool empty () const
unsigned size () const
template<typename TIdx >
T * operator[] (const TIdx idx)
template<typename TIdx >
const T * operator[] (const TIdx idx) const
const_iterator begin () const
 return STL-like iterator to go through the container
const_iterator end () const
 return STL-like iterator to go through the container

Private Types

typedef std::vector< T * > TList

Private Member Functions

 CleanList (const CleanList &)
CleanListoperator= (const CleanList &)

Private Attributes

TList cl_

Detailed Description

template<class T>
class CleanList< T >

Definition at line 29 of file clean_list.hh.

Member Typedef Documentation

typedef TList::const_iterator const_iterator

Definition at line 36 of file clean_list.hh.

typedef TList::iterator iterator

Definition at line 37 of file clean_list.hh.

typedef std::vector<T *> TList
private

Definition at line 31 of file clean_list.hh.

Constructor & Destructor Documentation

CleanList ( )
inline

Definition at line 40 of file clean_list.hh.

~CleanList ( )
inline

Definition at line 42 of file clean_list.hh.

CleanList ( const CleanList< T > &  )
private

Member Function Documentation

void append ( T *  ptr)
inline

Definition at line 48 of file clean_list.hh.

Referenced by OpTemplate::addFootprint(), and OpCollection::addTemplate().

const_iterator begin ( ) const
inline

return STL-like iterator to go through the container

Definition at line 72 of file clean_list.hh.

bool empty ( ) const
inline

Definition at line 52 of file clean_list.hh.

const_iterator end ( ) const
inline

return STL-like iterator to go through the container

Definition at line 77 of file clean_list.hh.

CleanList& operator= ( const CleanList< T > &  )
private
T* operator[] ( const TIdx  idx)
inline

Definition at line 61 of file clean_list.hh.

const T* operator[] ( const TIdx  idx) const
inline

Definition at line 67 of file clean_list.hh.

unsigned size ( ) const
inline

Definition at line 56 of file clean_list.hh.

Referenced by OpTemplate::size(), OpCollection::size(), and GlobalState::size().

Field Documentation

TList cl_
private

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