Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Namespace Members | Compound Members | File Members | Related Pages | Examples

Directory Class Reference

This class reads a directory on the file system and creates FileProperty and other Directory objects to mirror the file system. More...

#include <vos/metaobjects/property/directory.hh>

Inheritance diagram for Directory:

LocalMetaObject MetaObject LocalVobject List of all members.

Public Member Functions


Detailed Description

This class reads a directory on the file system and creates FileProperty and other Directory objects to mirror the file system.

The directory will also be represented as a MetaObject, with types given in a special ".vostypes" file in the directory.

Call sync() to synchronize with the file system.

Definition at line 38 of file directory.hh.


Constructor & Destructor Documentation

Directory::Directory string  name,
LocalSite ls,
VobjectAccessControl *  ac,
const string &  path
 

Definition at line 50 of file directory.cc.

Referenced by sync().

Directory::~Directory  )  [virtual]
 

Definition at line 60 of file directory.cc.


Member Function Documentation

Vobject::ParentChildRelation & Directory::findChild const string &  path  )  throw (NoSuchObjectError, AccessControlError, RemoteError) [virtual]
 

Reimplemented from LocalMetaObject.

Definition at line 78 of file directory.cc.

Vobject & Directory::findObject const string &  path  )  throw (NoSuchSiteError, NoSuchObjectError, URL::BadURLError, AccessControlError, RemoteError) [virtual]
 

Reimplemented from LocalMetaObject.

Definition at line 70 of file directory.cc.

const Vobject::ChildList & Directory::getChildren  )  throw (AccessControlError, RemoteError) [virtual]
 

Reimplemented from LocalMetaObject.

Definition at line 64 of file directory.cc.

Referenced by sync().

void Directory::sync  )  [virtual]
 

Definition at line 100 of file directory.cc.

void Directory::syncTypes string  filename,
Vobject *  t
[virtual]
 

Definition at line 85 of file directory.cc.

Referenced by sync().


The documentation for this class was generated from the following files:
Generated on Tue Aug 12 03:55:53 2003 for Interreality Project - VOS by doxygen 1.3.2