Intel(R) Threading Building Blocks Doxygen Documentation  version 4.2.3
internal::type_to_key_function_body_leaf< Input, Output &, B > Class Template Reference

#include <_flow_graph_body_impl.h>

Inheritance diagram for internal::type_to_key_function_body_leaf< Input, Output &, B >:
Collaboration diagram for internal::type_to_key_function_body_leaf< Input, Output &, B >:

Public Member Functions

 type_to_key_function_body_leaf (const B &_body)
 
const Output & operator() (const Input &i) __TBB_override
 
get_body ()
 
type_to_key_function_body_leafclone () __TBB_override
 
- Public Member Functions inherited from internal::type_to_key_function_body< Input, Output & >
virtual ~type_to_key_function_body ()
 

Private Attributes

body
 

Detailed Description

template<typename Input, typename Output, typename B>
class internal::type_to_key_function_body_leaf< Input, Output &, B >

Definition at line 250 of file _flow_graph_body_impl.h.

Constructor & Destructor Documentation

◆ type_to_key_function_body_leaf()

template<typename Input , typename Output , typename B >
internal::type_to_key_function_body_leaf< Input, Output &, B >::type_to_key_function_body_leaf ( const B &  _body)
inline

Definition at line 252 of file _flow_graph_body_impl.h.

252 : body(_body) { }

Member Function Documentation

◆ clone()

template<typename Input , typename Output , typename B >
type_to_key_function_body_leaf* internal::type_to_key_function_body_leaf< Input, Output &, B >::clone ( )
inlinevirtual

Implements internal::type_to_key_function_body< Input, Output & >.

Definition at line 257 of file _flow_graph_body_impl.h.

257  {
258  return new type_to_key_function_body_leaf< Input, Output&, B>(body);
259  }

◆ get_body()

template<typename Input , typename Output , typename B >
B internal::type_to_key_function_body_leaf< Input, Output &, B >::get_body ( )
inline

Definition at line 256 of file _flow_graph_body_impl.h.

256 { return body; }

◆ operator()()

template<typename Input , typename Output , typename B >
const Output& internal::type_to_key_function_body_leaf< Input, Output &, B >::operator() ( const Input &  i)
inlinevirtual

Implements internal::type_to_key_function_body< Input, Output & >.

Definition at line 253 of file _flow_graph_body_impl.h.

253  {
254  return body(i);
255  }

Member Data Documentation

◆ body

template<typename Input , typename Output , typename B >
B internal::type_to_key_function_body_leaf< Input, Output &, B >::body
private

Definition at line 261 of file _flow_graph_body_impl.h.


The documentation for this class was generated from the following file:
internal::type_to_key_function_body_leaf< Input, Output &, B >::body
B body
Definition: _flow_graph_body_impl.h:261

Copyright © 2005-2020 Intel Corporation. All Rights Reserved.

Intel, Pentium, Intel Xeon, Itanium, Intel XScale and VTune are registered trademarks or trademarks of Intel Corporation or its subsidiaries in the United States and other countries.

* Other names and brands may be claimed as the property of others.