#include <OW_CIMRepository2.hpp>
Inheritance diagram for OW_NAMESPACE::CIMRepository2:
Definition at line 50 of file OW_CIMRepository2.hpp.
|
Create a new CIMRepository object.
Definition at line 76 of file OW_CIMRepository2.cpp. References OW_NAMESPACE::ConfigOpts::CHECK_REFERENTIAL_INTEGRITY_opt, OW_NAMESPACE::COMPONENT_NAME, OW_NAMESPACE::g_logger, m_checkReferentialIntegrity, m_env, and OW_DEFAULT_CHECK_REFERENTIAL_INTEGRITY. |
|
Destroy this CIMRepository object.
Definition at line 100 of file OW_CIMRepository2.cpp. References close(). |
|
|
|
Definition at line 1276 of file OW_CIMRepository2.cpp. References OW_NAMESPACE::String::c_str(), OW_NAMESPACE::CIMException::INVALID_NAMESPACE, m_mStore, OW_NAMESPACE::MetaRepository2::nameSpaceExists(), ns, OW_THROWCIMMSG, and OW_NAMESPACE::CIMObjectPath::setNameSpace(). Referenced by associatorNames(), associators(), and associatorsClasses(). |
|
Definition at line 1064 of file OW_CIMRepository2.cpp. References OW_NAMESPACE::String::c_str(), OW_NAMESPACE::CIMException::INVALID_NAMESPACE, m_mStore, OW_NAMESPACE::MetaRepository2::nameSpaceExists(), ns, OW_THROWCIMMSG, and OW_NAMESPACE::CIMObjectPath::setNameSpace(). Referenced by referenceNames(), references(), and referencesClasses(). |
|
Definition at line 1548 of file OW_CIMRepository2.cpp. References OW_NAMESPACE::CIMNULL, OW_NAMESPACE::WBEMFlags::E_DEEP, OW_NAMESPACE::WBEMFlags::E_INCLUDE_CLASS_ORIGIN, OW_NAMESPACE::WBEMFlags::E_INCLUDE_QUALIFIERS, OW_NAMESPACE::WBEMFlags::E_NOT_LOCAL_ONLY, OW_NAMESPACE::String::empty(), OW_NAMESPACE::MetaRepository2::enumClass(), OW_NAMESPACE::MetaRepository2::getCIMClass(), OW_NAMESPACE::ResultHandlerIFC< T >::handle(), m_mStore, ns, OW_THROWCIM, result, and OW_NAMESPACE::CIMException::SUCCESS. |
|
Definition at line 384 of file OW_CIMRepository2.cpp. References checkGetClassRvalAndThrow(), OW_NAMESPACE::CIMNULL, className, OW_NAMESPACE::WBEMFlags::E_INCLUDE_CLASS_ORIGIN, OW_NAMESPACE::WBEMFlags::E_INCLUDE_QUALIFIERS, OW_NAMESPACE::WBEMFlags::E_NOT_LOCAL_ONLY, OW_NAMESPACE::MetaRepository2::getCIMClass(), m_mStore, ns, and theClass. Referenced by _staticAssociatorsClass(), _staticReferencesClass(), createClass(), deleteClass(), and modifyClass(). |
|
Definition at line 393 of file OW_CIMRepository2.cpp. References checkGetClassRvalAndThrowInst(), OW_NAMESPACE::CIMNULL, className, OW_NAMESPACE::WBEMFlags::E_INCLUDE_CLASS_ORIGIN, OW_NAMESPACE::WBEMFlags::E_INCLUDE_QUALIFIERS, OW_NAMESPACE::WBEMFlags::E_NOT_LOCAL_ONLY, OW_NAMESPACE::MetaRepository2::getCIMClass(), m_mStore, ns, and theClass. Referenced by enumInstanceNames(), enumInstances(), getInstance(), getProperty(), and setProperty(). |
|
Definition at line 1425 of file OW_CIMRepository2.cpp. References OW_NAMESPACE::AssocDb2::getAllEntries(), handler, m_instAssocDb, and result. |
|
Definition at line 1347 of file OW_CIMRepository2.cpp. References context, OW_NAMESPACE::AssocDb2::getAllEntries(), handler, m_instAssocDb, propertyList, and result. |
|
Definition at line 1438 of file OW_CIMRepository2.cpp. References _getClass(), context, OW_NAMESPACE::AssocDb2::getAllEntries(), OW_NAMESPACE::CIMObjectPath::getClassName(), OW_NAMESPACE::CIMObjectPath::getNameSpace(), OW_NAMESPACE::CIMClass::getSuperClass(), handler, m_classAssocDb, ns, OW_ASSERT, propertyList, OW_NAMESPACE::CIMObjectPath::setClassName(), and theClass. |
|
Definition at line 1266 of file OW_CIMRepository2.cpp. References OW_NAMESPACE::AssocDb2::getAllEntries(), handler, m_instAssocDb, and result. |
|
Definition at line 1253 of file OW_CIMRepository2.cpp. References context, OW_NAMESPACE::AssocDb2::getAllEntries(), handler, m_instAssocDb, propertyList, and result. |
|
Definition at line 1480 of file OW_CIMRepository2.cpp. References _getClass(), context, OW_NAMESPACE::AssocDb2::getAllEntries(), OW_NAMESPACE::CIMObjectPath::getClassName(), OW_NAMESPACE::CIMObjectPath::getNameSpace(), OW_NAMESPACE::CIMClass::getSuperClass(), handler, m_classAssocDb, m_env, ns, OW_ASSERT, OW_LOG_DEBUG, propertyList, OW_NAMESPACE::CIMObjectPath::setClassName(), theClass, and OW_NAMESPACE::CIMObjectPath::toString(). |
|
Definition at line 1635 of file OW_CIMRepository2.cpp. References OW_NAMESPACE::CIMClass::getKeys(), OW_NAMESPACE::Array< T >::size(), and theClass. |
|
This method is used to enumerate the names of CIM Objects (Classes or Instances) that are associated to a particular CIM Object.
Implements OW_NAMESPACE::RepositoryIFC. Definition at line 989 of file OW_CIMRepository2.cpp. References _commonAssociators(), context, OW_NAMESPACE::WBEMFlags::E_EXCLUDE_CLASS_ORIGIN, OW_NAMESPACE::WBEMFlags::E_EXCLUDE_QUALIFIERS, ns, and result. |
|
This operation is used to enumerate CIM Objects (Classes or Instances) that are associated to a particular source CIM Object.
Clients SHOULD NOT explicitly specify properties in the PropertyList parameter unless they have specified a non-empty ("") value for the ResultClass parameter.
Implements OW_NAMESPACE::RepositoryIFC. Definition at line 959 of file OW_CIMRepository2.cpp. References _commonAssociators(), context, ns, propertyList, and result. |
|
This operation is used to enumerate CIMClasses that are associated to a particular source CIM Object.
Clients SHOULD NOT explicitly specify properties in the PropertyList parameter unless they have specified a non-empty ("") value for the ResultClass parameter.
Implements OW_NAMESPACE::RepositoryIFC. Definition at line 974 of file OW_CIMRepository2.cpp. References _commonAssociators(), context, ns, propertyList, and result. |
|
Implements OW_NAMESPACE::RepositoryIFC. Definition at line 1742 of file OW_CIMRepository2.cpp. |
|
Definition at line 1579 of file OW_CIMRepository2.cpp. References OW_NAMESPACE::String::c_str(), className, OW_NAMESPACE::CIMException::INVALID_NAMESPACE, m_mStore, OW_NAMESPACE::MetaRepository2::nameSpaceExists(), ns, OW_THROWCIMMSG, OW_NAMESPACE::CIMException::SUCCESS, and OW_NAMESPACE::toString(). Referenced by _getClass(), and getClass(). |
|
Definition at line 1596 of file OW_CIMRepository2.cpp. References OW_NAMESPACE::String::c_str(), className, OW_NAMESPACE::CIMException::INVALID_CLASS, OW_NAMESPACE::CIMException::INVALID_NAMESPACE, m_mStore, OW_NAMESPACE::MetaRepository2::nameSpaceExists(), ns, OW_THROWCIMMSG, OW_NAMESPACE::CIMException::SUCCESS, and OW_NAMESPACE::toString(). Referenced by _instGetClass(). |
|
Close this RepositoryIFC.
Implements OW_NAMESPACE::RepositoryIFC. Definition at line 243 of file OW_CIMRepository2.cpp. References OW_NAMESPACE::AssocDb2::close(), OW_NAMESPACE::MetaRepository2::close(), OW_NAMESPACE::InstanceRepository2::close(), m_classAssocDb, m_dbenv, m_instAssocDb, m_iStore, and m_mStore. Referenced by ~CIMRepository2(). |
|
creates a class in the store
Implements OW_NAMESPACE::RepositoryIFC. Definition at line 478 of file OW_CIMRepository2.cpp. References _getClass(), OW_NAMESPACE::AssocDb2::addEntries(), cimClass, OW_NAMESPACE::MetaRepository2::createClass(), OW_NAMESPACE::CIMClass::getName(), OW_NAMESPACE::CIMClass::isAssociation(), m_classAssocDb, m_mStore, and ns. |
|
Creates a instance in the store.
Implements OW_NAMESPACE::RepositoryIFC. Definition at line 779 of file OW_CIMRepository2.cpp. References OW_NAMESPACE::E_DEBUG_LEVEL, m_env, ns, OW_LOG_DEBUG, and OW_NAMESPACE::CIMInstance::toMOF(). |
|
Create a cim namespace.
Implements OW_NAMESPACE::RepositoryIFC. Definition at line 260 of file OW_CIMRepository2.cpp. References context, OW_NAMESPACE::MetaRepository2::createNameSpace(), OW_NAMESPACE::E_DEBUG_LEVEL, m_env, m_mStore, ns, and OW_LOG_DEBUG. Referenced by OW_NAMESPACE::CIM_NamespaceInstProv::createInstance(). |
|
Delete an existing class from the store.
Implements OW_NAMESPACE::RepositoryIFC. Definition at line 452 of file OW_CIMRepository2.cpp. References _getClass(), className, OW_NAMESPACE::E_DEBUG_LEVEL, OW_NAMESPACE::WBEMFlags::E_DEEP, OW_NAMESPACE::WBEMFlags::E_EXCLUDE_CLASS_ORIGIN, OW_NAMESPACE::WBEMFlags::E_EXCLUDE_QUALIFIERS, OW_NAMESPACE::WBEMFlags::E_LOCAL_ONLY, enumClasses(), m_classAssocDb, m_env, m_iStore, m_mStore, ns, OW_ASSERT, and OW_LOG_DEBUG. |
|
Delete an existing instance from the store.
Implements OW_NAMESPACE::RepositoryIFC. Definition at line 738 of file OW_CIMRepository2.cpp. References cop, OW_NAMESPACE::E_DEBUG_LEVEL, m_env, ns, OW_LOG_DEBUG, OW_NAMESPACE::CIMObjectPath::setNameSpace(), and OW_NAMESPACE::CIMObjectPath::toString(). |
|
Delete a specified namespace.
Implements OW_NAMESPACE::RepositoryIFC. Definition at line 272 of file OW_CIMRepository2.cpp. References context, OW_NAMESPACE::MetaRepository2::deleteNameSpace(), OW_NAMESPACE::E_DEBUG_LEVEL, m_env, m_mStore, ns, and OW_LOG_DEBUG. Referenced by OW_NAMESPACE::CIM_NamespaceInstProv::deleteInstance(). |
|
Delete an existing qualifier type from the repository.
Implements OW_NAMESPACE::RepositoryIFC. Definition at line 325 of file OW_CIMRepository2.cpp. References OW_NAMESPACE::MetaRepository2::deleteQualifierType(), m_mStore, OW_NAMESPACE::MetaRepository2::nameSpaceExists(), OW_NAMESPACE::CIMException::NOT_FOUND, ns, and OW_THROWCIMMSG. |
|
Implements OW_NAMESPACE::RepositoryIFC. Definition at line 1748 of file OW_CIMRepository2.cpp. |
|
Enumerates the class specified by the CIMObjectPath.
Implements OW_NAMESPACE::RepositoryIFC. Definition at line 526 of file OW_CIMRepository2.cpp. References className, OW_NAMESPACE::E_DEBUG_LEVEL, OW_NAMESPACE::MetaRepository2::enumClass(), m_env, m_mStore, ns, OW_LOG_DEBUG, and result. Referenced by deleteClass(). |
|
Enumerates the class specified by the CIMObjectPath.
Implements OW_NAMESPACE::RepositoryIFC. Definition at line 543 of file OW_CIMRepository2.cpp. References className, OW_NAMESPACE::E_DEBUG_LEVEL, OW_NAMESPACE::MetaRepository2::enumClassNames(), m_env, m_mStore, ns, OW_LOG_DEBUG, and result. Referenced by OW_NAMESPACE::CIM_NamespaceInstProv::deleteInstance(), and OW_NAMESPACE::getClassChildren(). |
|
Retrieve an enumeration of instances object paths (CIMObjectPath) for a particular class.
Implements OW_NAMESPACE::RepositoryIFC. Definition at line 582 of file OW_CIMRepository2.cpp. References _instGetClass(), className, OW_NAMESPACE::E_DEBUG_LEVEL, OW_NAMESPACE::InstanceRepository2::getInstanceNames(), m_env, m_iStore, ns, OW_LOG_DEBUG, result, and theClass. |
|
Retrieve an enumeration of instances (CIMInstance) for a particular class.
Implements OW_NAMESPACE::RepositoryIFC. Definition at line 669 of file OW_CIMRepository2.cpp. References _instGetClass(), className, OW_NAMESPACE::E_DEBUG_LEVEL, OW_NAMESPACE::InstanceRepository2::getCIMInstances(), m_env, m_iStore, ns, OW_LOG_DEBUG, propertyList, result, and theTopClass. |
|
Gets a list of the namespaces.
Implements OW_NAMESPACE::RepositoryIFC. Definition at line 285 of file OW_CIMRepository2.cpp. References context, OW_NAMESPACE::E_DEBUG_LEVEL, OW_NAMESPACE::MetaRepository2::enumNameSpace(), m_env, m_mStore, OW_LOG_DEBUG, and result. Referenced by OW_NAMESPACE::enumNameSpace(), and OW_NAMESPACE::enumNameSpaceE(). |
|
Enumerate the qualifier types in a name space.
Implements OW_NAMESPACE::RepositoryIFC. Definition at line 312 of file OW_CIMRepository2.cpp. References OW_NAMESPACE::E_DEBUG_LEVEL, OW_NAMESPACE::MetaRepository2::enumQualifierTypes(), m_env, m_mStore, ns, OW_LOG_DEBUG, and result. |
|
Implements OW_NAMESPACE::RepositoryIFC. Definition at line 948 of file OW_CIMRepository2.cpp. References OW_NAMESPACE::CIMException::NOT_SUPPORTED, and OW_THROWCIM. |
|
Gets an existing class from a store.
Implements OW_NAMESPACE::RepositoryIFC. Definition at line 364 of file OW_CIMRepository2.cpp. References checkGetClassRvalAndThrow(), OW_NAMESPACE::CIMNULL, className, OW_NAMESPACE::E_DEBUG_LEVEL, OW_NAMESPACE::MetaRepository2::getCIMClass(), OW_NAMESPACE::CIMClass::getName(), m_env, m_mStore, ns, OW_LOG_DEBUG, propertyList, and theClass. |
|
Implements OW_NAMESPACE::RepositoryIFC. Definition at line 542 of file OW_CIMRepository2.hpp. References m_env. |
|
Definition at line 710 of file OW_CIMRepository2.cpp. References _instGetClass(), OW_NAMESPACE::CIMNULL, OW_NAMESPACE::InstanceRepository2::getCIMInstance(), OW_NAMESPACE::CIMObjectPath::getClassName(), m_iStore, ns, OW_ASSERT, and propertyList. |
|
Retrieve a specific instance.
Implements OW_NAMESPACE::RepositoryIFC. Definition at line 697 of file OW_CIMRepository2.cpp. References context, ns, and propertyList. Referenced by getProperty(), and modifyInstance(). |
|
Get the specified CIM instance property.
Implements OW_NAMESPACE::RepositoryIFC. Definition at line 914 of file OW_CIMRepository2.cpp. References _instGetClass(), OW_NAMESPACE::String::c_str(), context, OW_NAMESPACE::WBEMFlags::E_INCLUDE_CLASS_ORIGIN, OW_NAMESPACE::WBEMFlags::E_INCLUDE_QUALIFIERS, OW_NAMESPACE::WBEMFlags::E_NOT_LOCAL_ONLY, getInstance(), OW_NAMESPACE::CIMClass::getProperty(), OW_NAMESPACE::CIMProperty::getValue(), name, OW_NAMESPACE::CIMException::NO_SUCH_PROPERTY, ns, OW_THROWCIMMSG, and theClass. |
|
Get an existing qualifier type from the repository.
Implements OW_NAMESPACE::RepositoryIFC. Definition at line 297 of file OW_CIMRepository2.cpp. References OW_NAMESPACE::E_DEBUG_LEVEL, OW_NAMESPACE::MetaRepository2::getQualifierType(), m_env, m_mStore, ns, OW_LOG_DEBUG, and OW_NAMESPACE::toString(). |
|
Invokes a method.
Implements OW_NAMESPACE::RepositoryIFC. Definition at line 938 of file OW_CIMRepository2.cpp. References OW_NAMESPACE::CIMException::NOT_SUPPORTED, and OW_THROWCIM. |
|
set a class in the store - note children are not affected
Implements OW_NAMESPACE::RepositoryIFC. Definition at line 501 of file OW_CIMRepository2.cpp. References _getClass(), OW_NAMESPACE::E_DEBUG_LEVEL, OW_NAMESPACE::CIMClass::getName(), m_env, m_mStore, OW_NAMESPACE::MetaRepository2::modifyClass(), ns, OW_ASSERT, OW_LOG_DEBUG, and OW_NAMESPACE::CIMClass::toMOF(). |
|
Update an instance.
Implements OW_NAMESPACE::RepositoryIFC. Definition at line 841 of file OW_CIMRepository2.cpp. References OW_NAMESPACE::CIMNULL, cop, OW_NAMESPACE::WBEMFlags::E_INCLUDE_CLASS_ORIGIN, OW_NAMESPACE::WBEMFlags::E_INCLUDE_QUALIFIERS, OW_NAMESPACE::WBEMFlags::E_NOT_LOCAL_ONLY, getInstance(), m_iStore, OW_NAMESPACE::InstanceRepository2::modifyInstance(), ns, OW_ASSERT, propertyList, and theClass. |
|
Open
Implements OW_NAMESPACE::RepositoryIFC. Definition at line 166 of file OW_CIMRepository2.cpp. References OW_NAMESPACE::String::c_str(), OW_NAMESPACE::FileSystem::canWrite(), OW_NAMESPACE::FileSystem::exists(), OW_NAMESPACE::FileSystem::makeDirectory(), OW_FILENAME_SEPARATOR, and OW_THROW. |
|
|
|
This operation is used to enumerate the association objects that refer to a particular target CIM Object (Class or Instance).
Implements OW_NAMESPACE::RepositoryIFC. Definition at line 1028 of file OW_CIMRepository2.cpp. References _commonReferences(), context, OW_NAMESPACE::WBEMFlags::E_EXCLUDE_CLASS_ORIGIN, OW_NAMESPACE::WBEMFlags::E_EXCLUDE_QUALIFIERS, ns, and result. |
|
This operation is used to enumerate the association objects that refer to a particular target CIM Object (Class or Instance).
Implements OW_NAMESPACE::RepositoryIFC. Definition at line 1002 of file OW_CIMRepository2.cpp. References _commonReferences(), context, ns, propertyList, and result. |
|
This operation is used to enumerate the association objects that refer to a particular target CIM Class.
Implements OW_NAMESPACE::RepositoryIFC. Definition at line 1015 of file OW_CIMRepository2.cpp. References _commonReferences(), context, ns, propertyList, and result. |
|
Set a property value on an CIMInstance.
Implements OW_NAMESPACE::RepositoryIFC. Definition at line 860 of file OW_CIMRepository2.cpp. References _instGetClass(), OW_NAMESPACE::String::c_str(), OW_NAMESPACE::CIMValueCast::castValueToDataType(), OW_NAMESPACE::CIMException::getErrNo(), OW_NAMESPACE::CIMClass::getProperty(), name, OW_NAMESPACE::CIMException::NO_SUCH_PROPERTY, ns, OW_THROWCIMMSG, OW_NAMESPACE::CIMException::setErrNo(), theClass, and OW_NAMESPACE::CIMException::TYPE_MISMATCH. |
|
Updates the specified CIM qualifier type in the specified namespace.
Implements OW_NAMESPACE::RepositoryIFC. Definition at line 350 of file OW_CIMRepository2.cpp. References OW_NAMESPACE::E_DEBUG_LEVEL, m_env, m_mStore, ns, OW_LOG_DEBUG, OW_NAMESPACE::MetaRepository2::setQualifierType(), and OW_NAMESPACE::CIMQualifierType::toString(). |
|
Definition at line 635 of file OW_CIMRepository2.hpp. |
|
Definition at line 631 of file OW_CIMRepository2.hpp. Referenced by CIMRepository2(). |
|
Definition at line 626 of file OW_CIMRepository2.hpp. Referenced by _staticAssociatorsClass(), _staticReferencesClass(), close(), createClass(), and deleteClass(). |
|
Definition at line 633 of file OW_CIMRepository2.hpp. Referenced by close(). |
|
Definition at line 629 of file OW_CIMRepository2.hpp. Referenced by _staticReferencesClass(), CIMRepository2(), createInstance(), createNameSpace(), deleteClass(), deleteInstance(), deleteNameSpace(), enumClasses(), enumClassNames(), enumInstanceNames(), enumInstances(), enumNameSpace(), enumQualifierTypes(), getClass(), getEnvironment(), getQualifierType(), modifyClass(), and setQualifierType(). |
|
Definition at line 627 of file OW_CIMRepository2.hpp. Referenced by _staticAssociatorNames(), _staticAssociators(), _staticReferenceNames(), _staticReferences(), and close(). |
|
Definition at line 623 of file OW_CIMRepository2.hpp. Referenced by close(), deleteClass(), enumInstanceNames(), enumInstances(), getInstance(), and modifyInstance(). |
|
Definition at line 624 of file OW_CIMRepository2.hpp. Referenced by _commonAssociators(), _commonReferences(), _getAssociationClasses(), _getClass(), _instGetClass(), checkGetClassRvalAndThrow(), checkGetClassRvalAndThrowInst(), close(), createClass(), createNameSpace(), deleteClass(), deleteNameSpace(), deleteQualifierType(), enumClasses(), enumClassNames(), enumNameSpace(), enumQualifierTypes(), getClass(), getQualifierType(), modifyClass(), and setQualifierType(). |