Omnidome
Fulldome Mapping Software Toolkit
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions
std::hash< omni::Id > Struct Template Reference

Template specialization for Id to make it hashable. More...

#include <Id.h>

Public Member Functions

size_t operator() (const omni::Id &_id) const
 Use hash<std::string> to produce hash value. More...
 

Detailed Description

template<>
struct std::hash< omni::Id >

Template specialization for Id to make it hashable.

Member Function Documentation

size_t std::hash< omni::Id >::operator() ( const omni::Id _id) const
inline

Use hash<std::string> to produce hash value.

93  {
94  return hash<std::string>()(_id.str().toStdString());
95  }
QString const & str() const
Returns string representation (const)
Definition: Id.cpp:42

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