Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

xst_static_action< StaticActionT, void, ResultT > Class Template Reference

#include <xst_static_noarg_action.h>

List of all members.


Detailed Description

template<typename StaticActionT, typename ResultT>
class cttl_impl::xst_static_action< StaticActionT, void, ResultT >

Implements partial specialization for closure object for function with no arguments.

StaticActionT
Template parameter specifying type which is a function pointer to global or static member function with no arguments.
ResultT
Template parameter specifying type of function return value.

Definition at line 52 of file xst_static_noarg_action.h.

Public Types

typedef xst_static_action<
StaticActionT, void, ResultT > 
action_T
 Defines type of semantic action represented by this closure object.
typedef ResultT result_T
 Defines return type of semantic action represented by this closure object.
typedef xst_dereference_traits<
action_T, result_T >::value_type 
value_type
 Defines type of dereferenced semantic action represented by this closure object.

Public Member Functions

result_T operator * () const
 Overloaded dereference operator invokes encapsulated function.
result_T operator() (bool) const
 Calls encapsulated function when invoked by cttl_impl::xst_translator.
 xst_static_action (StaticActionT static_action_)
 Constructs and initializes the object.


Member Typedef Documentation

typedef xst_static_action< StaticActionT, void, ResultT > action_T
 

Defines type of semantic action represented by this closure object.

Definition at line 64 of file xst_static_noarg_action.h.

typedef ResultT result_T
 

Defines return type of semantic action represented by this closure object.

Definition at line 67 of file xst_static_noarg_action.h.

typedef xst_dereference_traits< action_T, result_T >::value_type value_type
 

Defines type of dereferenced semantic action represented by this closure object.

Definition at line 70 of file xst_static_noarg_action.h.


Member Function Documentation

result_T operator *  )  const [inline]
 

Overloaded dereference operator invokes encapsulated function.

Definition at line 95 of file xst_static_noarg_action.h.

result_T operator() bool   )  const [inline]
 

Calls encapsulated function when invoked by cttl_impl::xst_translator.

Definition at line 89 of file xst_static_noarg_action.h.

xst_static_action StaticActionT  static_action_  )  [inline]
 

Constructs and initializes the object.

Definition at line 73 of file xst_static_noarg_action.h.


The documentation for this class was generated from the following file:
Generated on Thu Nov 2 17:49:08 2006 for CTTL Lambda Expression by  doxygen 1.3.9.1