Toolbox snapshot
The Reactive C++ Toolbox
Loading...
Searching...
No Matches
Public Member Functions | List of all members
toolbox::util::OStaticStream< MaxN > Class Template Referencefinal

#include <toolbox/util/Stream.hpp>

Inheritance diagram for toolbox::util::OStaticStream< MaxN >:
Inheritance graph
[legend]
Collaboration diagram for toolbox::util::OStaticStream< MaxN >:
Collaboration graph
[legend]

Public Member Functions

 OStaticStream ()
 
 ~OStaticStream () override=default
 
 OStaticStream (const OStaticStream &)=delete
 
OStaticStreamoperator= (const OStaticStream &)=delete
 
 OStaticStream (OStaticStream &&)=delete
 
OStaticStreamoperator= (OStaticStream &&)=delete
 
const chardata () const noexcept
 
bool empty () const noexcept
 
std::size_t size () const noexcept
 
std::string_view str () const noexcept
 
 operator std::string_view () const noexcept
 
void reset () noexcept
 Reset the current position back to the beginning of the buffer.
 

Detailed Description

template<std::size_t MaxN>
class toolbox::util::OStaticStream< MaxN >

Definition at line 173 of file Stream.hpp.

Constructor & Destructor Documentation

◆ OStaticStream() [1/3]

template<std::size_t MaxN>
toolbox::util::OStaticStream< MaxN >::OStaticStream ( )
inline

Definition at line 175 of file Stream.hpp.

◆ ~OStaticStream()

template<std::size_t MaxN>
toolbox::util::OStaticStream< MaxN >::~OStaticStream ( )
overridedefault

◆ OStaticStream() [2/3]

template<std::size_t MaxN>
toolbox::util::OStaticStream< MaxN >::OStaticStream ( const OStaticStream< MaxN > &  )
delete

◆ OStaticStream() [3/3]

template<std::size_t MaxN>
toolbox::util::OStaticStream< MaxN >::OStaticStream ( OStaticStream< MaxN > &&  )
delete

Member Function Documentation

◆ operator=() [1/2]

template<std::size_t MaxN>
OStaticStream & toolbox::util::OStaticStream< MaxN >::operator= ( const OStaticStream< MaxN > &  )
delete

◆ operator=() [2/2]

template<std::size_t MaxN>
OStaticStream & toolbox::util::OStaticStream< MaxN >::operator= ( OStaticStream< MaxN > &&  )
delete

◆ data()

template<std::size_t MaxN>
const char * toolbox::util::OStaticStream< MaxN >::data ( ) const
inlinenoexcept

Definition at line 190 of file Stream.hpp.

◆ empty()

template<std::size_t MaxN>
bool toolbox::util::OStaticStream< MaxN >::empty ( ) const
inlinenoexcept

Definition at line 191 of file Stream.hpp.

Referenced by BOOST_AUTO_TEST_CASE().

◆ size()

template<std::size_t MaxN>
std::size_t toolbox::util::OStaticStream< MaxN >::size ( ) const
inlinenoexcept

Definition at line 192 of file Stream.hpp.

Referenced by BOOST_AUTO_TEST_CASE().

◆ str()

template<std::size_t MaxN>
std::string_view toolbox::util::OStaticStream< MaxN >::str ( ) const
inlinenoexcept

Definition at line 194 of file Stream.hpp.

Referenced by BOOST_AUTO_TEST_CASE().

◆ operator std::string_view()

template<std::size_t MaxN>
toolbox::util::OStaticStream< MaxN >::operator std::string_view ( ) const
inlinenoexcept

Definition at line 195 of file Stream.hpp.

◆ reset()

template<std::size_t MaxN>
void toolbox::util::OStaticStream< MaxN >::reset ( )
inlinenoexcept

Reset the current position back to the beginning of the buffer.

Definition at line 200 of file Stream.hpp.

Referenced by BOOST_AUTO_TEST_CASE().


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