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.
Fork of mbed by
FileLike.h
00001 /* mbed Microcontroller Library - FileLike 00002 * Copyright (c) 2008-2009 ARM Limited. All rights reserved. 00003 */ 00004 00005 #ifndef MBED_FILELIKE_H 00006 #define MBED_FILELIKE_H 00007 00008 #include "Base.h" 00009 #include "FileHandle.h" 00010 00011 namespace mbed { 00012 00013 /** A file-like object is one that can be opened with fopen by 00014 * fopen("/name", mode). It is intersection of the classes Base and 00015 * FileHandle. 00016 */ 00017 class FileLike : public Base, public FileHandle { 00018 00019 public: 00020 /** FileLike constructor 00021 * 00022 * @param name The name to use to open the file. 00023 */ 00024 FileLike(const char *name) : Base(name) { } 00025 virtual ~FileLike(); 00026 00027 }; 00028 00029 } // namespace mbed 00030 00031 #endif
Generated on Tue Jul 12 2022 20:12:25 by
1.7.2