KiCad PCB EDA Suite
Loading...
Searching...
No Matches
HASH_128 Struct Reference

A storage class for 128-bit hash value. More...

#include <hash_128.h>

Public Member Functions

void Clear ()
 
bool operator== (const HASH_128 &aOther) const
 
std::string ToString () const
 

Public Attributes

union {
   uint8_t   Value8 [16] {}
 
   uint32_t   Value32 [4]
 
   uint64_t   Value64 [2]
 
}; 
 

Detailed Description

A storage class for 128-bit hash value.

Definition at line 35 of file hash_128.h.

Member Function Documentation

◆ Clear()

void HASH_128::Clear ( )
inline

Definition at line 37 of file hash_128.h.

References Value64.

Referenced by SHAPE_POLY_SET::SHAPE_POLY_SET().

◆ operator==()

bool HASH_128::operator== ( const HASH_128 aOther) const
inline

Definition at line 42 of file hash_128.h.

References Value64.

◆ ToString()

std::string HASH_128::ToString ( ) const
inline

Definition at line 47 of file hash_128.h.

References Value64.

Referenced by BOOST_AUTO_TEST_CASE(), and DSN::SPECCTRA_DB::makePADSTACK().

Member Data Documentation

◆ 

union { ... } HASH_128::@39

◆ Value32

uint32_t HASH_128::Value32[4]

Definition at line 60 of file hash_128.h.

◆ Value64

uint64_t HASH_128::Value64[2]

Definition at line 61 of file hash_128.h.

Referenced by BOOST_AUTO_TEST_CASE(), Clear(), MMH3_HASH::hashFinal(), operator==(), and ToString().

◆ Value8

uint8_t HASH_128::Value8[16] {}

Definition at line 59 of file hash_128.h.

Referenced by BOOST_AUTO_TEST_CASE().


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