LkEngine 0.1.2
 
Loading...
Searching...
No Matches
LkEngine::StreamWriter Class Referenceabstract
Inheritance diagram for LkEngine::StreamWriter:
LkEngine::FileStreamWriter

Public Member Functions

virtual bool IsStreamGood () const =0
 
virtual uint64_t GetStreamPosition ()=0
 
virtual void SetStreamPosition (uint64_t position)=0
 
virtual bool WriteData (const char *data, const size_t size)=0
 
 operator bool () const
 
void WriteBuffer (FBuffer buffer, bool bWriteSize=true)
 
void WriteZero (uint64_t size)
 
void WriteString (const std::string &string)
 
template<typename T >
void WriteRaw (const T &type)
 
template<typename T >
void WriteObject (const T &obj)
 
template<typename Key , typename Value >
void WriteMap (const std::map< Key, Value > &map, const bool bWriteSize=true)
 
template<typename Key , typename Value >
void WriteMap (const std::unordered_map< Key, Value > &map, const bool bWriteSize=true)
 
template<typename Value >
void WriteMap (const std::unordered_map< std::string, Value > &map, bool bWriteSize=true)
 
template<typename T >
void WriteArray (const std::vector< T > &array, bool bWriteSize=true)
 
template<>
void WriteArray (const std::vector< std::string > &array, bool bWriteSize)
 

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