openMSX
Public Member Functions | Static Public Attributes | List of all members
openmsx::AlignedBuffer Class Reference

#include <AlignedBuffer.hh>

Inheritance diagram for openmsx::AlignedBuffer:
Inheritance graph
[legend]

Public Member Functions

 operator uint8_t * ()
 
 operator const uint8_t * () const
 
auto * data ()
 
const auto * data () const
 
template<std::integral I>
auto * operator+ (I i)
 
template<std::integral I>
const auto * operator+ (I i) const
 
template<std::integral I>
auto & operator[] (I i)
 
template<std::integral I>
const auto & operator[] (I i) const
 

Static Public Attributes

static constexpr auto ALIGNMENT = alignof(std::max_align_t)
 

Detailed Description

Definition at line 30 of file AlignedBuffer.hh.

Member Function Documentation

◆ data() [1/2]

auto * openmsx::AlignedBuffer::data ( )
inline

Definition at line 41 of file AlignedBuffer.hh.

Referenced by openmsx::IDECDROM::readBlockStart().

◆ data() [2/2]

const auto * openmsx::AlignedBuffer::data ( ) const
inline

Definition at line 42 of file AlignedBuffer.hh.

◆ operator const uint8_t *()

openmsx::AlignedBuffer::operator const uint8_t * ( ) const
inline

Definition at line 40 of file AlignedBuffer.hh.

◆ operator uint8_t *()

openmsx::AlignedBuffer::operator uint8_t * ( )
inline

Definition at line 39 of file AlignedBuffer.hh.

◆ operator+() [1/2]

template<std::integral I>
auto * openmsx::AlignedBuffer::operator+ ( i)
inline

Definition at line 45 of file AlignedBuffer.hh.

◆ operator+() [2/2]

template<std::integral I>
const auto * openmsx::AlignedBuffer::operator+ ( i) const
inline

Definition at line 47 of file AlignedBuffer.hh.

◆ operator[]() [1/2]

template<std::integral I>
auto & openmsx::AlignedBuffer::operator[] ( i)
inline

Definition at line 50 of file AlignedBuffer.hh.

◆ operator[]() [2/2]

template<std::integral I>
const auto & openmsx::AlignedBuffer::operator[] ( i) const
inline

Definition at line 52 of file AlignedBuffer.hh.

Member Data Documentation

◆ ALIGNMENT

constexpr auto openmsx::AlignedBuffer::ALIGNMENT = alignof(std::max_align_t)
staticconstexpr

Definition at line 37 of file AlignedBuffer.hh.


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