arduino-emulator
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
SdFile Class Reference

C++ std based emulatoion ofr SdFile. More...

#include <SdFat.h>

Inheritance diagram for SdFile:

Public Member Functions

int available () override
 
int availableForWrite () override
 
bool close ()
 
int dirIndex ()
 
void flush () override
 
void getName (char *str, size_t len)
 
bool isDir ()
 
bool isHidden ()
 
bool isOpen ()
 
bool open (const char *name, int flags)
 
bool openNext (SdFile &dir, int flags=O_RDONLY)
 
int peek () override
 
int read () override
 
size_t readBytes (uint8_t *buffer, size_t length)
 
bool rewind ()
 
size_t write (const uint8_t *buffer, size_t size) override
 
size_t write (uint8_t ch) override
 

Protected Attributes

std::filesystem::path dir_path
 
std::fstream file
 
std::string filename
 
bool is_dir
 
std::filesystem::directory_iterator iterator
 
int pos = 0
 
size_t size = 0
 

Detailed Description

C++ std based emulatoion ofr SdFile.


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