UFO 1.0.0
An Efficient Probabilistic 3D Mapping Framework That Embraces the Unknown
Loading...
Searching...
No Matches
ufo::BaseBuffer Class Reference
Inheritance diagram for ufo::BaseBuffer:
ufo::ReadBuffer ufo::WriteBuffer ufo::Buffer ufo::Buffer

Public Types

using offset_type = std::intmax_t
 
using pos_type = std::uintmax_t
 
using size_type = std::size_t
 

Public Member Functions

constexpr std::byte const * data () const noexcept
 
constexpr bool empty () const noexcept
 
constexpr size_type size () const noexcept
 

Protected Member Functions

constexpr BaseBuffer (std::byte const *data, size_type size)
 
constexpr pos_type pos (pos_type pos, offset_type off, IODir dir) const noexcept
 

Protected Attributes

std::byte const * data_ = nullptr
 
size_type size_ {}
 

Detailed Description

Definition at line 54 of file base_buffer.hpp.

Member Typedef Documentation

◆ offset_type

using ufo::BaseBuffer::offset_type = std::intmax_t

Definition at line 59 of file base_buffer.hpp.

◆ pos_type

using ufo::BaseBuffer::pos_type = std::uintmax_t

Definition at line 58 of file base_buffer.hpp.

◆ size_type

using ufo::BaseBuffer::size_type = std::size_t

Definition at line 57 of file base_buffer.hpp.

Constructor & Destructor Documentation

◆ BaseBuffer()

constexpr ufo::BaseBuffer::BaseBuffer ( std::byte const *  data,
size_type  size 
)
inlineconstexprprotected

Definition at line 70 of file base_buffer.hpp.

Member Function Documentation

◆ data()

constexpr std::byte const * ufo::BaseBuffer::data ( ) const
inlineconstexprnoexcept

Definition at line 61 of file base_buffer.hpp.

◆ empty()

constexpr bool ufo::BaseBuffer::empty ( ) const
inlineconstexprnoexcept

Definition at line 63 of file base_buffer.hpp.

◆ pos()

constexpr pos_type ufo::BaseBuffer::pos ( pos_type  pos,
offset_type  off,
IODir  dir 
) const
inlineconstexprprotectednoexcept

Definition at line 74 of file base_buffer.hpp.

◆ size()

constexpr size_type ufo::BaseBuffer::size ( ) const
inlineconstexprnoexcept

Definition at line 65 of file base_buffer.hpp.

Member Data Documentation

◆ data_

std::byte const* ufo::BaseBuffer::data_ = nullptr
protected

Definition at line 87 of file base_buffer.hpp.

◆ size_

size_type ufo::BaseBuffer::size_ {}
protected

Definition at line 88 of file base_buffer.hpp.


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