OpenDDS  Snapshot(2023/04/28-20:55)
Public Member Functions | Public Attributes | List of all members
OpenDDS::DCPS::MultiTopicDataReader_T< Sample, TypedDataReader >::Contains Struct Reference

Public Member Functions

 Contains (const OPENDDS_STRING &s)
 
bool operator() (const std::pair< const std::set< OPENDDS_STRING >, SampleVec > &e) const
 

Public Attributes

const OPENDDS_STRINGlook_for_topic_
 

Detailed Description

template<typename Sample, typename TypedDataReader>
struct OpenDDS::DCPS::MultiTopicDataReader_T< Sample, TypedDataReader >::Contains

Definition at line 178 of file MultiTopicDataReader_T.h.

Constructor & Destructor Documentation

◆ Contains()

template<typename Sample , typename TypedDataReader >
OpenDDS::DCPS::MultiTopicDataReader_T< Sample, TypedDataReader >::Contains::Contains ( const OPENDDS_STRING s)
inlineexplicit

Definition at line 179 of file MultiTopicDataReader_T.h.

Member Function Documentation

◆ operator()()

template<typename Sample , typename TypedDataReader >
bool OpenDDS::DCPS::MultiTopicDataReader_T< Sample, TypedDataReader >::Contains::operator() ( const std::pair< const std::set< OPENDDS_STRING >, SampleVec > &  e) const
inline

Definition at line 180 of file MultiTopicDataReader_T.h.

181  {
182  return e.first.count(look_for_topic_);
183  }

Member Data Documentation

◆ look_for_topic_

template<typename Sample , typename TypedDataReader >
const OPENDDS_STRING& OpenDDS::DCPS::MultiTopicDataReader_T< Sample, TypedDataReader >::Contains::look_for_topic_

Definition at line 185 of file MultiTopicDataReader_T.h.


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