|
PropWare
3.0.0.229
C++ objects and CMake build system for Parallax Propeller
|
Go to the documentation of this file.
75 inline bool eof ()
const {
76 return this->m_length == this->m_ptr;
116 return this->m_error;
122 :
File(fs, name, buffer, logger) {
PropWare::ErrorCode flush()
Flush any modified data back to the SD card.
A read-only file interface.
Basic file interface for opening and closing files.
PropWare::ErrorCode safe_peek(char &c)
Read a character from the file without incrementing the pointer.
PropWare::ErrorCode get_error() const
Get the latest error that occurred during an unsafe method call.
virtual PropWare::ErrorCode safe_get_char(char &c)=0
Read a character from the file.
Interface for all classes capable of printing.
char get_char()
Read a character from the file.
In-memory buffer containing a single block of data.
Interface for all filesystems, such as FAT 16/32.
char peek()
Read a character from the file without incrementing the pointer.
PropWare::Printer pwOut
Most common use of printing in PropWare applications (not thread safe; see PropWare::pwSyncOut for mu...
bool eof() const
Determine whether the read pointer has reached the end of the file.
Container class that has formatting methods for human-readable output. This class can be constructed ...
Generic definitions and functions for the Parallax Propeller.