SavableManagers Class Reference

This class is a bucket for SavableManager objects. More...

#include <SavableManagers.h>

List of all members.

Public Member Functions

 SavableManagers (TableImplPtr table)
 Constructs a SavableManager bucket with the specified table.
 ~SavableManagers ()
 Destructor, a noop.
TableImplPtr getTable () const
 Returns the table this SavableManager bucket is for.
void addManager (SavableManagerPtr manager)
 Add a manager to the bucket, it is asserted at run-time to belong to the same table this bucket was constructed with.
Strings getHeader () const
 Returns a header that details all the fields for the table this SavableManager bucket was constructed with.
size_t size () const
 Returns the size of the SavableManagers in this bucket.
SavableManagerVector::const_iterator begin () const
 Returns an iterator to the first SavableManager in this bucket.
SavableManagerVector::const_iterator end () const
 Returns the 'end' iterator of the SavableManagers in this bucket.


Detailed Description

This class is a bucket for SavableManager objects.

It will only add SavableManagers that belong to the same table the bucket was constructed with. This is asserted at run-time.

See also:
SavableManager

Definition at line 39 of file SavableManagers.h.


Constructor & Destructor Documentation

SavableManagers::SavableManagers ( TableImplPtr  table  ) 

Constructs a SavableManager bucket with the specified table.

SavableManagers::~SavableManagers (  ) 

Destructor, a noop.


Member Function Documentation

TableImplPtr SavableManagers::getTable (  )  const

Returns the table this SavableManager bucket is for.

void SavableManagers::addManager ( SavableManagerPtr  manager  ) 

Add a manager to the bucket, it is asserted at run-time to belong to the same table this bucket was constructed with.

Strings SavableManagers::getHeader (  )  const

Returns a header that details all the fields for the table this SavableManager bucket was constructed with.

size_t SavableManagers::size (  )  const [inline]

Returns the size of the SavableManagers in this bucket.

Definition at line 61 of file SavableManagers.h.

SavableManagerVector::const_iterator SavableManagers::begin (  )  const [inline]

Returns an iterator to the first SavableManager in this bucket.

Definition at line 64 of file SavableManagers.h.

SavableManagerVector::const_iterator SavableManagers::end (  )  const [inline]

Returns the 'end' iterator of the SavableManagers in this bucket.

Definition at line 67 of file SavableManagers.h.


Generated for UnsignedByte by  doxygen 1.5.3
SourceForge.net Logo