cttl_impl
contains implementation classes and functions of CTTL library.
More...
Classes | |
class | xst_binary_adaptor |
Lambda expression adaptor for binary operators. More... | |
struct | xst_const_scalar |
Implements lambda primitive representing integer constants. More... | |
class | xst_deposit_adaptor |
Expression adaptor for lambda instructions. More... | |
class | xst_dictionary_translator |
Function object to translate value of source type to integral type by storing it inside a dictionary represented by sequence and associative container. More... | |
class | xst_edge_translator |
Function object to translate substring to a null-terminated array of characters. More... | |
struct | xst_instruction_1_operand |
Primary template for cttt_impl::xst_instruction_1_operand is not used. More... | |
struct | xst_instruction_1_operand< FirstOperandT, neg_top_ > |
struct | xst_instruction_1_operand< FirstOperandT, pop_data_ > |
struct | xst_instruction_1_operand< FirstOperandT, push_data_ > |
struct | xst_instruction_2_operand |
Primary template for cttt_impl::xst_instruction_2_operand is not used. More... | |
struct | xst_instruction_2_operand< FirstOperandT, SecondOperandT, add_size_ > |
struct | xst_instruction_2_operand< FirstOperandT, SecondOperandT, add_top_ > |
struct | xst_instruction_2_operand< FirstOperandT, SecondOperandT, add_value_ > |
struct | xst_instruction_2_operand< FirstOperandT, SecondOperandT, div_size_ > |
struct | xst_instruction_2_operand< FirstOperandT, SecondOperandT, div_top_ > |
struct | xst_instruction_2_operand< FirstOperandT, SecondOperandT, div_value_ > |
struct | xst_instruction_2_operand< FirstOperandT, SecondOperandT, move_size_ > |
struct | xst_instruction_2_operand< FirstOperandT, SecondOperandT, move_top_ > |
struct | xst_instruction_2_operand< FirstOperandT, SecondOperandT, move_value_ > |
struct | xst_instruction_2_operand< FirstOperandT, SecondOperandT, mul_size_ > |
struct | xst_instruction_2_operand< FirstOperandT, SecondOperandT, mul_top_ > |
struct | xst_instruction_2_operand< FirstOperandT, SecondOperandT, mul_value_ > |
struct | xst_instruction_2_operand< FirstOperandT, SecondOperandT, push_size_ > |
struct | xst_instruction_2_operand< FirstOperandT, SecondOperandT, push_top_ > |
struct | xst_instruction_2_operand< FirstOperandT, SecondOperandT, push_value_ > |
struct | xst_instruction_2_operand< FirstOperandT, SecondOperandT, sub_size_ > |
struct | xst_instruction_2_operand< FirstOperandT, SecondOperandT, sub_top_ > |
struct | xst_instruction_2_operand< FirstOperandT, SecondOperandT, sub_value_ > |
struct | xst_instruction_traits |
Implements primary template describing deposit instruction traits. More... | |
struct | xst_instruction_traits< neg_top_ > |
struct | xst_instruction_traits< pop_data_ > |
struct | xst_instruction_traits< push_data_ > |
class | xst_iterator_writer |
Helper function object to write lambda compound to output iterator. More... | |
struct | xst_lambda_wrap |
Wrapper class for C++ types implementing lambda primitive adaptors. More... | |
class | xst_literal_translator |
Function object to enclose character literal into lambda expression with potential of conversion to various data types. More... | |
class | xst_member_action |
Implements closure object for member function with one argument. More... | |
class | xst_member_action< ObjectT, MemberActionT, ArgumentT, void > |
class | xst_member_action< ObjectT, MemberActionT, void, ResultT > |
class | xst_member_action< ObjectT, MemberActionT, void, void > |
struct | xst_non_scalar_traits< std::bitset< N > > |
struct | xst_pair |
Implements binary connector for lambda compounds. More... | |
struct | xst_scalar |
Implements scalar lambda primitive. More... | |
class | xst_sequence_translator |
Function object to translate value by using array index of value stored in STL sequence container. More... | |
struct | xst_stack |
Implements stack lambda primitive. More... | |
class | xst_static_action |
Implements closure object for function with one argument. More... | |
class | xst_static_action< StaticActionT, ArgumentT, void > |
class | xst_static_action< StaticActionT, void, ResultT > |
class | xst_static_action< StaticActionT, void, void > |
class | xst_storage_adaptor |
Primary template implements interface for an instance of C++ object. More... | |
class | xst_storage_adaptor< ValueT & > |
class | xst_storage_adaptor< ValueT const & > |
class | xst_trace_delayed_char |
Helper object to display single character upon return from a function call or exit from a local scope. More... | |
class | xst_traced_action_base |
Base class for CTTL traceable closure objects. More... | |
struct | xst_translator |
Placeholder for higher-order-function expression. More... | |
class | xst_unary_adaptor |
Lambda expression adaptor for binary operators. More... | |
Functions | |
template<typename ObjectT , typename MemberActionT > | |
xst_member_action< ObjectT &, MemberActionT, void, typename MemberActionT::result_type > | xst_traced_action (ObjectT *pobject_, MemberActionT action_) |
Helper function to create closure object for member function with no arguments. | |
template<typename ObjectT , typename MemberActionT > | |
xst_member_action< ObjectT const &, MemberActionT, void, typename MemberActionT::result_type > | xst_traced_action (ObjectT const &object_, MemberActionT action_) |
Helper function to create closure object for constant member function with no arguments. | |
template<typename ObjectT , typename MemberActionT , typename ArgumentT > | |
xst_member_action< ObjectT &, MemberActionT, ArgumentT const &, typename MemberActionT::result_type > | xst_traced_action (ObjectT *pobject_, MemberActionT action_, ArgumentT const &argument_) |
Helper function to create closure object for member function with one constant argument. | |
template<typename ObjectT , typename MemberActionT , typename ArgumentT > | |
xst_member_action< ObjectT const &, MemberActionT, ArgumentT const &, typename MemberActionT::result_type > | xst_traced_action (ObjectT const &object_, MemberActionT action_, ArgumentT const &argument_) |
Helper function to create closure object for constant member function with one constant argument. | |
template<typename ObjectT , typename MemberActionT , typename ArgumentT > | |
xst_member_action< ObjectT &, MemberActionT, ArgumentT &, typename MemberActionT::result_type > | xst_traced_action (ObjectT *pobject_, MemberActionT action_, ArgumentT *pargument_) |
Helper function to create closure object for member function with one mutable argument. | |
template<typename ObjectT , typename MemberActionT , typename ArgumentT > | |
xst_member_action< ObjectT const &, MemberActionT, ArgumentT &, typename MemberActionT::result_type > | xst_traced_action (ObjectT const &object_, MemberActionT action_, ArgumentT *pargument_) |
Helper function to create closure object for constant member function with one mutable argument. | |
template<typename ReturnT , typename StaticActionT > | |
xst_static_action < StaticActionT, void, ReturnT > | xst_traced_action (StaticActionT action_) |
Helper function to create closure object for free function with no arguments. | |
template<typename StaticActionT , typename ArgumentT > | |
xst_static_action < StaticActionT, ArgumentT const &, typename StaticActionT::result_type > | xst_traced_action (StaticActionT action_, ArgumentT const &argument_) |
Helper function to create closure object for free function with one constant argument. | |
template<typename StaticActionT , typename ArgumentT > | |
xst_static_action < StaticActionT, ArgumentT &, typename StaticActionT::result_type > | xst_traced_action (StaticActionT action_, ArgumentT *pargument_) |
Helper function to create closure object for free function with one mutable argument. |
cttl_impl
contains implementation classes and functions of CTTL library.
xst_member_action< ObjectT&, MemberActionT, void, typename MemberActionT::result_type > cttl_impl::xst_traced_action | ( | ObjectT * | pobject_, | |
MemberActionT | action_ | |||
) |
Helper function to create closure object for member function with no arguments.
ObjectT | specifies C++ type implementing desired member function. | |
MemberActionT | specifies member function pointer adaptor compatible with STL adaptable unary function such as mem_fun_t. |
pobject_ | Pointer to object. | |
action_ | Instance of function pointer adaptor for unary member function. |
Definition at line 455 of file xst_action_helpers_traced.h.
00463 { 00464 return xst_member_action< ObjectT&, MemberActionT, void, typename MemberActionT::result_type >( 00465 #ifdef CTTL_TRACE_DEPOSITS 00466 line_, 00467 action_name_, 00468 #endif // CTTL_TRACE_DEPOSITS 00469 *pobject_, 00470 action_ 00471 ); 00472 }
xst_member_action< ObjectT const&, MemberActionT, void, typename MemberActionT::result_type > cttl_impl::xst_traced_action | ( | ObjectT const & | object_, | |
MemberActionT | action_ | |||
) |
Helper function to create closure object for constant member function with no arguments.
ObjectT | specifies C++ type implementing desired member function. | |
MemberActionT | specifies constant member function pointer adaptor compatible with STL adaptable unary function such as std::const_mem_fun_t . |
object_ | Reference to object. | |
action_ | Instance of function pointer adaptor for constant unary member function. |
Definition at line 411 of file xst_action_helpers_traced.h.
00419 { 00420 return xst_member_action< ObjectT const&, MemberActionT, void, typename MemberActionT::result_type >( 00421 #ifdef CTTL_TRACE_DEPOSITS 00422 line_, 00423 action_name_, 00424 #endif // CTTL_TRACE_DEPOSITS 00425 object_, 00426 action_ 00427 ); 00428 }
xst_member_action< ObjectT&, MemberActionT, ArgumentT const&, typename MemberActionT::result_type > cttl_impl::xst_traced_action | ( | ObjectT * | pobject_, | |
MemberActionT | action_, | |||
ArgumentT const & | argument_ | |||
) |
Helper function to create closure object for member function with one constant argument.
ObjectT | specifies C++ type implementing desired member function. | |
MemberActionT | specifies member function pointer adaptor compatible with STL adaptable binary function such as mem_fun1_t: | |
ArgumentT | specifies type of unary function argument. |
pobject_ | Pointer to object. | |
action_ | Instance of function pointer adaptor for unary member function. | |
argument_ | Reference to argument of member function. |
Definition at line 366 of file xst_action_helpers_traced.h.
00375 { 00376 return xst_member_action< ObjectT&, MemberActionT, ArgumentT const&, typename MemberActionT::result_type >( 00377 #ifdef CTTL_TRACE_DEPOSITS 00378 line_, 00379 action_name_, 00380 #endif // CTTL_TRACE_DEPOSITS 00381 *pobject_, 00382 action_, 00383 argument_ 00384 ); 00385 }
xst_member_action< ObjectT const&, MemberActionT, ArgumentT const&, typename MemberActionT::result_type > cttl_impl::xst_traced_action | ( | ObjectT const & | object_, | |
MemberActionT | action_, | |||
ArgumentT const & | argument_ | |||
) |
Helper function to create closure object for constant member function with one constant argument.
ObjectT | specifies C++ type implementing desired member function. | |
MemberActionT | specifies constant member function pointer adaptor compatible with STL adaptable binary function such as std::const_mem_fun1_t . | |
ArgumentT | specifies type of member function argument. |
object_ | Reference to object. | |
action_ | Instance of function pointer adaptor for constant unary member function. | |
argument_ | Reference to function argument. |
Definition at line 314 of file xst_action_helpers_traced.h.
00323 { 00324 return xst_member_action< ObjectT const&, MemberActionT, ArgumentT const&, typename MemberActionT::result_type >( 00325 #ifdef CTTL_TRACE_DEPOSITS 00326 line_, 00327 action_name_, 00328 #endif // CTTL_TRACE_DEPOSITS 00329 object_, 00330 action_, 00331 argument_ 00332 ); 00333 }
xst_member_action< ObjectT&, MemberActionT, ArgumentT&, typename MemberActionT::result_type > cttl_impl::xst_traced_action | ( | ObjectT * | pobject_, | |
MemberActionT | action_, | |||
ArgumentT * | pargument_ | |||
) |
Helper function to create closure object for member function with one mutable argument.
ObjectT | specifies C++ type implementing desired member function. | |
MemberActionT | specifies member function pointer adaptor compatible with STL adaptable binary function such as mem_fun1_t: | |
ArgumentT | specifies type of unary function argument. |
pobject_ | Pointer to object. | |
action_ | Instance of function pointer adaptor for unary member function. | |
pargument_ | Pointer to member function argument. |
Definition at line 264 of file xst_action_helpers_traced.h.
00273 { 00274 return xst_member_action< ObjectT&, MemberActionT, ArgumentT&, typename MemberActionT::result_type >( 00275 #ifdef CTTL_TRACE_DEPOSITS 00276 line_, 00277 action_name_, 00278 #endif // CTTL_TRACE_DEPOSITS 00279 *pobject_, 00280 action_, 00281 *pargument_ 00282 ); 00283 }
xst_member_action< ObjectT const&, MemberActionT, ArgumentT&, typename MemberActionT::result_type > cttl_impl::xst_traced_action | ( | ObjectT const & | object_, | |
MemberActionT | action_, | |||
ArgumentT * | pargument_ | |||
) |
Helper function to create closure object for constant member function with one mutable argument.
ObjectT | specifies C++ type implementing desired member function. | |
MemberActionT | specifies constant member function pointer adaptor compatible with STL adaptable binary function such as std::const_mem_fun1_t . | |
ArgumentT | specifies type of member function argument. |
object_ | Reference to object. | |
action_ | Instance of function pointer adaptor for constant unary member function. | |
pargument_ | Pointer to function argument. |
Definition at line 212 of file xst_action_helpers_traced.h.
00221 { 00222 return xst_member_action< ObjectT const&, MemberActionT, ArgumentT&, typename MemberActionT::result_type >( 00223 #ifdef CTTL_TRACE_DEPOSITS 00224 line_, 00225 action_name_, 00226 #endif // CTTL_TRACE_DEPOSITS 00227 object_, 00228 action_, 00229 *pargument_ 00230 ); 00231 }
xst_static_action< StaticActionT, void, ReturnT > cttl_impl::xst_traced_action | ( | StaticActionT | action_ | ) |
Helper function to create closure object for free function with no arguments.
StaticActionT | specifies type which is a function pointer to global or static member function with no arguments. | |
ReturnT | specifies function return type. |
action_ | Function pointer. |
Definition at line 163 of file xst_action_helpers_traced.h.
00170 { 00171 return xst_static_action< StaticActionT, void, ReturnT >( 00172 #ifdef CTTL_TRACE_DEPOSITS 00173 line_, 00174 action_name_, 00175 #endif // CTTL_TRACE_DEPOSITS 00176 action_ 00177 ); 00178 }
xst_static_action< StaticActionT, ArgumentT const&, typename StaticActionT::result_type > cttl_impl::xst_traced_action | ( | StaticActionT | action_, | |
ArgumentT const & | argument_ | |||
) |
Helper function to create closure object for free function with one constant argument.
StaticActionT | specifies type which is a function pointer adaptor compatible with STL adaptable unary function, such as pointer_to_unary_function: | |
ArgumentT | specifies type of unary function argument. |
action_ | Instance of function pointer adaptor for global or static member unary function. | |
argument_ | Constant reference to unary function argument. |
Definition at line 126 of file xst_action_helpers_traced.h.
00134 { 00135 return xst_static_action< StaticActionT, ArgumentT const&, typename StaticActionT::result_type >( 00136 #ifdef CTTL_TRACE_DEPOSITS 00137 line_, 00138 action_name_, 00139 #endif // CTTL_TRACE_DEPOSITS 00140 action_, 00141 argument_ 00142 ); 00143 }
xst_static_action< StaticActionT, ArgumentT&, typename StaticActionT::result_type > cttl_impl::xst_traced_action | ( | StaticActionT | action_, | |
ArgumentT * | pargument_ | |||
) |
Helper function to create closure object for free function with one mutable argument.
StaticActionT | specifies type which is a function pointer adaptor compatible with STL adaptable unary function, such as pointer_to_unary_function: | |
ArgumentT | specifies type unary function argument. |
action_ | Instance of function pointer adaptor for global or static member unary function. | |
pargument_ | Pointer to unary function argument. |
Definition at line 83 of file xst_action_helpers_traced.h.
00091 { 00092 return xst_static_action< StaticActionT, ArgumentT&, typename StaticActionT::result_type >( 00093 #ifdef CTTL_TRACE_DEPOSITS 00094 line_, 00095 action_name_, 00096 #endif // CTTL_TRACE_DEPOSITS 00097 action_, 00098 *pargument_ 00099 ); 00100 }