Storage::Disk::SectorBuffer Class Reference

Buffer for working with disk sectors. More...

#include <SectorBuffer.h>

Inheritance diagram for Storage::Disk::SectorBuffer:
Collaboration diagram for Storage::Disk::SectorBuffer:

Public Member Functions

 SectorBuffer ()
 
 SectorBuffer (size_t sectorSize, size_t sectorCount)
 
template<typename T >
T & as ()
 
template<typename T >
const T & as () const
 
size_t size () const
 
uint32_t sectors () const
 
void clear ()
 
void fill (uint8_t value)
 
bool operator== (const SectorBuffer &other) const
 

Detailed Description

Buffer for working with disk sectors.

Constructor & Destructor Documentation

◆ SectorBuffer() [1/2]

Storage::Disk::SectorBuffer::SectorBuffer ( )
inline

◆ SectorBuffer() [2/2]

Storage::Disk::SectorBuffer::SectorBuffer ( size_t  sectorSize,
size_t  sectorCount 
)
inline

Member Function Documentation

◆ as() [1/2]

template<typename T >
T& Storage::Disk::SectorBuffer::as ( )
inline

◆ as() [2/2]

template<typename T >
const T& Storage::Disk::SectorBuffer::as ( ) const
inline

◆ clear()

void Storage::Disk::SectorBuffer::clear ( )
inline

◆ fill()

void Storage::Disk::SectorBuffer::fill ( uint8_t  value)
inline

◆ operator==()

bool Storage::Disk::SectorBuffer::operator== ( const SectorBuffer other) const
inline

◆ sectors()

uint32_t Storage::Disk::SectorBuffer::sectors ( ) const
inline

◆ size()

size_t Storage::Disk::SectorBuffer::size ( ) const
inline

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