Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

method< _R > Class Template Reference
[Classes and types for external use]

base class for methods usable in method columns. More...

#include <vdbl_method.h>

Inheritance diagram for method< _R >:

Inheritance graph
[legend]
Collaboration diagram for method< _R >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef _R return_type

Public Methods

virtual const return_typeoperator() () VDBL_PURE_VIRTUAL virtual const return_type &def() VDBL_PURE_VIRTUAL virtual void setcontext(const context *_c

Detailed Description

template<class _R>
class method< _R >

This is the base class, from which all methods should be derived that are used in method_col columns. Its virtual methods are those required from a method used for computing column names dynamically. Such a method is a function object with two additional methods described below.

Definition at line 100 of file vdbl_method.h.


Member Typedef Documentation

template<class _R>
typedef _R method< _R >::return_type
 

This is the type of the return value of the evaluation methods. Note that this type has to coincide with the column type.

Reimplemented from _VDBL_method< _R >.

Definition at line 107 of file vdbl_method.h.


Member Function Documentation

template<class _R>
virtual const return_type& _VDBL_method< _R >::operator()   const [virtual, inherited]
 

set the evaluation context and the evaluation row.


The documentation for this class was generated from the following file:
Generated on Tue Nov 4 01:29:38 2003 for Vienna Database Library by doxygen1.2.18