Fork of the official mbed C/C++ SDK provides the software platform and libraries to build your applications. The fork has the documentation converted to Doxygen format

Dependents:   NervousPuppySprintOne NervousPuppySprint2602 Robot WarehouseBot1 ... more

Fork of mbed by mbed official

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers FileLike.h Source File

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