Directory Struct Reference
[I/O Services.]

Inherits Service.

Inherited by DiskDirectory.

List of all members.

Public Methods

virtual bool initialize (const Char *path)=0
virtual InputStreamcreateInputStream (const Char *filename)=0
virtual OutputStreamcreateOutputStream (const Char *filename)=0
virtual DirectoryIteratorcreateIterator ()=0
virtual Directory * getDirectory (const Char *path)=0
virtual bool pathExists (const Char *path)=0


Detailed Description

A collection of files, roughly corresponding to a disk directory.


Member Function Documentation

virtual InputStream* Directory::createInputStream const Char   filename [pure virtual]
 

Open an input stream on a file contained in this directory.

virtual DirectoryIterator* Directory::createIterator   [pure virtual]
 

Create a DirectoryIterator, which can be used to examine the contents of the directory.

virtual OutputStream* Directory::createOutputStream const Char   filename [pure virtual]
 

Open an output stream to a new file in the directory.

virtual Directory* Directory::getDirectory const Char   path [pure virtual]
 

Get a reference to a subdirectory.

virtual bool Directory::initialize const Char   path [pure virtual]
 

Set the full path of this directory. This method is called internally by IOService when a filesystem is mounted.

virtual bool Directory::pathExists const Char   path [pure virtual]
 

Determine if a given subpath exists.


The documentation for this struct was generated from the following file:
  • Services/IO/directory.h


Flat Four Engine
Copyright (C) 2001 by 379, Inc.
This page generated by Doxygen