ESP3D  3.0
Firmware for ESP boards connected to 3D Printer
ESP_GBFile Class Reference

#include <esp_globalFS.h>

Public Member Functions

 ESP_GBFile ()
 
 ESP_GBFile (uint8_t FS)
 
 ESP_GBFile (ESP_File &flashFile)
 
 ESP_GBFile (ESP_SDFile &sdFile)
 
 ~ESP_GBFile ()
 
 operator bool () const
 
bool isDirectory ()
 
const char * name () const
 
const char * shortname () const
 
const char * filename () const
 
void close ()
 
bool isOpen ()
 
ESP_GBFileoperator= (const ESP_GBFile &other)
 
ESP_GBFileoperator= (const ESP_File &other)
 
ESP_GBFileoperator= (const ESP_SDFile &other)
 
size_t size ()
 
time_t getLastWrite ()
 
int available ()
 
size_t write (uint8_t i)
 
size_t write (const uint8_t *buf, size_t size)
 
int read ()
 
size_t read (uint8_t *buf, size_t size)
 
void flush ()
 
ESP_GBFile openNextFile ()
 

Detailed Description

Definition at line 34 of file esp_globalFS.h.

Constructor & Destructor Documentation

◆ ESP_GBFile() [1/4]

ESP_GBFile::ESP_GBFile ( )

Definition at line 330 of file esp_globalFS.cpp.

◆ ESP_GBFile() [2/4]

ESP_GBFile::ESP_GBFile ( uint8_t  FS)

Definition at line 336 of file esp_globalFS.cpp.

◆ ESP_GBFile() [3/4]

ESP_GBFile::ESP_GBFile ( ESP_File flashFile)

Definition at line 343 of file esp_globalFS.cpp.

◆ ESP_GBFile() [4/4]

ESP_GBFile::ESP_GBFile ( ESP_SDFile sdFile)

Definition at line 355 of file esp_globalFS.cpp.

◆ ~ESP_GBFile()

ESP_GBFile::~ESP_GBFile ( )

Definition at line 366 of file esp_globalFS.cpp.

Member Function Documentation

◆ available()

int ESP_GBFile::available ( )

Definition at line 536 of file esp_globalFS.cpp.

Here is the call graph for this function:

◆ close()

void ESP_GBFile::close ( )

Definition at line 390 of file esp_globalFS.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ filename()

const char * ESP_GBFile::filename ( ) const

Definition at line 460 of file esp_globalFS.cpp.

Here is the call graph for this function:

◆ flush()

void ESP_GBFile::flush ( )

Definition at line 636 of file esp_globalFS.cpp.

Here is the call graph for this function:

◆ getLastWrite()

time_t ESP_GBFile::getLastWrite ( )

Definition at line 525 of file esp_globalFS.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ isDirectory()

bool ESP_GBFile::isDirectory ( )

Definition at line 485 of file esp_globalFS.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ isOpen()

bool ESP_GBFile::isOpen ( )

Definition at line 409 of file esp_globalFS.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ name()

const char * ESP_GBFile::name ( ) const

Definition at line 429 of file esp_globalFS.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ openNextFile()

ESP_GBFile ESP_GBFile::openNextFile ( )

Definition at line 711 of file esp_globalFS.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ operator bool()

ESP_GBFile::operator bool ( ) const

Definition at line 370 of file esp_globalFS.cpp.

◆ operator=() [1/3]

ESP_GBFile & ESP_GBFile::operator= ( const ESP_File other)

Definition at line 664 of file esp_globalFS.cpp.

◆ operator=() [2/3]

ESP_GBFile & ESP_GBFile::operator= ( const ESP_GBFile other)

Definition at line 651 of file esp_globalFS.cpp.

◆ operator=() [3/3]

ESP_GBFile & ESP_GBFile::operator= ( const ESP_SDFile other)

Definition at line 675 of file esp_globalFS.cpp.

◆ read() [1/2]

int ESP_GBFile::read ( )

Definition at line 596 of file esp_globalFS.cpp.

Here is the call graph for this function:

◆ read() [2/2]

size_t ESP_GBFile::read ( uint8_t *  buf,
size_t  size 
)

Definition at line 616 of file esp_globalFS.cpp.

Here is the call graph for this function:

◆ shortname()

const char* ESP_GBFile::shortname ( ) const

◆ size()

size_t ESP_GBFile::size ( )

Definition at line 505 of file esp_globalFS.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ write() [1/2]

size_t ESP_GBFile::write ( const uint8_t *  buf,
size_t  size 
)

Definition at line 576 of file esp_globalFS.cpp.

Here is the call graph for this function:

◆ write() [2/2]

size_t ESP_GBFile::write ( uint8_t  i)

Definition at line 556 of file esp_globalFS.cpp.

Here is the call graph for this function:

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