FreePOOMA  2.4.1
Public Types | Public Member Functions
AttributeList Class Reference

#include <AttributeList.h>

List of all members.

Public Types

typedef AttributeList This_t
typedef std::vector< Attribute * > List_t
typedef List_t::size_type Size_t

Public Member Functions

 AttributeList ()
 ~AttributeList ()
Size_t size () const
Attributeattribute (Size_t n)
const Attributeattribute (Size_t n) const
template<class T >
Size_t add (T &item)
bool remove (Size_t)
void print (std::ostream &) const

Member Typedef Documentation

typedef std::vector<Attribute *> AttributeList::List_t
typedef List_t::size_type AttributeList::Size_t

Constructor & Destructor Documentation


Member Function Documentation

Size_t AttributeList::size ( ) const [inline]

References PAssert, and size().

Referenced by Particles< ParticleTraits >::attribute().

const Attribute* AttributeList::attribute ( Size_t  n) const [inline]

References PAssert, and size().

template<class T >
Size_t AttributeList::add ( T &  item) [inline]
void AttributeList::print ( std::ostream &  ) const

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