TuttleOFX  1
tuttle::host::memory::Key Struct Reference

#include <IMemoryCache.hpp>

Public Types

typedef Key This

Public Member Functions

 Key (const std::string &identifier, const double &time)
bool operator< (const This &) const
bool operator== (const This &v) const
std::size_t getHash () const

Data Fields

std::string _identifier
double _time

Friends

std::ostream & operator<< (std::ostream &os, const Key &v)

Detailed Description

Definition at line 23 of file IMemoryCache.hpp.


Member Typedef Documentation

Definition at line 25 of file IMemoryCache.hpp.


Constructor & Destructor Documentation

tuttle::host::memory::Key::Key ( const std::string &  identifier,
const double &  time 
) [inline]

Definition at line 26 of file IMemoryCache.hpp.


Member Function Documentation

std::size_t tuttle::host::memory::Key::getHash ( ) const

Definition at line 22 of file IMemoryCache.cpp.

References _identifier, and _time.

Referenced by tuttle::host::memory::KeyHash::operator()().

bool tuttle::host::memory::Key::operator< ( const This other) const

Definition at line 10 of file IMemoryCache.cpp.

References _identifier, and _time.

bool tuttle::host::memory::Key::operator== ( const This v) const

Definition at line 17 of file IMemoryCache.cpp.

References _identifier, and _time.


Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const Key v 
) [friend]

Definition at line 31 of file IMemoryCache.cpp.


Field Documentation


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