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, void > Class Template Reference

#include <xst_static_noarg_void.h>

List of all members.


Detailed Description

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

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

StaticActionT
Template parameter specifying type which is a function pointer to global or static void function with no arguments.

Definition at line 49 of file xst_static_noarg_void.h.

Public Types

typedef xst_static_action<
StaticActionT, void, void > 
action_T
 Defines type of semantic action represented by this closure object.
typedef int 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, void > action_T
 

Defines type of semantic action represented by this closure object.

Definition at line 62 of file xst_static_noarg_void.h.

typedef int result_T
 

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

Definition at line 65 of file xst_static_noarg_void.h.

Referenced by xst_static_action< StaticActionT, void, void >::operator *(), and xst_static_action< StaticActionT, void, void >::operator()().

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 68 of file xst_static_noarg_void.h.


Member Function Documentation

result_T operator *  )  const [inline]
 

Overloaded dereference operator invokes encapsulated function.

Definition at line 93 of file xst_static_noarg_void.h.

References xst_static_action< StaticActionT, void, void >::result_T.

result_T operator() bool   )  const [inline]
 

Calls encapsulated function when invoked by cttl_impl::xst_translator.

Definition at line 87 of file xst_static_noarg_void.h.

References xst_static_action< StaticActionT, void, void >::result_T.

xst_static_action StaticActionT  static_action_  )  [inline]
 

Constructs and initializes the object.

Definition at line 71 of file xst_static_noarg_void.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