Recast  1
Game with custom magic
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
Public Member Functions | List of all members
Parcel Class Reference

#include <Parcel.hpp>

Collaboration diagram for Parcel:
Collaboration graph

Public Member Functions

 Parcel ()
 
 Parcel (std::vector< char > vector)
 
 Parcel (Parcel &other)=delete
 
void putString (std::string var)
 
template<class T >
void put (T var)
 
int readInt ()
 
std::string readString ()
 
float readFloat ()
 
const std::vector< char > * getVector () const
 

Detailed Description

Позволяет переводить удобно данные в массив.

Constructor & Destructor Documentation

Parcel::Parcel ( )
Parcel::Parcel ( std::vector< char >  vector)
inline
Parcel::Parcel ( Parcel other)
delete

Member Function Documentation

const std::vector<char>* Parcel::getVector ( ) const
inline

Here is the caller graph for this function:

template<class T >
void Parcel::put ( var)
inline

Here is the caller graph for this function:

void Parcel::putString ( std::string  var)
float Parcel::readFloat ( )

Here is the call graph for this function:

Here is the caller graph for this function:

int Parcel::readInt ( )

Here is the call graph for this function:

Here is the caller graph for this function:

std::string Parcel::readString ( )

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