Logo Search packages:      
Sourcecode: scummvm version File versions  Download package

AbstractFSNode Class Reference

#include <abstract-fs.h>

Inheritance diagram for AbstractFSNode:

DS::DSFileSystemNode DS::GBAMPFileSystemNode POSIXFilesystemNode Ps2FilesystemNode RoninCDFileNode

List of all members.


Detailed Description

Abstract file system node. Private subclasses implement the actual functionality.

Most of the methods correspond directly to methods in class FSNode, so if they are not documented here, look there for more information about the semantics.

Definition at line 44 of file abstract-fs.h.


Public Member Functions

virtual
Common::SeekableReadStream
createReadStream ()=0
virtual Common::WriteStreamcreateWriteStream ()=0
virtual bool exists () const =0
virtual bool getChildren (AbstractFSList &list, ListMode mode, bool hidden) const =0
virtual Common::String getDisplayName () const
virtual Common::String getName () const =0
virtual Common::String getPath () const =0
virtual bool isDirectory () const =0
virtual bool isReadable () const =0
virtual bool isWritable () const =0
virtual ~AbstractFSNode ()

Protected Types

typedef Common::FSNode::ListMode ListMode

Protected Member Functions

virtual AbstractFSNodegetChild (const Common::String &name) const =0
virtual AbstractFSNodegetParent () const =0

Static Protected Member Functions

static const char * lastPathComponent (const Common::String &str, const char sep)

Friends

class Common::FSNode

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index