|
static boost::optional< OF_SHARED_PTR< modelgbp::inv::LocalInventoryEpFromGroupRTgt > > | resolve (opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri) |
| Retrieve an instance of LocalInventoryEpFromGroupRTgt from the managed object store.
|
|
static boost::optional< OF_SHARED_PTR< modelgbp::inv::LocalInventoryEpFromGroupRTgt > > | resolve (const opflex::modb::URI &uri) |
| Retrieve an instance of LocalInventoryEpFromGroupRTgt from the managed object store using the default framework instance.
|
|
static boost::optional< OF_SHARED_PTR< modelgbp::inv::LocalInventoryEpFromGroupRTgt > > | resolve (opflex::ofcore::OFFramework &framework, const std::string &policySpaceName, const std::string &gbpEpGroupName, const std::string &invLocalInventoryEpFromGroupRTgtSource) |
| Retrieve an instance of LocalInventoryEpFromGroupRTgt from the managed object store by constructing its URI from the path elements that lead to it.
|
|
static boost::optional< OF_SHARED_PTR< modelgbp::inv::LocalInventoryEpFromGroupRTgt > > | resolve (const std::string &policySpaceName, const std::string &gbpEpGroupName, const std::string &invLocalInventoryEpFromGroupRTgtSource) |
| Retrieve an instance of LocalInventoryEpFromGroupRTgt from the default managed object store by constructing its URI from the path elements that lead to it.
|
|
static void | remove (opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri) |
| Remove the LocalInventoryEpFromGroupRTgt object with the specified URI using the currently-active mutator.
|
|
static void | remove (const opflex::modb::URI &uri) |
| Remove the LocalInventoryEpFromGroupRTgt object with the specified URI using the currently-active mutator and the default framework instance.
|
|
static void | remove (opflex::ofcore::OFFramework &framework, const std::string &policySpaceName, const std::string &gbpEpGroupName, const std::string &invLocalInventoryEpFromGroupRTgtSource) |
| Remove the LocalInventoryEpFromGroupRTgt object with the specified path elements from the managed object store.
|
|
static void | remove (const std::string &policySpaceName, const std::string &gbpEpGroupName, const std::string &invLocalInventoryEpFromGroupRTgtSource) |
| Remove the LocalInventoryEpFromGroupRTgt object with the specified path elements from the managed object store using the default framework instance.
|
|
static void | registerListener (opflex::ofcore::OFFramework &framework, opflex::modb::ObjectListener *listener) |
| Register a listener that will get called for changes related to this class.
|
|
static void | registerListener (opflex::modb::ObjectListener *listener) |
| Register a listener that will get called for changes related to this class with the default framework instance.
|
|
static void | unregisterListener (opflex::ofcore::OFFramework &framework, opflex::modb::ObjectListener *listener) |
| Unregister a listener from updates to this class.
|
|
static void | unregisterListener (opflex::modb::ObjectListener *listener) |
| Unregister a listener from updates to this class from the default framework instance.
|
|
static void modelgbp::inv::LocalInventoryEpFromGroupRTgt::remove |
( |
const std::string & | policySpaceName, |
|
|
const std::string & | gbpEpGroupName, |
|
|
const std::string & | invLocalInventoryEpFromGroupRTgtSource ) |
|
inlinestatic |
Remove the LocalInventoryEpFromGroupRTgt object with the specified path elements from the managed object store using the default framework instance.
If the object does not exist, then this will be a no-op. If this object has any children, they will be garbage-collected at some future time.
The object URI generated by this function will take the form: /PolicyUniverse/PolicySpace/[policySpaceName]/GbpEpGroup/[gbpEpGroupName]/InvLocalInventoryEpFromGroupRTgt/[invLocalInventoryEpFromGroupRTgtSource]
- Parameters
-
policySpaceName | the value of policySpaceName, a naming property for Space |
gbpEpGroupName | the value of gbpEpGroupName, a naming property for EpGroup |
invLocalInventoryEpFromGroupRTgtSource | the value of invLocalInventoryEpFromGroupRTgtSource, a naming property for LocalInventoryEpFromGroupRTgt |
- Exceptions
-
std::logic_error | if no mutator is active |
References remove().
static void modelgbp::inv::LocalInventoryEpFromGroupRTgt::remove |
( |
opflex::ofcore::OFFramework & | framework, |
|
|
const std::string & | policySpaceName, |
|
|
const std::string & | gbpEpGroupName, |
|
|
const std::string & | invLocalInventoryEpFromGroupRTgtSource ) |
|
inlinestatic |
Remove the LocalInventoryEpFromGroupRTgt object with the specified path elements from the managed object store.
If the object does not exist, then this will be a no-op. If this object has any children, they will be garbage-collected at some future time.
The object URI generated by this function will take the form: /PolicyUniverse/PolicySpace/[policySpaceName]/GbpEpGroup/[gbpEpGroupName]/InvLocalInventoryEpFromGroupRTgt/[invLocalInventoryEpFromGroupRTgtSource]
- Parameters
-
framework | the framework instance to use |
policySpaceName | the value of policySpaceName, a naming property for Space |
gbpEpGroupName | the value of gbpEpGroupName, a naming property for EpGroup |
invLocalInventoryEpFromGroupRTgtSource | the value of invLocalInventoryEpFromGroupRTgtSource, a naming property for LocalInventoryEpFromGroupRTgt |
- Exceptions
-
std::logic_error | if no mutator is active |
References CLASS_ID.
static boost::optional< OF_SHARED_PTR< modelgbp::inv::LocalInventoryEpFromGroupRTgt > > modelgbp::inv::LocalInventoryEpFromGroupRTgt::resolve |
( |
const std::string & | policySpaceName, |
|
|
const std::string & | gbpEpGroupName, |
|
|
const std::string & | invLocalInventoryEpFromGroupRTgtSource ) |
|
inlinestatic |
Retrieve an instance of LocalInventoryEpFromGroupRTgt from the default managed object store by constructing its URI from the path elements that lead to it.
If the object does not exist in the local store, returns boost::none. Note that even though it may not exist locally, it may still exist remotely.
The object URI generated by this function will take the form: /PolicyUniverse/PolicySpace/[policySpaceName]/GbpEpGroup/[gbpEpGroupName]/InvLocalInventoryEpFromGroupRTgt/[invLocalInventoryEpFromGroupRTgtSource]
- Parameters
-
policySpaceName | the value of policySpaceName, a naming property for Space |
gbpEpGroupName | the value of gbpEpGroupName, a naming property for EpGroup |
invLocalInventoryEpFromGroupRTgtSource | the value of invLocalInventoryEpFromGroupRTgtSource, a naming property for LocalInventoryEpFromGroupRTgt |
- Returns
- a shared pointer to the object or boost::none if it does not exist.
References resolve().
static boost::optional< OF_SHARED_PTR< modelgbp::inv::LocalInventoryEpFromGroupRTgt > > modelgbp::inv::LocalInventoryEpFromGroupRTgt::resolve |
( |
opflex::ofcore::OFFramework & | framework, |
|
|
const std::string & | policySpaceName, |
|
|
const std::string & | gbpEpGroupName, |
|
|
const std::string & | invLocalInventoryEpFromGroupRTgtSource ) |
|
inlinestatic |
Retrieve an instance of LocalInventoryEpFromGroupRTgt from the managed object store by constructing its URI from the path elements that lead to it.
If the object does not exist in the local store, returns boost::none. Note that even though it may not exist locally, it may still exist remotely.
The object URI generated by this function will take the form: /PolicyUniverse/PolicySpace/[policySpaceName]/GbpEpGroup/[gbpEpGroupName]/InvLocalInventoryEpFromGroupRTgt/[invLocalInventoryEpFromGroupRTgtSource]
- Parameters
-
framework | the framework instance to use |
policySpaceName | the value of policySpaceName, a naming property for Space |
gbpEpGroupName | the value of gbpEpGroupName, a naming property for EpGroup |
invLocalInventoryEpFromGroupRTgtSource | the value of invLocalInventoryEpFromGroupRTgtSource, a naming property for LocalInventoryEpFromGroupRTgt |
- Returns
- a shared pointer to the object or boost::none if it does not exist.
References resolve().