method< _TR > 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< _TR >:

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

Collaboration graph
[legend]

List of all members.

Public Types

typedef _TR return_type

Public Member Functions

virtual return_type operator() () const VDBL_PURE_VIRTUALvirtual return_type def() const VDBL_PURE_VIRTUALvirtual void setcontext(const context *_c


Detailed Description

template<class _TR>
class method< _TR >

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 101 of file vdbl_method.h.


Member Typedef Documentation

template<class _TR >
typedef _TR method< _TR >::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< _TR >.

Definition at line 108 of file vdbl_method.h.


Member Function Documentation

virtual return_type _VDBL_method< _TR >::operator() (  )  const [virtual, inherited]

compute the value compute the default value set the evaluation context and the evaluation row.


The documentation for this class was generated from the following file:

Generated on Tue Feb 9 14:59:54 2010 for Vienna Database Library by  doxygen 1.5.8