Thrill  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ItemReaderToolsBase< Reader > Class Template Reference

Detailed Description

template<typename Reader>
class thrill::common::ItemReaderToolsBase< Reader >

CRTP class to enhance item/memory reader classes with Varint decoding and String decoding.

Definition at line 171 of file item_serialization_tools.hpp.

+ Inheritance diagram for ItemReaderToolsBase< Reader >:

#include <item_serialization_tools.hpp>

Public Member Functions

std::string GetString ()
 Fetch a string which was Put via Put_string(). More...
 
uint64_t GetVarint ()
 Fetch a 64-bit varint from the reader at the cursor. More...
 
uint32_t GetVarint32 ()
 Fetch a varint with up to 32-bit from the reader at the cursor. More...
 

Member Function Documentation

std::string GetString ( )
inline

Fetch a string which was Put via Put_string().

Definition at line 225 of file item_serialization_tools.hpp.

uint64_t GetVarint ( )
inline

Fetch a 64-bit varint from the reader at the cursor.

Definition at line 195 of file item_serialization_tools.hpp.

Referenced by ItemReaderToolsBase< BufferReader >::GetString().

uint32_t GetVarint32 ( )
inline

Fetch a varint with up to 32-bit from the reader at the cursor.

Definition at line 175 of file item_serialization_tools.hpp.


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