BEEP-8 Helper Lib 1.0.0
Loading...
Searching...
No Matches
Pipe::CFilePipe Class Reference

A file pipe class that reads and writes data to a file. More...

#include <pipe.h>

Inheritance diagram for Pipe::CFilePipe:
Pipe::CPipe

Public Member Functions

 CFilePipe (FILE *fp_)
 Constructs a file pipe.
 
- Public Member Functions inherited from Pipe::CPipe
bool Push (const std::string &str_)
 Pushes a string of data into the pipe.
 
bool Push (u8 x_)
 Pushes a byte of data into the pipe.
 
void SeekPop (size_t offset_=0)
 Sets the position for the next Pop operation.
 
bool Pop (u8 &x_)
 Pops a byte of data from the pipe.
 

Additional Inherited Members

- Protected Attributes inherited from Pipe::CPipe
size_t _pushed_in_bytes = 0
 
size_t _poped_in_bytes = 0
 

Detailed Description

A file pipe class that reads and writes data to a file.

Constructor & Destructor Documentation

◆ CFilePipe()

Pipe::CFilePipe::CFilePipe ( FILE * fp_)
inline

Constructs a file pipe.

Parameters
fp_The file pointer to use for reading and writing.

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