#include <soa_types.h>

Public Member Functions | |
| Collection (const std::string &name) | |
| size_t | size () const |
| template<class T> | |
| boost::shared_ptr< T > | get (const std::string &name) |
| template<class T> | |
| boost::shared_ptr< T > | operator[] (const std::string &name) |
| virtual void | add (GenericPtr element) |
| std::vector< GenericPtr > & | values () |
Private Attributes | |
| std::vector< GenericPtr > | values_ |
| soa::Collection::Collection | ( | const std::string & | name | ) | [inline] |
| size_t soa::Collection::size | ( | ) | const [inline] |
References values_.
| boost::shared_ptr<T> soa::Collection::get | ( | const std::string & | name | ) | [inline] |
References soa::Generic::name(), and values_.
| boost::shared_ptr<T> soa::Collection::operator[] | ( | const std::string & | name | ) | [inline] |
| virtual void soa::Collection::add | ( | GenericPtr | element | ) | [inline, virtual] |
References values_.
| std::vector<GenericPtr>& soa::Collection::values | ( | ) | [inline] |
References values_.
std::vector<GenericPtr> soa::Collection::values_ [private] |
1.5.5