neoGFX
Cross-platform C++ app/game engine
|
#include <string_packet.hpp>
Public Types | |
typedef base_type::character_type | character_type |
typedef base_type::const_pointer | const_pointer |
typedef base_type::pointer | pointer |
typedef base_type::size_type | size_type |
typedef base_type::clone_pointer | clone_pointer |
typedef std::basic_string< CharType > | contents_type |
Public Types inherited from neolib::i_basic_packet< CharType > | |
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 | |
basic_string_packet (const contents_type &aContents=contents_type()) | |
basic_string_packet (const character_type *aPointer, size_type aLength) | |
basic_string_packet (const basic_string_packet &aOther) | |
basic_string_packet & | operator= (const basic_string_packet &aOther) |
virtual const_pointer | data () const |
virtual pointer | data () |
virtual size_type | length () const |
virtual bool | has_max_length () const |
virtual size_type | max_length () const |
virtual void | clear () |
virtual bool | take_some (const_pointer &aFirst, const_pointer aLast) |
virtual clone_pointer | clone () const |
virtual void | copy_from (const i_basic_packet< CharType > &aSource) |
const contents_type & | contents () const |
contents_type & | contents () |
Public Member Functions inherited from neolib::i_basic_packet< CharType > | |
virtual | ~i_basic_packet ()=default |
bool | empty () const |
const_iterator | begin () const |
const_iterator | end () const |
iterator | begin () |
iterator | end () |
Static Public Attributes | |
static constexpr CharType | CHAR_CR = static_cast<CharType>('\r') |
static constexpr CharType | CHAR_LF = static_cast<CharType>('\n') |
Definition at line 45 of file string_packet.hpp.
typedef base_type::character_type neolib::basic_string_packet< CharType >::character_type |
Definition at line 54 of file string_packet.hpp.
typedef base_type::clone_pointer neolib::basic_string_packet< CharType >::clone_pointer |
Definition at line 58 of file string_packet.hpp.
typedef base_type::const_pointer neolib::basic_string_packet< CharType >::const_pointer |
Definition at line 55 of file string_packet.hpp.
typedef std::basic_string<CharType> neolib::basic_string_packet< CharType >::contents_type |
Definition at line 59 of file string_packet.hpp.
typedef base_type::pointer neolib::basic_string_packet< CharType >::pointer |
Definition at line 56 of file string_packet.hpp.
typedef base_type::size_type neolib::basic_string_packet< CharType >::size_type |
Definition at line 57 of file string_packet.hpp.
|
inline |
Definition at line 62 of file string_packet.hpp.
|
inline |
Definition at line 66 of file string_packet.hpp.
|
inline |
Definition at line 70 of file string_packet.hpp.
|
inlinevirtual |
Implements neolib::i_basic_packet< CharType >.
Definition at line 107 of file string_packet.hpp.
|
inlinevirtual |
Implements neolib::i_basic_packet< CharType >.
Definition at line 130 of file string_packet.hpp.
|
inline |
Definition at line 145 of file string_packet.hpp.
|
inline |
Definition at line 141 of file string_packet.hpp.
|
inlinevirtual |
Implements neolib::i_basic_packet< CharType >.
Definition at line 134 of file string_packet.hpp.
|
inlinevirtual |
Implements neolib::i_basic_packet< CharType >.
Definition at line 89 of file string_packet.hpp.
|
inlinevirtual |
Implements neolib::i_basic_packet< CharType >.
Definition at line 83 of file string_packet.hpp.
|
inlinevirtual |
Implements neolib::i_basic_packet< CharType >.
Definition at line 99 of file string_packet.hpp.
|
inlinevirtual |
Implements neolib::i_basic_packet< CharType >.
Definition at line 95 of file string_packet.hpp.
|
inlinevirtual |
Implements neolib::i_basic_packet< CharType >.
Definition at line 103 of file string_packet.hpp.
|
inline |
Definition at line 74 of file string_packet.hpp.
|
inlinevirtual |
Implements neolib::i_basic_packet< CharType >.
Definition at line 111 of file string_packet.hpp.
|
staticconstexpr |
Definition at line 50 of file string_packet.hpp.
|
staticconstexpr |
Definition at line 51 of file string_packet.hpp.