Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: hello SerialTestv11 SerialTestv12 Sierpinski ... more
FileLike.h
- Committer:
- emilmont
- Date:
- 2012-01-06
- Revision:
- 31:a7ef757f598c
- Parent:
- 27:7110ebee3484
- Child:
- 43:e2ed12d17f06
File content as of revision 31:a7ef757f598c:
/* mbed Microcontroller Library - FileLike
* Copyright (c) 2008-2009 ARM Limited. All rights reserved.
*/
#ifndef MBED_FILELIKE_H
#define MBED_FILELIKE_H
#include "Base.h"
#include "FileHandle.h"
namespace mbed {
/* Class FileLike
* A file-like object is one that can be opened with fopen by
* fopen("/name", mode). It is intersection of the classes Base and
* FileHandle.
*/
class FileLike : public Base, public FileHandle {
public:
/* Constructor FileLike
*
* Variables
* name - The name to use to open the file.
*/
FileLike(const char *name) : Base(name) { }
virtual ~FileLike();
};
} // namespace mbed
#endif


