sparrow-ipc 0.2.0
Loading...
Searching...
No Matches
sparrow_ipc::CompressionCache Class Reference

#include <compression.hpp>

Public Member Functions

 CompressionCache ()
 
 ~CompressionCache ()
 
 CompressionCache (CompressionCache &&) noexcept
 
CompressionCacheoperator= (CompressionCache &&) noexcept
 
 CompressionCache (const CompressionCache &)=delete
 
CompressionCacheoperator= (const CompressionCache &)=delete
 
std::optional< std::span< const std::uint8_t > > find (const void *data_ptr, const size_t data_size)
 
std::span< const std::uint8_t > store (const void *data_ptr, const size_t data_size, std::vector< std::uint8_t > &&data)
 
size_t size () const
 
size_t count (const void *data_ptr, const size_t data_size) const
 
bool empty () const
 
void clear ()
 

Detailed Description

Definition at line 22 of file compression.hpp.

Constructor & Destructor Documentation

◆ CompressionCache() [1/3]

sparrow_ipc::CompressionCache::CompressionCache ( )
Here is the caller graph for this function:

◆ ~CompressionCache()

sparrow_ipc::CompressionCache::~CompressionCache ( )

◆ CompressionCache() [2/3]

sparrow_ipc::CompressionCache::CompressionCache ( CompressionCache && )
noexcept
Here is the call graph for this function:

◆ CompressionCache() [3/3]

sparrow_ipc::CompressionCache::CompressionCache ( const CompressionCache & )
delete
Here is the call graph for this function:

Member Function Documentation

◆ clear()

void sparrow_ipc::CompressionCache::clear ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ count()

size_t sparrow_ipc::CompressionCache::count ( const void * data_ptr,
const size_t data_size ) const
nodiscard
Here is the call graph for this function:
Here is the caller graph for this function:

◆ empty()

bool sparrow_ipc::CompressionCache::empty ( ) const
nodiscard
Here is the call graph for this function:
Here is the caller graph for this function:

◆ find()

std::optional< std::span< const std::uint8_t > > sparrow_ipc::CompressionCache::find ( const void * data_ptr,
const size_t data_size )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ operator=() [1/2]

CompressionCache & sparrow_ipc::CompressionCache::operator= ( CompressionCache && )
noexcept
Here is the call graph for this function:

◆ operator=() [2/2]

CompressionCache & sparrow_ipc::CompressionCache::operator= ( const CompressionCache & )
delete
Here is the call graph for this function:

◆ size()

size_t sparrow_ipc::CompressionCache::size ( ) const
nodiscard
Here is the call graph for this function:
Here is the caller graph for this function:

◆ store()

std::span< const std::uint8_t > sparrow_ipc::CompressionCache::store ( const void * data_ptr,
const size_t data_size,
std::vector< std::uint8_t > && data )
Here is the call graph for this function:
Here is the caller graph for this function:

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