modelgbp Generated OpFlex Model
1.7.0
|
Public Member Functions | |
boost::optional< OF_SHARED_PTR < modelgbp::gbpe::EpgMapping > > | resolveGbpeEpgMapping (const std::string &gbpeEpgMappingName) |
Retrieve the child object with the specified naming properties. More... | |
OF_SHARED_PTR < modelgbp::gbpe::EpgMapping > | addGbpeEpgMapping (const std::string &gbpeEpgMappingName) |
Create a new child object with the specified naming properties and make it a child of this object in the currently-active mutator. More... | |
void | resolveGbpeEpgMapping (std::vector< OF_SHARED_PTR< modelgbp::gbpe::EpgMapping > > &out) |
Resolve and retrieve all of the immediate children of type modelgbp::gbpe::EpgMapping. More... | |
boost::optional< OF_SHARED_PTR < modelgbp::gbpe::IndirectEpgMapping > > | resolveGbpeIndirectEpgMapping (const std::string &gbpeIndirectEpgMappingName) |
Retrieve the child object with the specified naming properties. More... | |
OF_SHARED_PTR < modelgbp::gbpe::IndirectEpgMapping > | addGbpeIndirectEpgMapping (const std::string &gbpeIndirectEpgMappingName) |
Create a new child object with the specified naming properties and make it a child of this object in the currently-active mutator. More... | |
void | resolveGbpeIndirectEpgMapping (std::vector< OF_SHARED_PTR< modelgbp::gbpe::IndirectEpgMapping > > &out) |
Resolve and retrieve all of the immediate children of type modelgbp::gbpe::IndirectEpgMapping. More... | |
boost::optional< OF_SHARED_PTR < modelgbp::gbpe::MappingRuleSet > > | resolveGbpeMappingRuleSet (const std::string &gbpeMappingRuleSetName) |
Retrieve the child object with the specified naming properties. More... | |
OF_SHARED_PTR < modelgbp::gbpe::MappingRuleSet > | addGbpeMappingRuleSet (const std::string &gbpeMappingRuleSetName) |
Create a new child object with the specified naming properties and make it a child of this object in the currently-active mutator. More... | |
void | resolveGbpeMappingRuleSet (std::vector< OF_SHARED_PTR< modelgbp::gbpe::MappingRuleSet > > &out) |
Resolve and retrieve all of the immediate children of type modelgbp::gbpe::MappingRuleSet. More... | |
boost::optional< OF_SHARED_PTR < modelgbp::platform::Config > > | resolvePlatformConfig (const std::string &platformConfigName) |
Retrieve the child object with the specified naming properties. More... | |
OF_SHARED_PTR < modelgbp::platform::Config > | addPlatformConfig (const std::string &platformConfigName) |
Create a new child object with the specified naming properties and make it a child of this object in the currently-active mutator. More... | |
void | resolvePlatformConfig (std::vector< OF_SHARED_PTR< modelgbp::platform::Config > > &out) |
Resolve and retrieve all of the immediate children of type modelgbp::platform::Config. More... | |
boost::optional< OF_SHARED_PTR < modelgbp::policy::Space > > | resolvePolicySpace (const std::string &policySpaceName) |
Retrieve the child object with the specified naming properties. More... | |
OF_SHARED_PTR < modelgbp::policy::Space > | addPolicySpace (const std::string &policySpaceName) |
Create a new child object with the specified naming properties and make it a child of this object in the currently-active mutator. More... | |
void | resolvePolicySpace (std::vector< OF_SHARED_PTR< modelgbp::policy::Space > > &out) |
Resolve and retrieve all of the immediate children of type modelgbp::policy::Space. More... | |
void | remove () |
Remove this instance using the currently-active mutator. More... | |
Universe (opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri, const OF_SHARED_PTR< const opflex::modb::mointernal::ObjectInstance > &oi) | |
Construct an instance of Universe. More... | |
Static Public Member Functions | |
static boost::optional < OF_SHARED_PTR < modelgbp::policy::Universe > > | resolve (opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri) |
Retrieve an instance of Universe from the managed object store. More... | |
static boost::optional < OF_SHARED_PTR < modelgbp::policy::Universe > > | resolve (const opflex::modb::URI &uri) |
Retrieve an instance of Universe from the managed object store using the default framework instance. More... | |
static boost::optional < OF_SHARED_PTR < modelgbp::policy::Universe > > | resolve (opflex::ofcore::OFFramework &framework) |
Retrieve an instance of Universe from the managed object store by constructing its URI from the path elements that lead to it. More... | |
static boost::optional < OF_SHARED_PTR < modelgbp::policy::Universe > > | resolve () |
Retrieve an instance of Universe from the default managed object store by constructing its URI from the path elements that lead to it. More... | |
static void | remove (opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri) |
Remove the Universe object with the specified URI using the currently-active mutator. More... | |
static void | remove (const opflex::modb::URI &uri) |
Remove the Universe object with the specified URI using the currently-active mutator and the default framework instance. More... | |
static void | registerListener (opflex::ofcore::OFFramework &framework, opflex::modb::ObjectListener *listener) |
Register a listener that will get called for changes related to this class. More... | |
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. More... | |
static void | unregisterListener (opflex::ofcore::OFFramework &framework, opflex::modb::ObjectListener *listener) |
Unregister a listener from updates to this class. More... | |
static void | unregisterListener (opflex::modb::ObjectListener *listener) |
Unregister a listener from updates to this class from the default framework instance. More... | |
Static Public Attributes | |
static const opflex::modb::class_id_t | CLASS_ID = 223 |
The unique class ID for Universe. | |
|
inline |
Construct an instance of Universe.
This should not typically be called from user code.
|
inline |
Create a new child object with the specified naming properties and make it a child of this object in the currently-active mutator.
If the object already exists in the store, get a mutable copy of that object. If the object already exists in the mutator, get a reference to the object.
gbpeEpgMappingName | the value of gbpeEpgMappingName, a naming property for EpgMapping |
std::logic_error | if no mutator is active |
References CLASS_ID.
|
inline |
Create a new child object with the specified naming properties and make it a child of this object in the currently-active mutator.
If the object already exists in the store, get a mutable copy of that object. If the object already exists in the mutator, get a reference to the object.
gbpeIndirectEpgMappingName | the value of gbpeIndirectEpgMappingName, a naming property for IndirectEpgMapping |
std::logic_error | if no mutator is active |
References CLASS_ID.
|
inline |
Create a new child object with the specified naming properties and make it a child of this object in the currently-active mutator.
If the object already exists in the store, get a mutable copy of that object. If the object already exists in the mutator, get a reference to the object.
gbpeMappingRuleSetName | the value of gbpeMappingRuleSetName, a naming property for MappingRuleSet |
std::logic_error | if no mutator is active |
References CLASS_ID.
|
inline |
Create a new child object with the specified naming properties and make it a child of this object in the currently-active mutator.
If the object already exists in the store, get a mutable copy of that object. If the object already exists in the mutator, get a reference to the object.
platformConfigName | the value of platformConfigName, a naming property for Config |
std::logic_error | if no mutator is active |
References CLASS_ID.
|
inline |
Create a new child object with the specified naming properties and make it a child of this object in the currently-active mutator.
If the object already exists in the store, get a mutable copy of that object. If the object already exists in the mutator, get a reference to the object.
policySpaceName | the value of policySpaceName, a naming property for Space |
std::logic_error | if no mutator is active |
References CLASS_ID.
|
inlinestatic |
Register a listener that will get called for changes related to this class.
This listener will be called for any modifications of this class or any transitive children of this class.
framework | the framework instance |
listener | the listener functional object that should be called when changes occur related to the class. This memory is owned by the caller and should be freed only after it has been unregistered. |
References CLASS_ID.
Referenced by registerListener().
|
inlinestatic |
Register a listener that will get called for changes related to this class with the default framework instance.
This listener will be called for any modifications of this class or any transitive children of this class.
listener | the listener functional object that should be called when changes occur related to the class. This memory is owned by the caller and should be freed only after it has been unregistered. |
References registerListener().
|
inline |
Remove this instance using the currently-active mutator.
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.
std::logic_error | if no mutator is active |
References CLASS_ID.
|
inlinestatic |
Remove the Universe object with the specified URI using the currently-active mutator.
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.
framework | the framework instance to use |
uri | the URI of the object to remove |
std::logic_error | if no mutator is active |
References CLASS_ID.
|
inlinestatic |
Remove the Universe object with the specified URI using the currently-active mutator and 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.
uri | the URI of the object to remove |
std::logic_error | if no mutator is active |
|
inlinestatic |
Retrieve an instance of Universe from the managed object store.
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.
framework | the framework instance to use |
uri | the URI of the object to retrieve |
References CLASS_ID.
|
inlinestatic |
Retrieve an instance of Universe from the managed object store using the default framework instance.
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.
uri | the URI of the object to retrieve |
References CLASS_ID.
|
inlinestatic |
Retrieve an instance of Universe 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
framework | the framework instance to use |
References resolve().
|
inlinestatic |
Retrieve an instance of Universe 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
Referenced by resolve(), and modelgbp::dmtree::Root::resolvePolicyUniverse().
|
inline |
Retrieve the child object with the specified naming properties.
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.
gbpeEpgMappingName | the value of gbpeEpgMappingName, a naming property for EpgMapping |
References modelgbp::gbpe::EpgMapping::resolve().
|
inline |
Resolve and retrieve all of the immediate children of type modelgbp::gbpe::EpgMapping.
Note that this retrieves only those children that exist in the local store. It is possible that there are other children that exist remotely.
The resulting managed objects will be added to the result vector provided.
out | a reference to a vector that will receive the child objects. |
References CLASS_ID.
|
inline |
Retrieve the child object with the specified naming properties.
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.
gbpeIndirectEpgMappingName | the value of gbpeIndirectEpgMappingName, a naming property for IndirectEpgMapping |
References modelgbp::gbpe::IndirectEpgMapping::resolve().
|
inline |
Resolve and retrieve all of the immediate children of type modelgbp::gbpe::IndirectEpgMapping.
Note that this retrieves only those children that exist in the local store. It is possible that there are other children that exist remotely.
The resulting managed objects will be added to the result vector provided.
out | a reference to a vector that will receive the child objects. |
References CLASS_ID.
|
inline |
Retrieve the child object with the specified naming properties.
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.
gbpeMappingRuleSetName | the value of gbpeMappingRuleSetName, a naming property for MappingRuleSet |
References modelgbp::gbpe::MappingRuleSet::resolve().
|
inline |
Resolve and retrieve all of the immediate children of type modelgbp::gbpe::MappingRuleSet.
Note that this retrieves only those children that exist in the local store. It is possible that there are other children that exist remotely.
The resulting managed objects will be added to the result vector provided.
out | a reference to a vector that will receive the child objects. |
References CLASS_ID.
|
inline |
Retrieve the child object with the specified naming properties.
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.
platformConfigName | the value of platformConfigName, a naming property for Config |
References modelgbp::platform::Config::resolve().
|
inline |
Resolve and retrieve all of the immediate children of type modelgbp::platform::Config.
Note that this retrieves only those children that exist in the local store. It is possible that there are other children that exist remotely.
The resulting managed objects will be added to the result vector provided.
out | a reference to a vector that will receive the child objects. |
References CLASS_ID.
|
inline |
Retrieve the child object with the specified naming properties.
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.
policySpaceName | the value of policySpaceName, a naming property for Space |
References modelgbp::policy::Space::resolve().
|
inline |
Resolve and retrieve all of the immediate children of type modelgbp::policy::Space.
Note that this retrieves only those children that exist in the local store. It is possible that there are other children that exist remotely.
The resulting managed objects will be added to the result vector provided.
out | a reference to a vector that will receive the child objects. |
References CLASS_ID.
|
inlinestatic |
Unregister a listener from updates to this class.
framework | the framework instance |
listener | The listener to unregister. |
References CLASS_ID.
Referenced by unregisterListener().
|
inlinestatic |
Unregister a listener from updates to this class from the default framework instance.
listener | The listener to unregister. |
References unregisterListener().