soa::Collection Class Reference

#include <soa_types.h>

Inheritance diagram for soa::Collection:

soa::Complex soa::Generic abicollab::Friend abicollab::Group

List of all members.

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< GenericPtrvalues_


Constructor & Destructor Documentation

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


Member Function Documentation

size_t soa::Collection::size (  )  const [inline]

References values_.

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

References soa::Generic::name(), and values_.

template<class T>
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_.


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:

Generated on Thu Nov 20 00:07:20 2008 for AbiWord by  doxygen 1.5.5