version 1.19, 2005/02/05 23:00:05
|
version 1.20, 2005/02/16 00:10:08
|
|
|
| |
PEGASUS_USING_PEGASUS; | PEGASUS_USING_PEGASUS; |
| |
cimmofRepository::cimmofRepository(const String &path, |
cimmofRepository::cimmofRepository(const String &path, const CIMRepository_Mode Mode, compilerCommonDefs::operationType ot) : |
compilerCommonDefs::operationType ot) : |
|
_cimrepository(0), _context(0), _ot(ot) | _cimrepository(0), _context(0), _ot(ot) |
{ | { |
// don't catch the exceptions that might be thrown. They should go up. | // don't catch the exceptions that might be thrown. They should go up. |
if (_ot != compilerCommonDefs::IGNORE_REPOSITORY) { | if (_ot != compilerCommonDefs::IGNORE_REPOSITORY) { |
_cimrepository = new CIMRepository(path + "/repository"); |
_cimrepository = new CIMRepository(path, Mode ); |
} | } |
_context = new compilerDeclContext(_cimrepository, _ot); | _context = new compilerDeclContext(_cimrepository, _ot); |
if (_cimrepository) | if (_cimrepository) |