Main Page   Class Hierarchy   Compound List   File List   Compound Members  

dbMethodFastTrampoline< T, R > Class Template Reference

#include <class.h>

Inheritance diagram for dbMethodFastTrampoline< T, R >:

dbAnyMethodTrampoline List of all members.

Public Methods

dbAnyMethodTrampolineoptimize ()
void invoke (byte *data, void *result)

Detailed Description

template<class T, class R>
class dbMethodFastTrampoline< T, R >

Optimized method trampoline which doesn't fetch record from the database and use direct pointer to the record inside database


Member Function Documentation

template<class T, class R>
void dbMethodFastTrampoline< T, R >::invoke byte *    data,
void *    result
[inline, virtual]
 

Invoke method

Parameters:
data  pointer to the record insode database
result  pointer to place result in

Implements dbAnyMethodTrampoline.

template<class T, class R>
dbAnyMethodTrampoline* dbMethodFastTrampoline< T, R >::optimize   [inline, virtual]
 

Get optimize trampoline. Optimized trampoline can be used for records which format in the database is the same as in application. In this case there is no need to fetch record and pointer insode database can be used intead

Returns:
optimized nethod trampoline

Implements dbAnyMethodTrampoline.


The documentation for this class was generated from the following file:
Generated on Mon Oct 23 13:23:59 2006 for FastDB by doxygen1.2.18