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

Committer:
simon.ford@mbed.co.uk
Date:
Thu Nov 27 16:23:24 2008 +0000
Revision:
4:5d1359a283bc
Child:
9:cf0d45ce28a6
New version of framework: vectors, environment, platform, base and file system

Who changed what in which revision?

UserRevisionLine numberNew contents of line
simon.ford@mbed.co.uk 4:5d1359a283bc 1 /* Copyright 2008 ARM Limited. All rights reserved. */
simon.ford@mbed.co.uk 4:5d1359a283bc 2
simon.ford@mbed.co.uk 4:5d1359a283bc 3 #ifndef MBED_FILELIKE_H
simon.ford@mbed.co.uk 4:5d1359a283bc 4 #define MBED_FILELIKE_H
simon.ford@mbed.co.uk 4:5d1359a283bc 5
simon.ford@mbed.co.uk 4:5d1359a283bc 6 #include "Base.h"
simon.ford@mbed.co.uk 4:5d1359a283bc 7 #include "FileHandle.h"
simon.ford@mbed.co.uk 4:5d1359a283bc 8
simon.ford@mbed.co.uk 4:5d1359a283bc 9 namespace mbed {
simon.ford@mbed.co.uk 4:5d1359a283bc 10
simon.ford@mbed.co.uk 4:5d1359a283bc 11 /* Class FileLike
simon.ford@mbed.co.uk 4:5d1359a283bc 12 * A file-like object is one that can be opened with fopen by
simon.ford@mbed.co.uk 4:5d1359a283bc 13 * fopen("/name", mode). It is intersection of the classes Base and
simon.ford@mbed.co.uk 4:5d1359a283bc 14 * FileHandle.
simon.ford@mbed.co.uk 4:5d1359a283bc 15 */
simon.ford@mbed.co.uk 4:5d1359a283bc 16 class FileLike : public Base, public FileHandle {
simon.ford@mbed.co.uk 4:5d1359a283bc 17
simon.ford@mbed.co.uk 4:5d1359a283bc 18 public:
simon.ford@mbed.co.uk 4:5d1359a283bc 19 /* Constructor FileLike
simon.ford@mbed.co.uk 4:5d1359a283bc 20 *
simon.ford@mbed.co.uk 4:5d1359a283bc 21 * Variables
simon.ford@mbed.co.uk 4:5d1359a283bc 22 * name - The name to use to open the file.
simon.ford@mbed.co.uk 4:5d1359a283bc 23 */
simon.ford@mbed.co.uk 4:5d1359a283bc 24 FileLike(const char *name) : Base(name) { }
simon.ford@mbed.co.uk 4:5d1359a283bc 25
simon.ford@mbed.co.uk 4:5d1359a283bc 26 };
simon.ford@mbed.co.uk 4:5d1359a283bc 27
simon.ford@mbed.co.uk 4:5d1359a283bc 28 } // namespace mbed
simon.ford@mbed.co.uk 4:5d1359a283bc 29
simon.ford@mbed.co.uk 4:5d1359a283bc 30 #endif