All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
AppendInterfaceName Struct Reference

Helper class for the cast used in the MPL for_each algorithm in the implementation of query_interface. More...

#include <GaudiKernel/implements.h>

Collaboration diagram for AppendInterfaceName:

Public Member Functions

 AppendInterfaceName (std::vector< std::string > &_v)
 
template<typename IID >
void operator() (IID)
 

Public Attributes

std::vector< std::string > & v
 vector to be filled. More...
 

Detailed Description

Helper class for the cast used in the MPL for_each algorithm in the implementation of query_interface.

Author
Marco Clemencic

Definition at line 33 of file implements.h.

Constructor & Destructor Documentation

AppendInterfaceName::AppendInterfaceName ( std::vector< std::string > &  _v)
inline

Definition at line 36 of file implements.h.

36 : v(_v) {}
std::vector< std::string > & v
vector to be filled.
Definition: implements.h:35

Member Function Documentation

template<typename IID >
void AppendInterfaceName::operator() ( IID  )
inline

Definition at line 39 of file implements.h.

39 { v.push_back(IID::name()); }
std::vector< std::string > & v
vector to be filled.
Definition: implements.h:35

Member Data Documentation

std::vector<std::string>& AppendInterfaceName::v

vector to be filled.

Definition at line 35 of file implements.h.


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