rexlib 0.1.0
Device-agnostic array computing library for CryoEM and CryoET image processing, with a pluggable backend architecture
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Friends | List of all members
rexlib::operation_id Class Reference

Unique identification for an operation type. More...

#include <rexlib/core/operation/operation_id.hpp>

Public Member Functions

 operation_id (std::type_index id) noexcept
 
 operation_id (const operation_id &other)=default
 
 operation_id (operation_id &&other)=default
 
operation_id & operator= (const operation_id &other)=default
 
operation_id & operator= (operation_id &&other)=default
 
std::size_t hash () const noexcept
 Compute the hash for this operation identifier.
 

Static Public Member Functions

template<typename T >
static operation_id of () noexcept
 

Friends

bool operator== (const operation_id &lhs, const operation_id &rhs) noexcept
 
bool operator!= (const operation_id &lhs, const operation_id &rhs) noexcept
 

Detailed Description

Unique identification for an operation type.

Member Function Documentation

◆ hash()

std::size_t rexlib::operation_id::hash ( ) const
noexcept

Compute the hash for this operation identifier.

Returns
std::size_t The hash.

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