rili::stream::view::Default Class Referencefinal
Inheritance diagram for rili::stream::view::Default:
[legend]
Collaboration diagram for rili::stream::view::Default:
[legend]

Public Types

typedef std::string container_type
 

Public Member Functions

char const * data () const override
 
std::size_t size () const override
 
container_typeraw ()
 
container_type const & raw () const
 
- Public Member Functions inherited from rili::stream::view::Base
bool empty () const
 
char operator[] (std::size_t position) const
 

Member Typedef Documentation

container_type type in which data is buffered

Member Function Documentation

char const* rili::stream::view::Default::data ( ) const
overridevirtual

data give access to begin of continous memory space with size equal to size() + 1(for leading 0x0 val) containing already aquired data.

Returns
pointer to memory space

Implements rili::stream::view::Base.

container_type& rili::stream::view::Default::raw ( )
inline

raw used to access buffer for modification

Returns
buffer
container_type const& rili::stream::view::Default::raw ( ) const
inline

raw used to access buffer

Returns
buffer
std::size_t rili::stream::view::Default::size ( ) const
overridevirtual

size used to check how many bytes is in aquired data

Returns
size of data

Implements rili::stream::view::Base.


The documentation for this class was generated from the following file:
  • rili/stream/View.hpp