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 * operator+ (ptrdiff_t i)
 
auto * operator+ (ptrdiff_t i) const
 
auto & operator[] (int i)
 
auto & operator[] (int i) const
 
auto & operator[] (unsigned int i)
 
auto & operator[] (unsigned int i) const
 
auto & operator[] (long i)
 
auto & operator[] (long i) const
 
auto & operator[] (unsigned long i)
 
auto & operator[] (unsigned long i) const
 

Static Public Attributes

static const size_t ALIGNMENT = alignof(std::max_align_t)
 

Detailed Description

Definition at line 27 of file AlignedBuffer.hh.

Member Function Documentation

◆ operator const uint8_t *()

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

Definition at line 37 of file AlignedBuffer.hh.

◆ operator uint8_t *()

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

Definition at line 36 of file AlignedBuffer.hh.

◆ operator+() [1/2]

auto* openmsx::AlignedBuffer::operator+ ( ptrdiff_t  i)
inline

Definition at line 39 of file AlignedBuffer.hh.

◆ operator+() [2/2]

auto* openmsx::AlignedBuffer::operator+ ( ptrdiff_t  i) const
inline

Definition at line 40 of file AlignedBuffer.hh.

◆ operator[]() [1/8]

auto& openmsx::AlignedBuffer::operator[] ( int  i)
inline

Definition at line 42 of file AlignedBuffer.hh.

◆ operator[]() [2/8]

auto& openmsx::AlignedBuffer::operator[] ( int  i) const
inline

Definition at line 43 of file AlignedBuffer.hh.

◆ operator[]() [3/8]

auto& openmsx::AlignedBuffer::operator[] ( unsigned int  i)
inline

Definition at line 44 of file AlignedBuffer.hh.

◆ operator[]() [4/8]

auto& openmsx::AlignedBuffer::operator[] ( unsigned int  i) const
inline

Definition at line 45 of file AlignedBuffer.hh.

◆ operator[]() [5/8]

auto& openmsx::AlignedBuffer::operator[] ( long  i)
inline

Definition at line 46 of file AlignedBuffer.hh.

◆ operator[]() [6/8]

auto& openmsx::AlignedBuffer::operator[] ( long  i) const
inline

Definition at line 47 of file AlignedBuffer.hh.

◆ operator[]() [7/8]

auto& openmsx::AlignedBuffer::operator[] ( unsigned long  i)
inline

Definition at line 48 of file AlignedBuffer.hh.

◆ operator[]() [8/8]

auto& openmsx::AlignedBuffer::operator[] ( unsigned long  i) const
inline

Definition at line 49 of file AlignedBuffer.hh.

References ALIGNMENT.

Member Data Documentation

◆ ALIGNMENT

const size_t openmsx::AlignedBuffer::ALIGNMENT = alignof(std::max_align_t)
static

Definition at line 34 of file AlignedBuffer.hh.

Referenced by openmsx::AlignedByteArray< 512 >::data(), and operator[]().


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