InstanceFilter Class Template ReferenceBase class for collection filters that use different class for collection and for collection member.
More...
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||
Public Member Functions | |
| virtual Storeable * | add (const S &pToAdd)=0 |
| Add Storeable object to collection. | |
| virtual Storeable & | create () |
| Create new instance of Storeable dervied object of type S. | |
| InstanceFilter (M &pMember) | |
| Constructor. | |
| virtual Storeable * | put () |
| Insert just loaded Storeable derived class to collection. | |
Detailed Description
template<typename M, typename S>
class dba::InstanceFilter< M, S >
Base class for collection filters that use different class for collection and for collection member.
Implmements part of CollectionFilterBase interface.
Constructor & Destructor Documentation
| InstanceFilter | ( | M & | pMember | ) |
Constructor.
- Parameters:
-
pMember referecne to collection that filer will modify
Member Function Documentation
| virtual Storeable* add | ( | const S & | pToAdd | ) | [pure virtual] |
| virtual Storeable& create | ( | ) | [virtual] |
Create new instance of Storeable dervied object of type S.
- Returns:
- new instance
Implements CollectionFilterBase.
| virtual Storeable* put | ( | ) | [virtual] |
Insert just loaded Storeable derived class to collection.
Filters for lists implements this by adding reference to Storeable object returned by create() to contained collection
- Returns:
- pointer to inserted Storeable object
- See also:
- InstanceFilter::put implmementation
Implements CollectionFilterBase.
The documentation for this class was generated from the following file:
| Documentation |
|---|
| Quick start |
| Examples |
| API Documentation |
|---|
| Class hierarchy |
| Member index |
| API Reference |
| Store filters |
| Store table macros |
Generated by doxygen at Fri Oct 22 23:15:45 2010


