StoreableFilter Class Template ReferenceBase class for storeable filters.
More...
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Public Member Functions | |
| virtual void * | getRef () const throw (APIException) |
| Get pointer to C++ member. | |
| virtual bool | hasRef () const |
| Check if filter contains data to convert. | |
| StoreableFilter (T &pMember) | |
| Constructor. | |
| virtual void | updateRef (void *pNewMember) |
| Update pointer to C++ member to new address. | |
Protected Attributes | |
| T * | mMember |
| pointer to object that this filter should modify. | |
Detailed Description
template<typename T>
class dba::StoreableFilter< T >
Base class for storeable filters.
Handles pointer update and construction of filter. You have to implement conversion rooutines to be able to create filters.
- Warning:
- this filter will operate on different pointers to members of objects storead as mMember. There is \ no guarantee that pointer that is set by updateRef will not change between calls to fromString or toXXX calls
Constructor & Destructor Documentation
| StoreableFilter | ( | T & | pMember | ) |
Constructor.
- Parameters:
-
pMember object that this filter should modify
Member Function Documentation
| virtual void* getRef | ( | ) | const throw (APIException) [virtual] |
Get pointer to C++ member.
- Exceptions:
-
APIException if updateRef was not called before
Implements StoreableFilterBase.
| virtual void updateRef | ( | void * | pNewMember | ) | [virtual] |
Update pointer to C++ member to new address.
This method is used by dba just before filter usage.
- Parameters:
-
pNewMember address of new member
Implements StoreableFilterBase.
Member Data Documentation
T* mMember [protected] |
pointer to object that this filter should modify.
Can be changed by updateRef.
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:47 2010


