neoGFX
Cross-platform C++ app/game engine
|
#include <i_packet.hpp>
Classes | |
struct | packet_empty |
struct | packet_too_big |
Public Types | |
typedef CharType | character_type |
typedef const character_type * | const_pointer |
typedef character_type * | pointer |
typedef std::size_t | size_type |
typedef const_pointer | const_iterator |
typedef pointer | iterator |
typedef std::unique_ptr< i_basic_packet > | clone_pointer |
Public Member Functions | |
virtual | ~i_basic_packet ()=default |
virtual const_pointer | data () const =0 |
virtual pointer | data ()=0 |
virtual size_type | length () const =0 |
virtual bool | has_max_length () const =0 |
virtual size_type | max_length () const =0 |
bool | empty () const |
virtual void | clear ()=0 |
const_iterator | begin () const |
const_iterator | end () const |
iterator | begin () |
iterator | end () |
virtual bool | take_some (const_pointer &aFirst, const_pointer aLast)=0 |
virtual clone_pointer | clone () const =0 |
virtual void | copy_from (const i_basic_packet< CharType > &aSource)=0 |
Definition at line 45 of file i_packet.hpp.
Definition at line 49 of file i_packet.hpp.
typedef std::unique_ptr<i_basic_packet> neolib::i_basic_packet< CharType >::clone_pointer |
Definition at line 55 of file i_packet.hpp.
typedef const_pointer neolib::i_basic_packet< CharType >::const_iterator |
Definition at line 53 of file i_packet.hpp.
typedef const character_type* neolib::i_basic_packet< CharType >::const_pointer |
Definition at line 50 of file i_packet.hpp.
Definition at line 54 of file i_packet.hpp.
typedef character_type* neolib::i_basic_packet< CharType >::pointer |
Definition at line 51 of file i_packet.hpp.
typedef std::size_t neolib::i_basic_packet< CharType >::size_type |
Definition at line 52 of file i_packet.hpp.
|
virtualdefault |
|
inline |
Definition at line 74 of file i_packet.hpp.
|
inline |
Definition at line 72 of file i_packet.hpp.
|
pure virtual |
|
pure virtual |
|
pure virtual |
Implemented in neolib::basic_binary_packet< CharType >, and neolib::basic_string_packet< CharType >.
|
pure virtual |
|
pure virtual |
|
inline |
Definition at line 70 of file i_packet.hpp.
|
inline |
Definition at line 75 of file i_packet.hpp.
|
inline |
Definition at line 73 of file i_packet.hpp.
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
Implemented in neolib::basic_binary_packet< CharType >, and neolib::basic_string_packet< CharType >.