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:
List of all members.Public Member Functions
- Directory (string name, LocalSite *ls, VobjectAccessControl *ac, const string &path)
- virtual ~Directory ()
- virtual void syncTypes (string filename, Vobject *t)
- virtual void sync ()
- virtual const ChildList & getChildren () throw (AccessControlError, RemoteError)
- virtual Vobject & findObject (const string &path) throw (NoSuchSiteError, NoSuchObjectError, URL::BadURLError, AccessControlError, RemoteError)
- virtual Vobject::ParentChildRelation & findChild (const string &path) throw (NoSuchObjectError, AccessControlError, RemoteError)
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 |
|
) |
|
|
Member Function Documentation
Vobject::ParentChildRelation & Directory::findChild |
( |
const string & |
path |
) |
throw (NoSuchObjectError, AccessControlError, RemoteError) [virtual] |
|
Vobject & Directory::findObject |
( |
const string & |
path |
) |
throw (NoSuchSiteError, NoSuchObjectError, URL::BadURLError, AccessControlError, RemoteError) [virtual] |
|
const Vobject::ChildList & Directory::getChildren |
( |
|
) |
throw (AccessControlError, RemoteError) [virtual] |
|
void Directory::sync |
( |
|
) |
[virtual] |
|
void Directory::syncTypes |
( |
string |
filename, |
|
|
Vobject * |
t |
|
) |
[virtual] |
|
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
1.3.2