SEGS  0.6.1-develop [d2cac982]
Super Entity Game Server
Classes | Public Member Functions | List of all members
BinStore Class Reference

#include <DataStorage.h>

Collaboration diagram for BinStore:
Collaboration graph

Public Member Functions

QString source_name ()
 
bool read_bytes (char *tgt, size_t sz)
 
const QByteArray & read_str (size_t maxlen)
 
bool read (uint32_t &v)
 
bool read (int32_t &v)
 
bool read (float &v)
 
bool read (uint16_t &v)
 
bool read (uint8_t &v)
 
bool readU (uint8_t &v)
 
bool read (Vec2 &v)
 
bool read (Vec3 &v)
 
bool read (RGBA &v)
 
bool read (std::vector< uint32_t > &v)
 
bool read (std::vector< int32_t > &res)
 
bool read (std::vector< float > &res)
 
bool read (std::vector< QByteArray > &res)
 
bool read (std::vector< std::vector< QString >> &res)
 
bool read (uint8_t *&val, uint32_t length)
 
bool read (QByteArray &val)
 
bool read (std::pair< uint8_t, uint8_t > &v)
 
template<class Enum >
bool readEnum (Enum &val)
 
template<class Enum >
bool readEnum (std::vector< Enum > &val)
 
void prepare ()
 
bool prepare_nested ()
 
bool nesting_name (QByteArray &name)
 
void nest_in ()
 
void nest_out ()
 
bool end_encountered () const
 
bool open (const QString &name, uint32_t required_crc)
 
bool findAndOpen (const QString &name, uint32_t reqcrc=0)
 

Member Function Documentation

◆ nest_in()

void BinStore::nest_in ( )
inline
Here is the caller graph for this function:

◆ nest_out()

void BinStore::nest_out ( )
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ read() [1/2]

bool BinStore::read ( std::vector< std::vector< QString >> &  res)

◆ read() [2/2]

bool BinStore::read ( std::pair< uint8_t, uint8_t > &  v)
inline

◆ readEnum() [1/2]

template<class Enum >
bool BinStore::readEnum ( Enum &  val)
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ readEnum() [2/2]

template<class Enum >
bool BinStore::readEnum ( std::vector< Enum > &  val)
inline
Here is the call graph for this function:

◆ source_name()

QString BinStore::source_name ( )
inline
Here is the call graph for this function:

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