Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
sysio::trace_api::compressed_file_datastream Class Reference

#include <compressed_file.hpp>

Public Member Functions

 compressed_file_datastream (compressed_file &cf)
 
void skip (size_t s)
 
bool read (char *d, size_t s)
 
bool get (unsigned char &c)
 
bool get (char &c)
 

Detailed Description

Definition at line 133 of file compressed_file.hpp.

Constructor & Destructor Documentation

◆ compressed_file_datastream()

sysio::trace_api::compressed_file_datastream::compressed_file_datastream ( compressed_file & cf)
inlineexplicit

Definition at line 135 of file compressed_file.hpp.

135: cf(cf) {}

Member Function Documentation

◆ get() [1/2]

bool sysio::trace_api::compressed_file_datastream::get ( char & c)
inline

Definition at line 149 of file compressed_file.hpp.

149{ return read(&c, 1); }
Here is the call graph for this function:

◆ get() [2/2]

bool sysio::trace_api::compressed_file_datastream::get ( unsigned char & c)
inline

Definition at line 147 of file compressed_file.hpp.

147{ return get( *(char*)&c ); }
Here is the call graph for this function:
Here is the caller graph for this function:

◆ read()

bool sysio::trace_api::compressed_file_datastream::read ( char * d,
size_t s )
inline

Definition at line 142 of file compressed_file.hpp.

142 {
143 cf.read( d, s );
144 return true;
145 }
char * s
Here is the call graph for this function:
Here is the caller graph for this function:

◆ skip()

void sysio::trace_api::compressed_file_datastream::skip ( size_t s)
inline

Definition at line 137 of file compressed_file.hpp.

137 {
138 std::vector<char> d( s );
139 read( &d[0], s );
140 }
CK_ULONG d
Here is the call graph for this function:

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