Allows you to perform actions based on a local directory containing OTD files. Currently the only action available is the automatic creation of required subobjects.
|
Definition at line 301 of file otdutil.cc. Referenced by initObject(). |
|
Free heap memory and close all open files.
Definition at line 378 of file otdutil.cc. Referenced by rescan(). |
|
Definition at line 258 of file otdutil.cc. Referenced by initObject(), and scanDir(). |
|
Parse OTDs for each type string in 'types', and create required subobjects. If you have registered the Metaobjects extenders, then the created object of that type will contain that metaobject, otherwise, it will just have the typestring it its type list, but no metaobject instance attached. The new objects will be added as children with the correct names under 'vobj'. If site is 0, then the site for 'vobj' is used to create the new objects. Definition at line 393 of file otdutil.cc. |
|
Rescan the OTD directories for added/removed OTDs.
Definition at line 387 of file otdutil.cc. |
|
Looks for OTDs in directories in the VOS_OTD_PATH environment variable, or in the default location if there is no such environment variable. If used, VOS_OTD_PATH should be a colon seperated list of directories. The default OTD directory is /share/vos/otd. Definition at line 317 of file otdutil.cc. Referenced by rescan(). |
|
Scan one directory 'dirname', recursing into subdirectories, parsing all OTDs until some basic info is gathered. Files are left open. Definition at line 336 of file otdutil.cc. Referenced by scan(). |
|
Definition at line 105 of file otdutil.cc. |
|
Definition at line 99 of file otdutil.cc. Referenced by ssplit(). |
|
Definition at line 113 of file otdutil.cc. Referenced by scan(), xml_cb_createObjects(), and xml_cb_otdScan(). |
|
Assumes 8 bit characters. Definition at line 138 of file otdutil.cc. Referenced by initObject(). |
|
Assumes 8 bit characters. Should use XML_Char Definition at line 196 of file otdutil.cc. Referenced by scanDir(). |
|
Definition at line 68 of file otdutil.cc. Referenced by scanDir(). |
|
Definition at line 95 of file otdutil.cc. Referenced by accumulate_extends(), cleanup(), initObject(), and xml_cb_otdScan(). |