2005/5/9

     
 

class RessourceFileSystem

artefaktur
Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   Namespace Members   Compound Members   Related Pages  

acdk::io::RessourceFileSystem Class Reference

#include <RessourceFileSystem.h>

Inheritance diagram for acdk::io::RessourceFileSystem:

acdk::lang::Object acdk::io::FileSystem acdk::lang::ObjectBase acdk::lang::dmi::StdDispatch List of all members.

Detailed Description

Implements internal ressource storage embedded into C++ source code.

Author:
Roger Rene Kommer FileImpl


Public Member Functions

 RessourceFileSystem ()
bool ownsFile (IN(RString) fname)
RString getRootName ()
 returns the root name of the this file system Examples: /home/roger/myfile.zip ftp://ftp.artefaktur.com

RFileArray listFiles (IN(RString) directory, int listflags)
RFile file (IN(RString) path)
 creates an instance of given file.

RFileImpl getFileImpl (IN(RString) fqpath)
 returns a file implementation for this full qualified file implementation

RRessourceDir root ()

Static Public Member Functions

RRessourceFileSystem ressourceFileSystem ()

Private Member Functions

void listFiles (IN(RRessourceDir) rd, int listflags, FileArray &fa)

Private Attributes

RessourceDir _root


Constructor & Destructor Documentation

acdk::io::RessourceFileSystem::RessourceFileSystem  ) 
 


Member Function Documentation

RFile acdk::io::RessourceFileSystem::file IN(RString path  )  [virtual]
 

creates an instance of given file.

Parameters:
path is without the FS name
Returns:
returns a new File.

Implements acdk::io::FileSystem.

RFileImpl acdk::io::RessourceFileSystem::getFileImpl IN(RString fqpath  )  [virtual]
 

returns a file implementation for this full qualified file implementation

Implements acdk::io::FileSystem.

RString acdk::io::RessourceFileSystem::getRootName  )  [inline, virtual]
 

returns the root name of the this file system Examples: /home/roger/myfile.zip ftp://ftp.artefaktur.com

Implements acdk::io::FileSystem.

void acdk::io::RessourceFileSystem::listFiles IN(RRessourceDir rd,
int  listflags,
FileArray &  fa
[private]
 

RFileArray acdk::io::RessourceFileSystem::listFiles IN(RString directory,
int  listflags
[virtual]
 

Parameters:
directory the absolute name with out the FSname
listflags a combination of ListFlags
Returns:
list of files

Implements acdk::io::FileSystem.

bool acdk::io::RessourceFileSystem::ownsFile IN(RString fname  )  [inline, virtual]
 

Returns:
true, if given (absolut) file name is part of this file system. Example: /dir/subdir/file.dat -> owns StandardFileSystem /dir/file.zip@/subdir/file.data -> owns ZipFileSystem(/dir/file.zip)

Implements acdk::io::FileSystem.

RRessourceFileSystem acdk::io::RessourceFileSystem::ressourceFileSystem  )  [static]
 

RRessourceDir acdk::io::RessourceFileSystem::root  )  [inline]
 


Member Data Documentation

RessourceDir acdk::io::RessourceFileSystem::_root [private]