Ignition Common

API Reference

3.0.0
detail/PluginPtr.hh File Reference
#include <memory>
#include <utility>
#include "ignition/common/PluginPtr.hh"
#include "ignition/common/TemplateHelpers.hh"

Go to the source code of this file.

Classes

struct  hash< TemplatePluginPtr< PluginType > >
 Template specialization that provides a hash function for PluginPtr so that it can easily be used in STL objects like std::unordered_set and std::unordered_map. More...
 

Namespaces

 ignition
 Forward declarations for the common classes.
 
 ignition::common
 
 std
 STL namespace.
 

Macros

#define DETAIL_IGN_COMMON_PLUGINPTR_IMPLEMENT_OPERATOR(op)
 

Macro Definition Documentation

◆ DETAIL_IGN_COMMON_PLUGINPTR_IMPLEMENT_OPERATOR

#define DETAIL_IGN_COMMON_PLUGINPTR_IMPLEMENT_OPERATOR (   op)
Value:
template <typename PluginType>\
bool TemplatePluginPtr<PluginType>::operator op (\
const TemplatePluginPtr &_other) const\
{\
return (this->dataPtr->PrivateGetInstancePtr() op \
_other.dataPtr->PrivateGetInstancePtr() );\
}