FreePOOMA
2.4.1
|
#include <AttributeList.h>
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 |
Attribute * | attribute (Size_t n) |
const Attribute * | attribute (Size_t n) const |
template<class T > | |
Size_t | add (T &item) |
bool | remove (Size_t) |
void | print (std::ostream &) const |
typedef AttributeList AttributeList::This_t |
typedef std::vector<Attribute *> AttributeList::List_t |
typedef List_t::size_type AttributeList::Size_t |
Size_t AttributeList::size | ( | ) | const [inline] |
Referenced by add(), attribute(), and Particles< ParticleTraits >::attributes().
Attribute* AttributeList::attribute | ( | Size_t | n | ) | [inline] |
References PAssert, and size().
Referenced by Particles< ParticleTraits >::attribute().
const Attribute* AttributeList::attribute | ( | Size_t | n | ) | const [inline] |
Size_t AttributeList::add | ( | T & | item | ) | [inline] |
References size().
Referenced by Particles< ParticleTraits >::addAttribute().
bool AttributeList::remove | ( | Size_t | ) |
Referenced by Particles< ParticleTraits >::removeAttribute().
void AttributeList::print | ( | std::ostream & | ) | const |