Mistake on this page?
Report an issue in GitHub or email us
Public Member Functions
mbed::FileLike Class Reference

#include <FileLike.h>

Inheritance diagram for mbed::FileLike:
mbed::FileHandle mbed::FileBase mbed::NonCopyable< FileLike > mbed::NonCopyable< FileHandle > mbed::NonCopyable< FileBase > mbed::Stream mbed::Serial

Public Member Functions

 FileLike (const char *name=NULL)
- Public Member Functions inherited from mbed::FileHandle
virtual ssize_t read (void *buffer, size_t size)=0
virtual ssize_t write (const void *buffer, size_t size)=0
virtual off_t seek (off_t offset, int whence=SEEK_SET)=0
virtual int close ()=0
virtual int sync ()
virtual int isatty ()
virtual off_t tell ()
virtual void rewind ()
virtual off_t size ()
virtual off_t lseek (off_t offset, int whence)
virtual int fsync ()
virtual off_t flen ()
virtual int set_blocking (bool blocking)
virtual bool is_blocking () const
virtual short poll (short events) const
bool writable () const
bool readable () const
virtual void sigio (Callback< void()> func)
- Public Member Functions inherited from mbed::FileBase
 FileBase (const char *name, PathType t)
const char * getName (void)
PathType getPathType (void)

Additional Inherited Members

- Static Public Member Functions inherited from mbed::FileBase
static FileBaselookup (const char *name, unsigned int len)
static FileBaseget (int n)

Detailed Description

Class FileLike

A file-like object is one that can be opened with fopen by fopen("/name", mode).

Synchronization level: Set by subclass

Constructor & Destructor Documentation

mbed::FileLike::FileLike ( const char *  name = NULL)

Constructor FileLike

nameThe name to use to open the file.

The documentation for this class was generated from the following file:
Important Information for this Arm website

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies. If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. By disabling cookies, some features of the site will not work.