RSB  0.7.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
rsb::converter::AlwaysApplicable Class Reference

A predicate that unconditionally causes its associated Converter to be selected. More...

#include <PredicateConverterList.h>

Inheritance diagram for rsb::converter::AlwaysApplicable:
Inheritance graph
Collaboration diagram for rsb::converter::AlwaysApplicable:
Collaboration graph

Public Member Functions

bool match (const std::string &) const
 Return true if the Converter associated to this predicate should be selected for key.
std::string getClassName () const
void printContents (std::ostream &) const
- Public Member Functions inherited from rsb::converter::ConverterPredicate
virtual ~ConverterPredicate ()

Detailed Description

A predicate that unconditionally causes its associated Converter to be selected.

Author
jmoringe

Definition at line 73 of file PredicateConverterList.h.

Member Function Documentation

std::string rsb::converter::AlwaysApplicable::getClassName ( ) const
inline

Definition at line 79 of file PredicateConverterList.h.

bool rsb::converter::AlwaysApplicable::match ( const std::string &  key) const
inlinevirtual

Return true if the Converter associated to this predicate should be selected for key.

Parameters
keyDepending on the context, either a wire-schema or a data-type for which a converter has to be selected.
Returns
true if the associated converter should be selected; false otherwise.

Implements rsb::converter::ConverterPredicate.

Definition at line 75 of file PredicateConverterList.h.

void rsb::converter::AlwaysApplicable::printContents ( std::ostream &  ) const
inline

Definition at line 83 of file PredicateConverterList.h.


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