replicode
Public Member Functions | Public Attributes | List of all members
r_comp::OutStream Class Reference

#include <out_stream.h>

Collaboration diagram for r_comp::OutStream:
Collaboration graph

Public Member Functions

 OutStream (std::ostringstream *s)
 
template<typename T >
OutStreampush (const T &t, uint16_t code_index)
 
OutStreampush ()
 
template<typename T >
OutStreamoperator<< (const T &t)
 
template<typename T >
OutStreaminsert (uint64_t index, const T &t)
 

Public Attributes

r_code::vector< uint16_t > code_indexes_to_stream_indexes
 
uint16_t code_index
 
r_code::vector< std::streampos > positions
 
std::ostringstream * stream
 

Constructor & Destructor Documentation

r_comp::OutStream::OutStream ( std::ostringstream *  s)
inline

Member Function Documentation

template<typename T >
OutStream& r_comp::OutStream::insert ( uint64_t  index,
const T &  t 
)
inline

Here is the call graph for this function:

Here is the caller graph for this function:

template<typename T >
OutStream& r_comp::OutStream::operator<< ( const T &  t)
inline
template<typename T >
OutStream& r_comp::OutStream::push ( const T &  t,
uint16_t  code_index 
)
inline

Here is the call graph for this function:

Here is the caller graph for this function:

OutStream& r_comp::OutStream::push ( )
inline

Here is the call graph for this function:

Member Data Documentation

uint16_t r_comp::OutStream::code_index
r_code::vector<uint16_t> r_comp::OutStream::code_indexes_to_stream_indexes
r_code::vector<std::streampos> r_comp::OutStream::positions
std::ostringstream* r_comp::OutStream::stream

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