threaddb  2.0
A file mapped memory container extension
Public Member Functions | List of all members
tdb::fromstream< std::string > Class Template Reference

Converter of byte stream into variable length data item representation. More...

#include <threaddbSTLWrapper.h>

Public Member Functions

 fromstream ()
 
 fromstream (size_< std::string > size_p)
 
 fromstream (database *pDb_p, ReadInfo *pReadInfo_p)
 
std::unique_ptr< std::string > get (database *pDb_p, ItemInfo *pItemInfo_p, uint64_t Package_p) const
 
std::unique_ptr< std::string > get (database *pDb_p, ItemInfo *pItemInfo_p, uint64_t Package_p, size_< std::string > Size_p) const
 
std::unique_ptr< std::string > get (database *pDb_p, ReadInfo *pReadInfo_p) const
 
std::unique_ptr< std::string > get () const
 
uint32_t size () const
 

Detailed Description

template<>
class tdb::fromstream< std::string >

Converter of byte stream into variable length data item representation.

Constructor & Destructor Documentation

◆ fromstream() [1/3]

tdb::fromstream< std::string >::fromstream ( )
inline

◆ fromstream() [2/3]

tdb::fromstream< std::string >::fromstream ( size_< std::string >  size_p)
inline

◆ fromstream() [3/3]

tdb::fromstream< std::string >::fromstream ( database pDb_p,
ReadInfo pReadInfo_p 
)
inline

Member Function Documentation

◆ get() [1/4]

std::unique_ptr<std::string> tdb::fromstream< std::string >::get ( ) const
inline

◆ get() [2/4]

std::unique_ptr<std::string> tdb::fromstream< std::string >::get ( database pDb_p,
ItemInfo pItemInfo_p,
uint64_t  Package_p 
) const
inline

◆ get() [3/4]

std::unique_ptr<std::string> tdb::fromstream< std::string >::get ( database pDb_p,
ItemInfo pItemInfo_p,
uint64_t  Package_p,
size_< std::string >  Size_p 
) const
inline

◆ get() [4/4]

std::unique_ptr<std::string> tdb::fromstream< std::string >::get ( database pDb_p,
ReadInfo pReadInfo_p 
) const
inline

◆ size()

uint32_t tdb::fromstream< std::string >::size ( ) const
inline

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