modelgbp Generated OpFlex Model 1.7.0
|
Public Member Functions | |
bool | isUuidSet () |
Check whether uuid has been set. | |
boost::optional< const std::string & > | getUuid () |
Get the value of uuid if it has been set. | |
const std::string & | getUuid (const std::string &defaultValue) |
Get the value of uuid if set, otherwise the value of default passed in. | |
modelgbp::gbpe::EpAttributeSet & | setUuid (const std::string &newValue) |
Set uuid to the specified value in the currently-active mutator. | |
modelgbp::gbpe::EpAttributeSet & | unsetUuid () |
Unset uuid in the currently-active mutator. | |
boost::optional< OF_SHARED_PTR< modelgbp::gbpe::EpgMappingCtxFromAttrSetRTgt > > | resolveGbpeEpgMappingCtxFromAttrSetRTgt (const std::string &gbpeEpgMappingCtxFromAttrSetRTgtSource) |
Retrieve the child object with the specified naming properties. | |
OF_SHARED_PTR< modelgbp::gbpe::EpgMappingCtxFromAttrSetRTgt > | addGbpeEpgMappingCtxFromAttrSetRTgt (const std::string &gbpeEpgMappingCtxFromAttrSetRTgtSource) |
Create a new child object with the specified naming properties and make it a child of this object in the currently-active mutator. | |
void | resolveGbpeEpgMappingCtxFromAttrSetRTgt (std::vector< OF_SHARED_PTR< modelgbp::gbpe::EpgMappingCtxFromAttrSetRTgt > > &out) |
Resolve and retrieve all of the immediate children of type modelgbp::gbpe::EpgMappingCtxFromAttrSetRTgt. | |
boost::optional< OF_SHARED_PTR< modelgbp::gbpe::EpAttribute > > | resolveGbpeEpAttribute (const std::string &gbpeEpAttributeName) |
Retrieve the child object with the specified naming properties. | |
OF_SHARED_PTR< modelgbp::gbpe::EpAttribute > | addGbpeEpAttribute (const std::string &gbpeEpAttributeName) |
Create a new child object with the specified naming properties and make it a child of this object in the currently-active mutator. | |
void | resolveGbpeEpAttribute (std::vector< OF_SHARED_PTR< modelgbp::gbpe::EpAttribute > > &out) |
Resolve and retrieve all of the immediate children of type modelgbp::gbpe::EpAttribute. | |
void | remove () |
Remove this instance using the currently-active mutator. | |
EpAttributeSet (opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri, const OF_SHARED_PTR< const opflex::modb::mointernal::ObjectInstance > &oi) | |
Construct an instance of EpAttributeSet. | |
Static Public Member Functions | |
static boost::optional< OF_SHARED_PTR< modelgbp::gbpe::EpAttributeSet > > | resolve (opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri) |
Retrieve an instance of EpAttributeSet from the managed object store. | |
static boost::optional< OF_SHARED_PTR< modelgbp::gbpe::EpAttributeSet > > | resolve (const opflex::modb::URI &uri) |
Retrieve an instance of EpAttributeSet from the managed object store using the default framework instance. | |
static boost::optional< OF_SHARED_PTR< modelgbp::gbpe::EpAttributeSet > > | resolve (opflex::ofcore::OFFramework &framework, const std::string &gbpeEpAttributeSetUuid) |
Retrieve an instance of EpAttributeSet from the managed object store by constructing its URI from the path elements that lead to it. | |
static boost::optional< OF_SHARED_PTR< modelgbp::gbpe::EpAttributeSet > > | resolve (const std::string &gbpeEpAttributeSetUuid) |
Retrieve an instance of EpAttributeSet 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 EpAttributeSet object with the specified URI using the currently-active mutator. | |
static void | remove (const opflex::modb::URI &uri) |
Remove the EpAttributeSet 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 &gbpeEpAttributeSetUuid) |
Remove the EpAttributeSet object with the specified path elements from the managed object store. | |
static void | remove (const std::string &gbpeEpAttributeSetUuid) |
Remove the EpAttributeSet 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 Public Attributes | |
static const opflex::modb::class_id_t | CLASS_ID = 36 |
The unique class ID for EpAttributeSet. | |
|
inline |
Construct an instance of EpAttributeSet.
This should not typically be called from user code.
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.
gbpeEpAttributeName | the value of gbpeEpAttributeName, a naming property for EpAttribute |
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.
gbpeEpgMappingCtxFromAttrSetRTgtSource | the value of gbpeEpgMappingCtxFromAttrSetRTgtSource, a naming property for EpgMappingCtxFromAttrSetRTgt |
std::logic_error | if no mutator is active |
References CLASS_ID.
|
inline |
Get the value of uuid if it has been set.
References isUuidSet().
Referenced by getUuid().
|
inline |
Get the value of uuid if set, otherwise the value of default passed in.
defaultValue | default value returned if the property is not set |
References getUuid().
|
inline |
|
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().
|
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().
|
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 EpAttributeSet 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 |
References remove().
|
inlinestatic |
Remove the EpAttributeSet 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: /GbpeVMUniverse/GbpeEpAttributeSet/[gbpeEpAttributeSetUuid]
gbpeEpAttributeSetUuid | the value of gbpeEpAttributeSetUuid, a naming property for EpAttributeSet |
std::logic_error | if no mutator is active |
References remove().
|
inlinestatic |
Remove the EpAttributeSet 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 EpAttributeSet 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: /GbpeVMUniverse/GbpeEpAttributeSet/[gbpeEpAttributeSetUuid]
framework | the framework instance to use |
gbpeEpAttributeSetUuid | the value of gbpeEpAttributeSetUuid, a naming property for EpAttributeSet |
std::logic_error | if no mutator is active |
References CLASS_ID.
|
inlinestatic |
Retrieve an instance of EpAttributeSet 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 EpAttributeSet 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: /GbpeVMUniverse/GbpeEpAttributeSet/[gbpeEpAttributeSetUuid]
gbpeEpAttributeSetUuid | the value of gbpeEpAttributeSetUuid, a naming property for EpAttributeSet |
References resolve().
|
inlinestatic |
Retrieve an instance of EpAttributeSet 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.
Referenced by resolve(), resolve(), and modelgbp::gbpe::VMUniverse::resolveGbpeEpAttributeSet().
|
inlinestatic |
Retrieve an instance of EpAttributeSet 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: /GbpeVMUniverse/GbpeEpAttributeSet/[gbpeEpAttributeSetUuid]
framework | the framework instance to use |
gbpeEpAttributeSetUuid | the value of gbpeEpAttributeSetUuid, a naming property for EpAttributeSet |
References resolve().
|
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.
gbpeEpAttributeName | the value of gbpeEpAttributeName, a naming property for EpAttribute |
References modelgbp::gbpe::EpAttribute::resolve().
|
inline |
Resolve and retrieve all of the immediate children of type modelgbp::gbpe::EpAttribute.
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.
gbpeEpgMappingCtxFromAttrSetRTgtSource | the value of gbpeEpgMappingCtxFromAttrSetRTgtSource, a naming property for EpgMappingCtxFromAttrSetRTgt |
References modelgbp::gbpe::EpgMappingCtxFromAttrSetRTgt::resolve().
|
inline |
Resolve and retrieve all of the immediate children of type modelgbp::gbpe::EpgMappingCtxFromAttrSetRTgt.
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 |
Set uuid to the specified value in the currently-active mutator.
newValue | the new value to set. |
std::logic_error | if no mutator is active |
|
inlinestatic |
Unregister a listener from updates to this class from the default framework instance.
listener | The listener to unregister. |
References unregisterListener().
|
inlinestatic |
Unregister a listener from updates to this class.
framework | the framework instance |
listener | The listener to unregister. |
References CLASS_ID.
Referenced by unregisterListener().
|
inline |
Unset uuid in the currently-active mutator.
std::logic_error | if no mutator is active |