version 1.5, 2001/06/22 04:30:19
|
version 1.7, 2001/07/02 01:50:10
|
|
|
ifstream is; | ifstream is; |
| |
if (!Open(is, path)) | if (!Open(is, path)) |
throw CannotOpenFile(path); |
return false; |
| |
// Look at each line: | // Look at each line: |
| |
|
|
| |
Boolean AssocTable::deleteAssociation( | Boolean AssocTable::deleteAssociation( |
const String& path, | const String& path, |
const String& assocInstanceName) |
const CIMReference& assocInstanceName) |
{ | { |
// Open input file: | // Open input file: |
| |
ifstream is; | ifstream is; |
| |
if (!Open(is, path)) | if (!Open(is, path)) |
throw CannotOpenFile(path); |
return false; |
| |
// Open output file: | // Open output file: |
| |
|
|
ifstream is; | ifstream is; |
| |
if (!Open(is, path)) | if (!Open(is, path)) |
throw CannotOpenFile(path); |
return false; |
| |
// For each line: | // For each line: |
| |
|
|
ifstream is; | ifstream is; |
| |
if (!Open(is, path)) | if (!Open(is, path)) |
throw CannotOpenFile(path); |
return false; |
| |
// For each line: | // For each line: |
| |