ESP8266
Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
Print Class Referenceabstract
Inheritance diagram for Print:
SdFile Server Stream EthernetServer WiFiServer Client File fs::File HardwareSerial StreamString TwoWire UDP

Public Member Functions

 Print ()
 
int getWriteError ()
 
void clearWriteError ()
 
virtual size_t write (uint8_t)=0
 
size_t write (const char *str)
 
virtual size_t write (const uint8_t *buffer, size_t size)
 
size_t write (const char *buffer, size_t size)
 
size_t printf (const char *format,...) __attribute__((format(printf
 
size_t size_t print (const __FlashStringHelper *)
 
size_t print (const String &)
 
size_t print (const char[])
 
size_t print (char)
 
size_t print (unsigned char, int=10)
 
size_t print (int, int=10)
 
size_t print (unsigned int, int=10)
 
size_t print (long, int=10)
 
size_t print (unsigned long, int=10)
 
size_t print (double, int=2)
 
size_t print (const Printable &)
 
size_t println (const __FlashStringHelper *)
 
size_t println (const String &s)
 
size_t println (const char[])
 
size_t println (char)
 
size_t println (unsigned char, int=10)
 
size_t println (int, int=10)
 
size_t println (unsigned int, int=10)
 
size_t println (long, int=10)
 
size_t println (unsigned long, int=10)
 
size_t println (double, int=2)
 
size_t println (const Printable &)
 
size_t println (void)
 

Protected Member Functions

void setWriteError (int err=1)
 

Private Member Functions

size_t printNumber (unsigned long, uint8_t)
 
size_t printFloat (double, uint8_t)
 

Private Attributes

int write_error
 

Constructor & Destructor Documentation

Print::Print ( )

Member Function Documentation

void Print::clearWriteError ( )
int Print::getWriteError ( )
size_t ICACHE_FLASH_ATTR Print::print ( const __FlashStringHelper *  ifsh)
size_t ICACHE_FLASH_ATTR Print::print ( const String &  s)
size_t ICACHE_FLASH_ATTR Print::print ( const char  str[])
size_t ICACHE_FLASH_ATTR Print::print ( char  c)
size_t ICACHE_FLASH_ATTR Print::print ( unsigned char  b,
int  base = 10 
)
size_t ICACHE_FLASH_ATTR Print::print ( int  n,
int  base = 10 
)
size_t ICACHE_FLASH_ATTR Print::print ( unsigned int  n,
int  base = 10 
)
size_t ICACHE_FLASH_ATTR Print::print ( long  n,
int  base = 10 
)
size_t ICACHE_FLASH_ATTR Print::print ( unsigned long  n,
int  base = 10 
)
size_t ICACHE_FLASH_ATTR Print::print ( double  n,
int  digits = 2 
)
size_t ICACHE_FLASH_ATTR Print::print ( const Printable x)
size_t Print::printf ( const char *  format,
  ... 
)
size_t ICACHE_FLASH_ATTR Print::printFloat ( double  number,
uint8_t  digits 
)
private
size_t ICACHE_FLASH_ATTR Print::println ( const __FlashStringHelper *  ifsh)
size_t ICACHE_FLASH_ATTR Print::println ( const String &  s)
size_t ICACHE_FLASH_ATTR Print::println ( const char  c[])
size_t ICACHE_FLASH_ATTR Print::println ( char  c)
size_t ICACHE_FLASH_ATTR Print::println ( unsigned char  b,
int  base = 10 
)
size_t ICACHE_FLASH_ATTR Print::println ( int  num,
int  base = 10 
)
size_t ICACHE_FLASH_ATTR Print::println ( unsigned int  num,
int  base = 10 
)
size_t ICACHE_FLASH_ATTR Print::println ( long  num,
int  base = 10 
)
size_t ICACHE_FLASH_ATTR Print::println ( unsigned long  num,
int  base = 10 
)
size_t ICACHE_FLASH_ATTR Print::println ( double  num,
int  digits = 2 
)
size_t ICACHE_FLASH_ATTR Print::println ( const Printable x)
size_t ICACHE_FLASH_ATTR Print::println ( void  )
size_t ICACHE_FLASH_ATTR Print::printNumber ( unsigned long  n,
uint8_t  base 
)
private
void Print::setWriteError ( int  err = 1)
protected
virtual size_t Print::write ( uint8_t  )
pure virtual
size_t Print::write ( const char *  str)
size_t ICACHE_FLASH_ATTR Print::write ( const uint8_t *  buffer,
size_t  size 
)
virtual
size_t Print::write ( const char *  buffer,
size_t  size 
)

Member Data Documentation

int Print::write_error
private