OpenVPN 3 Core Library
Loading...
Searching...
No Matches
openvpn::BufferComplete Class Referenceabstract

#include <bufcomplete.hpp>

Inheritance diagram for openvpn::BufferComplete:
[legend]
Collaboration diagram for openvpn::BufferComplete:
[legend]

Public Member Functions

virtual ~BufferComplete ()=default
 
bool advance (size_t size)
 
bool advance_string ()
 
bool advance_to_null ()
 
bool get (std::uint8_t &c)
 
bool defined () const
 

Protected Member Functions

void reset_buf (const Buffer &buf_arg)
 
void reset_buf ()
 

Private Member Functions

virtual void next_buffer ()=0
 
bool fetch_buffer ()
 

Private Attributes

Buffer buf
 

Detailed Description

Definition at line 22 of file bufcomplete.hpp.

Constructor & Destructor Documentation

◆ ~BufferComplete()

virtual openvpn::BufferComplete::~BufferComplete ( )
virtualdefault

Member Function Documentation

◆ advance()

bool openvpn::BufferComplete::advance ( size_t  size)
inline

Definition at line 28 of file bufcomplete.hpp.

Here is the caller graph for this function:

◆ advance_string()

bool openvpn::BufferComplete::advance_string ( )
inline

Definition at line 42 of file bufcomplete.hpp.

Here is the caller graph for this function:

◆ advance_to_null()

bool openvpn::BufferComplete::advance_to_null ( )
inline

Definition at line 52 of file bufcomplete.hpp.

Here is the caller graph for this function:

◆ defined()

bool openvpn::BufferComplete::defined ( ) const
inline

Definition at line 71 of file bufcomplete.hpp.

◆ fetch_buffer()

bool openvpn::BufferComplete::fetch_buffer ( )
inlineprivate

Definition at line 90 of file bufcomplete.hpp.

Here is the caller graph for this function:

◆ get()

bool openvpn::BufferComplete::get ( std::uint8_t &  c)
inline

Definition at line 63 of file bufcomplete.hpp.

Here is the caller graph for this function:

◆ next_buffer()

virtual void openvpn::BufferComplete::next_buffer ( )
privatepure virtual

Implemented in openvpn::BufferComposed::Complete.

Here is the caller graph for this function:

◆ reset_buf() [1/2]

void openvpn::BufferComplete::reset_buf ( )
inlineprotected

Definition at line 82 of file bufcomplete.hpp.

Here is the caller graph for this function:

◆ reset_buf() [2/2]

void openvpn::BufferComplete::reset_buf ( const Buffer buf_arg)
inlineprotected

Definition at line 77 of file bufcomplete.hpp.

Member Data Documentation

◆ buf

Buffer openvpn::BufferComplete::buf
private

Definition at line 98 of file bufcomplete.hpp.


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