modelgbp Generated OpFlex Model 1.7.0
|
Public Member Functions | |
bool | isNameSet () |
Check whether name has been set. | |
boost::optional< const std::string & > | getName () |
Get the value of name if it has been set. | |
const std::string & | getName (const std::string &defaultValue) |
Get the value of name if set, otherwise the value of default passed in. | |
modelgbp::gbpe::ReportedEpAttribute & | setName (const std::string &newValue) |
Set name to the specified value in the currently-active mutator. | |
modelgbp::gbpe::ReportedEpAttribute & | unsetName () |
Unset name in the currently-active mutator. | |
bool | isValueSet () |
Check whether value has been set. | |
boost::optional< const std::string & > | getValue () |
Get the value of value if it has been set. | |
const std::string & | getValue (const std::string &defaultValue) |
Get the value of value if set, otherwise the value of default passed in. | |
modelgbp::gbpe::ReportedEpAttribute & | setValue (const std::string &newValue) |
Set value to the specified value in the currently-active mutator. | |
modelgbp::gbpe::ReportedEpAttribute & | unsetValue () |
Unset value in the currently-active mutator. | |
void | remove () |
Remove this instance using the currently-active mutator. | |
ReportedEpAttribute (opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri, const OF_SHARED_PTR< const opflex::modb::mointernal::ObjectInstance > &oi) | |
Construct an instance of ReportedEpAttribute. | |
Static Public Member Functions | |
static boost::optional< OF_SHARED_PTR< modelgbp::gbpe::ReportedEpAttribute > > | resolve (opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri) |
Retrieve an instance of ReportedEpAttribute from the managed object store. | |
static boost::optional< OF_SHARED_PTR< modelgbp::gbpe::ReportedEpAttribute > > | resolve (const opflex::modb::URI &uri) |
Retrieve an instance of ReportedEpAttribute from the managed object store using the default framework instance. | |
static boost::optional< OF_SHARED_PTR< modelgbp::gbpe::ReportedEpAttribute > > | resolve (opflex::ofcore::OFFramework &framework, const std::string &eprL2EpContext, const opflex::modb::MAC &eprL2EpMac, const std::string &gbpeReportedEpAttributeName) |
Retrieve an instance of ReportedEpAttribute 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::ReportedEpAttribute > > | resolve (const std::string &eprL2EpContext, const opflex::modb::MAC &eprL2EpMac, const std::string &gbpeReportedEpAttributeName) |
Retrieve an instance of ReportedEpAttribute from the default managed object store by constructing its URI from the path elements that lead to it. | |
static boost::optional< OF_SHARED_PTR< modelgbp::gbpe::ReportedEpAttribute > > | resolve (opflex::ofcore::OFFramework &framework, const std::string &eprL3EpContext, const std::string &eprL3EpIp, const std::string &gbpeReportedEpAttributeName) |
Retrieve an instance of ReportedEpAttribute 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::ReportedEpAttribute > > | resolve (const std::string &eprL3EpContext, const std::string &eprL3EpIp, const std::string &gbpeReportedEpAttributeName) |
Retrieve an instance of ReportedEpAttribute 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 ReportedEpAttribute object with the specified URI using the currently-active mutator. | |
static void | remove (const opflex::modb::URI &uri) |
Remove the ReportedEpAttribute 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 &eprL2EpContext, const opflex::modb::MAC &eprL2EpMac, const std::string &gbpeReportedEpAttributeName) |
Remove the ReportedEpAttribute object with the specified path elements from the managed object store. | |
static void | remove (const std::string &eprL2EpContext, const opflex::modb::MAC &eprL2EpMac, const std::string &gbpeReportedEpAttributeName) |
Remove the ReportedEpAttribute object with the specified path elements from the managed object store using the default framework instance. | |
static void | remove (opflex::ofcore::OFFramework &framework, const std::string &eprL3EpContext, const std::string &eprL3EpIp, const std::string &gbpeReportedEpAttributeName) |
Remove the ReportedEpAttribute object with the specified path elements from the managed object store. | |
static void | remove (const std::string &eprL3EpContext, const std::string &eprL3EpIp, const std::string &gbpeReportedEpAttributeName) |
Remove the ReportedEpAttribute 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 = 39 |
The unique class ID for ReportedEpAttribute. | |
|
inline |
Construct an instance of ReportedEpAttribute.
This should not typically be called from user code.
References CLASS_ID.
|
inline |
Get the value of name if it has been set.
References isNameSet().
Referenced by getName().
|
inline |
Get the value of name if set, otherwise the value of default passed in.
defaultValue | default value returned if the property is not set |
References getName().
|
inline |
Get the value of value if it has been set.
References isValueSet().
Referenced by getValue().
|
inline |
Get the value of value if set, otherwise the value of default passed in.
defaultValue | default value returned if the property is not set |
References getValue().
|
inline |
|
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 ReportedEpAttribute 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 ReportedEpAttribute 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: /EprL2Universe/EprL2Ep/[eprL2EpContext]/[eprL2EpMac]/GbpeReportedEpAttributeSet/GbpeReportedEpAttribute/[gbpeReportedEpAttributeName]
eprL2EpContext | the value of eprL2EpContext, a naming property for L2Ep |
eprL2EpMac | the value of eprL2EpMac, a naming property for L2Ep |
gbpeReportedEpAttributeName | the value of gbpeReportedEpAttributeName, a naming property for ReportedEpAttribute |
std::logic_error | if no mutator is active |
References remove().
|
inlinestatic |
Remove the ReportedEpAttribute 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: /EprL3Universe/EprL3Ep/[eprL3EpContext]/[eprL3EpIp]/GbpeReportedEpAttributeSet/GbpeReportedEpAttribute/[gbpeReportedEpAttributeName]
eprL3EpContext | the value of eprL3EpContext, a naming property for L3Ep |
eprL3EpIp | the value of eprL3EpIp, a naming property for L3Ep |
gbpeReportedEpAttributeName | the value of gbpeReportedEpAttributeName, a naming property for ReportedEpAttribute |
std::logic_error | if no mutator is active |
References remove().
|
inlinestatic |
Remove the ReportedEpAttribute 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 ReportedEpAttribute 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: /EprL2Universe/EprL2Ep/[eprL2EpContext]/[eprL2EpMac]/GbpeReportedEpAttributeSet/GbpeReportedEpAttribute/[gbpeReportedEpAttributeName]
framework | the framework instance to use |
eprL2EpContext | the value of eprL2EpContext, a naming property for L2Ep |
eprL2EpMac | the value of eprL2EpMac, a naming property for L2Ep |
gbpeReportedEpAttributeName | the value of gbpeReportedEpAttributeName, a naming property for ReportedEpAttribute |
std::logic_error | if no mutator is active |
References CLASS_ID.
|
inlinestatic |
Remove the ReportedEpAttribute 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: /EprL3Universe/EprL3Ep/[eprL3EpContext]/[eprL3EpIp]/GbpeReportedEpAttributeSet/GbpeReportedEpAttribute/[gbpeReportedEpAttributeName]
framework | the framework instance to use |
eprL3EpContext | the value of eprL3EpContext, a naming property for L3Ep |
eprL3EpIp | the value of eprL3EpIp, a naming property for L3Ep |
gbpeReportedEpAttributeName | the value of gbpeReportedEpAttributeName, a naming property for ReportedEpAttribute |
std::logic_error | if no mutator is active |
References CLASS_ID.
|
inlinestatic |
Retrieve an instance of ReportedEpAttribute 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 ReportedEpAttribute 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: /EprL2Universe/EprL2Ep/[eprL2EpContext]/[eprL2EpMac]/GbpeReportedEpAttributeSet/GbpeReportedEpAttribute/[gbpeReportedEpAttributeName]
eprL2EpContext | the value of eprL2EpContext, a naming property for L2Ep |
eprL2EpMac | the value of eprL2EpMac, a naming property for L2Ep |
gbpeReportedEpAttributeName | the value of gbpeReportedEpAttributeName, a naming property for ReportedEpAttribute |
References resolve().
|
inlinestatic |
Retrieve an instance of ReportedEpAttribute 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: /EprL3Universe/EprL3Ep/[eprL3EpContext]/[eprL3EpIp]/GbpeReportedEpAttributeSet/GbpeReportedEpAttribute/[gbpeReportedEpAttributeName]
eprL3EpContext | the value of eprL3EpContext, a naming property for L3Ep |
eprL3EpIp | the value of eprL3EpIp, a naming property for L3Ep |
gbpeReportedEpAttributeName | the value of gbpeReportedEpAttributeName, a naming property for ReportedEpAttribute |
References resolve().
|
inlinestatic |
Retrieve an instance of ReportedEpAttribute 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(), resolve(), resolve(), and modelgbp::gbpe::ReportedEpAttributeSet::resolveGbpeReportedEpAttribute().
|
inlinestatic |
Retrieve an instance of ReportedEpAttribute 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: /EprL2Universe/EprL2Ep/[eprL2EpContext]/[eprL2EpMac]/GbpeReportedEpAttributeSet/GbpeReportedEpAttribute/[gbpeReportedEpAttributeName]
framework | the framework instance to use |
eprL2EpContext | the value of eprL2EpContext, a naming property for L2Ep |
eprL2EpMac | the value of eprL2EpMac, a naming property for L2Ep |
gbpeReportedEpAttributeName | the value of gbpeReportedEpAttributeName, a naming property for ReportedEpAttribute |
References resolve().
|
inlinestatic |
Retrieve an instance of ReportedEpAttribute 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: /EprL3Universe/EprL3Ep/[eprL3EpContext]/[eprL3EpIp]/GbpeReportedEpAttributeSet/GbpeReportedEpAttribute/[gbpeReportedEpAttributeName]
framework | the framework instance to use |
eprL3EpContext | the value of eprL3EpContext, a naming property for L3Ep |
eprL3EpIp | the value of eprL3EpIp, a naming property for L3Ep |
gbpeReportedEpAttributeName | the value of gbpeReportedEpAttributeName, a naming property for ReportedEpAttribute |
References resolve().
|
inline |
Set name to the specified value in the currently-active mutator.
newValue | the new value to set. |
std::logic_error | if no mutator is active |
|
inline |
Set value 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 name in the currently-active mutator.
std::logic_error | if no mutator is active |
|
inline |
Unset value in the currently-active mutator.
std::logic_error | if no mutator is active |