2005/5/9

     
 

class RessourceFileImpl

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

acdk::io::RessourceFileImpl Class Reference

#include <RessourceFileImpl.h>

Inheritance diagram for acdk::io::RessourceFileImpl:

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

Detailed Description

Provides a File implementation for the FileImpl interface which can be embedded into C++ source code.


Public Member Functions

 RessourceFileImpl (IN(RRessourceFileSystem) fs, IN(RRessourceFile) fh)
RString getCanonicalPath ()
 corresponding to File

RString getAbsolutePath ()
RString getName ()
RString getPath ()
RFile getParentFile ()
RFile makeChild (IN(RString) subfile)
bool isAbsolute ()
bool exists ()
bool canRead ()
bool canWrite ()
bool isDirectory ()
bool isFile ()
bool isHidden ()
jlong length ()
bool createNewFile ()
 May change later.

bool deleteFile ()
jlong lastModified ()
jlong fileCreated ()
bool mkdir (int mode=0777)
bool renameTo (IN(RFile) dest)
bool setLastModified (jlong time)
RReader getReader ()
RWriter getWriter ()
 may change later

RFileSystem getFileSystem ()

Private Attributes

RRessourceFileSystem _fs
RRessourceFile _fh


Constructor & Destructor Documentation

acdk::io::RessourceFileImpl::RessourceFileImpl IN(RRessourceFileSystem fs,
IN(RRessourceFile fh
[inline]
 


Member Function Documentation

bool acdk::io::RessourceFileImpl::canRead  )  [inline, virtual]
 

Implements acdk::io::FileImpl.

bool acdk::io::RessourceFileImpl::canWrite  )  [inline, virtual]
 

Implements acdk::io::FileImpl.

bool acdk::io::RessourceFileImpl::createNewFile  )  [inline, virtual]
 

May change later.

Now only manipulation over FileSystem is possible

Implements acdk::io::FileImpl.

bool acdk::io::RessourceFileImpl::deleteFile  )  [inline, virtual]
 

Implements acdk::io::FileImpl.

bool acdk::io::RessourceFileImpl::exists  )  [inline, virtual]
 

Implements acdk::io::FileImpl.

jlong acdk::io::RessourceFileImpl::fileCreated  )  [inline, virtual]
 

Implements acdk::io::FileImpl.

RString acdk::io::RessourceFileImpl::getAbsolutePath  )  [inline, virtual]
 

Implements acdk::io::FileImpl.

RString acdk::io::RessourceFileImpl::getCanonicalPath  )  [inline, virtual]
 

corresponding to File

Implements acdk::io::FileImpl.

RFileSystem acdk::io::RessourceFileImpl::getFileSystem  )  [inline, virtual]
 

Implements acdk::io::FileImpl.

RString acdk::io::RessourceFileImpl::getName  )  [inline, virtual]
 

Implements acdk::io::FileImpl.

RFile acdk::io::RessourceFileImpl::getParentFile  )  [inline, virtual]
 

Implements acdk::io::FileImpl.

RString acdk::io::RessourceFileImpl::getPath  )  [inline, virtual]
 

Implements acdk::io::FileImpl.

RReader acdk::io::RessourceFileImpl::getReader  )  [inline, virtual]
 

Todo:
change this to StringReader

Implements acdk::io::FileImpl.

RWriter acdk::io::RessourceFileImpl::getWriter  )  [inline, virtual]
 

may change later

Implements acdk::io::FileImpl.

bool acdk::io::RessourceFileImpl::isAbsolute  )  [inline, virtual]
 

Implements acdk::io::FileImpl.

bool acdk::io::RessourceFileImpl::isDirectory  )  [inline, virtual]
 

Implements acdk::io::FileImpl.

bool acdk::io::RessourceFileImpl::isFile  )  [inline, virtual]
 

Implements acdk::io::FileImpl.

bool acdk::io::RessourceFileImpl::isHidden  )  [inline, virtual]
 

Implements acdk::io::FileImpl.

jlong acdk::io::RessourceFileImpl::lastModified  )  [inline, virtual]
 

Implements acdk::io::FileImpl.

jlong acdk::io::RessourceFileImpl::length  )  [inline, virtual]
 

Implements acdk::io::FileImpl.

RFile acdk::io::RessourceFileImpl::makeChild IN(RString subfile  )  [inline, virtual]
 

Implements acdk::io::FileImpl.

bool acdk::io::RessourceFileImpl::mkdir int  mode = 0777  )  [inline, virtual]
 

Implements acdk::io::FileImpl.

bool acdk::io::RessourceFileImpl::renameTo IN(RFile dest  )  [inline, virtual]
 

Implements acdk::io::FileImpl.

bool acdk::io::RessourceFileImpl::setLastModified jlong  time  )  [inline, virtual]
 

Implements acdk::io::FileImpl.


Member Data Documentation

RRessourceFile acdk::io::RessourceFileImpl::_fh [private]
 

RRessourceFileSystem acdk::io::RessourceFileImpl::_fs [private]