artefaktur
software engineer &        architecture

 
 
 
 

class ConfigFileSystemFactory

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

acdk::io::ConfigFileSystemFactory Class Reference

#include <FileSystemFactory.h>

Inheritance diagram for acdk::io::ConfigFileSystemFactory:

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

Detailed Description

helper class for file system factories loaded from configuration


Public Member Functions

 ConfigFileSystemFactory (bool isUrl, IN(RString) part, IN(RString) fc)
virtual int handleFile (IN(RString) file)
 If the file system doesn't handle this file it should return -1 otherwise the index of the start of the root name.

virtual RFileSystem create (IN(RString) file)
 create a new FileImplementation of the given file name


Private Attributes

bool _isUrl
RString _detector
RString _factoryClassName

Constructor & Destructor Documentation

acdk::io::ConfigFileSystemFactory::ConfigFileSystemFactory bool  isUrl,
IN(RString part,
IN(RString fc
[inline]
 


Member Function Documentation

virtual RFileSystem acdk::io::ConfigFileSystemFactory::create IN(RString file  )  [virtual]
 

create a new FileImplementation of the given file name

Implements acdk::io::FileSystemFactory.

virtual int acdk::io::ConfigFileSystemFactory::handleFile IN(RString file  )  [virtual]
 

If the file system doesn't handle this file it should return -1 otherwise the index of the start of the root name.

Sample: .ressource@tests/acdk/vfile/tar/acdk_dmi-src.tar@/dir/fname.c The RessourceFileSystem returns strlen(.ressource@), The TarFileSytem returns .ressource@tests/acdk/vfile/tar/acdk_dmi-src.tar@

Implements acdk::io::FileSystemFactory.


Member Data Documentation

RString acdk::io::ConfigFileSystemFactory::_detector [private]
 

RString acdk::io::ConfigFileSystemFactory::_factoryClassName [private]
 

bool acdk::io::ConfigFileSystemFactory::_isUrl [private]
 

 
Last modified 2005-05-08 18:32 by SYSTEM By Artefaktur, Ing. Bureau Kommer