Public Member Functions | Private Attributes

soa::Collection Class Reference

#include <soa_types.h>

Inheritance diagram for soa::Collection:
soa::Complex soa::Generic abicollab::Friend abicollab::FriendFiles abicollab::Group abicollab::GroupFiles

List of all members.

Public Member Functions

 Collection (const std::string &n)
size_t size () const
template<class T >
boost::shared_ptr< T > get (const std::string &n)
template<class T >
boost::shared_ptr< T > operator[] (const std::string &n)
virtual void add (GenericPtr element)
std::vector< GenericPtr > & values ()

Private Attributes

std::vector< GenericPtrvalues_

Constructor & Destructor Documentation

soa::Collection::Collection ( const std::string &  n  )  [inline]

Member Function Documentation

virtual void soa::Collection::add ( GenericPtr  element  )  [inline, virtual]

References values_.

template<class T >
boost::shared_ptr<T> soa::Collection::get ( const std::string &  n  )  [inline]

References values_.

template<class T >
boost::shared_ptr<T> soa::Collection::operator[] ( const std::string &  n  )  [inline]
size_t soa::Collection::size (  )  const [inline]

References values_.

std::vector<GenericPtr>& soa::Collection::values (  )  [inline]

References values_.


Member Data Documentation

std::vector<GenericPtr> soa::Collection::values_ [private]

Referenced by add(), get(), size(), and values().


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