Thrill  0.1
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...
 
uint32_t PeekVarint32 () const
 Fetch a varint with up to 32-bit from the reader at the cursor. More...
 

Member Function Documentation

◆ GetString()

std::string GetString ( )
inline

Fetch a string which was Put via Put_string().

Definition at line 245 of file item_serialization_tools.hpp.

◆ GetVarint()

uint64_t GetVarint ( )
inline

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

Definition at line 215 of file item_serialization_tools.hpp.

◆ GetVarint32()

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.

◆ PeekVarint32()

uint32_t PeekVarint32 ( ) const
inline

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

Definition at line 195 of file item_serialization_tools.hpp.


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