Momentum
A library for solving nonlinear optimization problems related to human body kinematics
Loading...
Searching...
No Matches
momentum::ispanstream Struct Reference

istream that takes a span of const bytes as input. More...

#include <stream_utils.h>

Inheritance diagram for momentum::ispanstream:

Public Member Functions

 ispanstream (std::span< const std::byte > buffer)
 Construct an ispanstream with a buffer.
 ~ispanstream () override
 Destructor.
 ispanstream (const ispanstream &)=delete
ispanstream & operator= (const ispanstream &)=delete
 ispanstream (ispanstream &&)=delete
ispanstream & operator= (ispanstream &&)=delete

Detailed Description

istream that takes a span of const bytes as input.

Definition at line 56 of file stream_utils.h.

Constructor & Destructor Documentation

◆ ispanstream() [1/3]

momentum::ispanstream::ispanstream ( std::span< const std::byte > buffer)
explicit

Construct an ispanstream with a buffer.

Parameters
bufferA std::span of const std::byte.

Definition at line 74 of file stream_utils.cpp.

Referenced by ispanstream(), ispanstream(), operator=(), and operator=().

◆ ~ispanstream()

momentum::ispanstream::~ispanstream ( )
overridedefault

Destructor.

◆ ispanstream() [2/3]

momentum::ispanstream::ispanstream ( const ispanstream & )
delete

References ispanstream().

◆ ispanstream() [3/3]

momentum::ispanstream::ispanstream ( ispanstream && )
delete

References ispanstream().

Member Function Documentation

◆ operator=() [1/2]

ispanstream & momentum::ispanstream::operator= ( const ispanstream & )
delete

References ispanstream().

◆ operator=() [2/2]

ispanstream & momentum::ispanstream::operator= ( ispanstream && )
delete

References ispanstream().


The documentation for this struct was generated from the following files: