Lumiera  0.pre.03
»edit your freedom«
LocalKey Class Reference

#include "steam/engine/buffer-local-key.hpp"

Description

an opaque ID to be used by the BufferProvider implementation.

Typically this will be used, to set apart some pre-registered kinds of buffers. It is treated as being part of the buffer type. LocalKey objects may be copied but not re-assigned or changed.

Definition at line 58 of file buffer-local-key.hpp.

Public Member Functions

 LocalKey (uint64_t opaqueValue=0)
 
 LocalKey (void *impl_related_ptr)
 
bool isDefined () const
 
 operator uint64_t () const
 
 operator void * () const
 

Classes

union  OpaqueData
 

Friends

size_t hash_value (LocalKey const &lkey)
 
class metadata::Key
 but Key assignments are acceptable
 
bool operator!= (LocalKey const &left, LocalKey const &right)
 
bool operator== (LocalKey const &left, LocalKey const &right)
 

Private Member Functions

LocalKeyoperator= (LocalKey const &o)
 assignment usually prohibited
 

Private Attributes

OpaqueData privateID_
 

Class Documentation

◆ steam::engine::LocalKey::OpaqueData

union steam::engine::LocalKey::OpaqueData
Class Members
uint64_t _as_number
void * _as_pointer
+ Collaboration diagram for LocalKey::OpaqueData:
+ Collaboration diagram for LocalKey:

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