version 1.11, 2002/03/19 22:56:01
|
version 1.12, 2002/04/12 22:40:04
|
|
|
Array<CIMReference>& instanceNames, | Array<CIMReference>& instanceNames, |
Boolean includeFreeEntries); | Boolean includeFreeEntries); |
| |
|
|
/** Returns true if this index file has any non-free entries: | /** Returns true if this index file has any non-free entries: |
*/ | */ |
static Boolean hasNonFreeEntries(const String& path); | static Boolean hasNonFreeEntries(const String& path); |
|
|
| |
/** Open the index file and position the file pointer on the first | /** Open the index file and position the file pointer on the first |
entry (immediately after the free count). Create the file if it | entry (immediately after the free count). Create the file if it |
does not exist (writing a free count of zero). |
does not exist and if the create flag is true (writing a free |
|
count of zero). |
*/ | */ |
static Boolean _openFile( | static Boolean _openFile( |
const String& path, | const String& path, |
PEGASUS_STD(fstream)& fs); |
PEGASUS_STD(fstream)& fs, |
|
Boolean create = false); |
| |
/** Appends a new entry to the index file; called by both createEntry() | /** Appends a new entry to the index file; called by both createEntry() |
and modifyEntry(). | and modifyEntry(). |