|
modelgbp Generated OpFlex Model 1.7.0
|
Public Member Functions | |
| bool | isClassifierSet () |
| Check whether classifier has been set. | |
| boost::optional< const std::string & > | getClassifier () |
| Get the value of classifier if it has been set. | |
| const std::string & | getClassifier (const std::string &defaultValue) |
| Get the value of classifier if set, otherwise the value of default passed in. | |
| modelgbp::gbpe::SecGrpClassifierCounter & | setClassifier (const std::string &newValue) |
| Set classifier to the specified value in the currently-active mutator. | |
| modelgbp::gbpe::SecGrpClassifierCounter & | unsetClassifier () |
| Unset classifier in the currently-active mutator. | |
| bool | isGenIdSet () |
| Check whether genId has been set. | |
| boost::optional< uint64_t > | getGenId () |
| Get the value of genId if it has been set. | |
| uint64_t | getGenId (uint64_t defaultValue) |
| Get the value of genId if set, otherwise the value of default passed in. | |
| modelgbp::gbpe::SecGrpClassifierCounter & | setGenId (uint64_t newValue) |
| Set genId to the specified value in the currently-active mutator. | |
| modelgbp::gbpe::SecGrpClassifierCounter & | unsetGenId () |
| Unset genId in the currently-active mutator. | |
| bool | isRxbytesSet () |
| Check whether rxbytes has been set. | |
| boost::optional< uint64_t > | getRxbytes () |
| Get the value of rxbytes if it has been set. | |
| uint64_t | getRxbytes (uint64_t defaultValue) |
| Get the value of rxbytes if set, otherwise the value of default passed in. | |
| modelgbp::gbpe::SecGrpClassifierCounter & | setRxbytes (uint64_t newValue) |
| Set rxbytes to the specified value in the currently-active mutator. | |
| modelgbp::gbpe::SecGrpClassifierCounter & | unsetRxbytes () |
| Unset rxbytes in the currently-active mutator. | |
| bool | isRxpacketsSet () |
| Check whether rxpackets has been set. | |
| boost::optional< uint64_t > | getRxpackets () |
| Get the value of rxpackets if it has been set. | |
| uint64_t | getRxpackets (uint64_t defaultValue) |
| Get the value of rxpackets if set, otherwise the value of default passed in. | |
| modelgbp::gbpe::SecGrpClassifierCounter & | setRxpackets (uint64_t newValue) |
| Set rxpackets to the specified value in the currently-active mutator. | |
| modelgbp::gbpe::SecGrpClassifierCounter & | unsetRxpackets () |
| Unset rxpackets in the currently-active mutator. | |
| bool | isTxbytesSet () |
| Check whether txbytes has been set. | |
| boost::optional< uint64_t > | getTxbytes () |
| Get the value of txbytes if it has been set. | |
| uint64_t | getTxbytes (uint64_t defaultValue) |
| Get the value of txbytes if set, otherwise the value of default passed in. | |
| modelgbp::gbpe::SecGrpClassifierCounter & | setTxbytes (uint64_t newValue) |
| Set txbytes to the specified value in the currently-active mutator. | |
| modelgbp::gbpe::SecGrpClassifierCounter & | unsetTxbytes () |
| Unset txbytes in the currently-active mutator. | |
| bool | isTxpacketsSet () |
| Check whether txpackets has been set. | |
| boost::optional< uint64_t > | getTxpackets () |
| Get the value of txpackets if it has been set. | |
| uint64_t | getTxpackets (uint64_t defaultValue) |
| Get the value of txpackets if set, otherwise the value of default passed in. | |
| modelgbp::gbpe::SecGrpClassifierCounter & | setTxpackets (uint64_t newValue) |
| Set txpackets to the specified value in the currently-active mutator. | |
| modelgbp::gbpe::SecGrpClassifierCounter & | unsetTxpackets () |
| Unset txpackets in the currently-active mutator. | |
| 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::SecGrpClassifierCounter & | setUuid (const std::string &newValue) |
| Set uuid to the specified value in the currently-active mutator. | |
| modelgbp::gbpe::SecGrpClassifierCounter & | unsetUuid () |
| Unset uuid in the currently-active mutator. | |
| void | remove () |
| Remove this instance using the currently-active mutator. | |
| SecGrpClassifierCounter (opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri, const OF_SHARED_PTR< const opflex::modb::mointernal::ObjectInstance > &oi) | |
| Construct an instance of SecGrpClassifierCounter. | |
Static Public Member Functions | |
| static boost::optional< OF_SHARED_PTR< modelgbp::gbpe::SecGrpClassifierCounter > > | resolve (opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri) |
| Retrieve an instance of SecGrpClassifierCounter from the managed object store. | |
| static boost::optional< OF_SHARED_PTR< modelgbp::gbpe::SecGrpClassifierCounter > > | resolve (const opflex::modb::URI &uri) |
| Retrieve an instance of SecGrpClassifierCounter from the managed object store using the default framework instance. | |
| static boost::optional< OF_SHARED_PTR< modelgbp::gbpe::SecGrpClassifierCounter > > | resolve (opflex::ofcore::OFFramework &framework, const std::string &gbpeSecGrpClassifierCounterUuid, uint64_t gbpeSecGrpClassifierCounterGenId, const std::string &gbpeSecGrpClassifierCounterClassifier) |
| Retrieve an instance of SecGrpClassifierCounter 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::SecGrpClassifierCounter > > | resolve (const std::string &gbpeSecGrpClassifierCounterUuid, uint64_t gbpeSecGrpClassifierCounterGenId, const std::string &gbpeSecGrpClassifierCounterClassifier) |
| Retrieve an instance of SecGrpClassifierCounter 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 SecGrpClassifierCounter object with the specified URI using the currently-active mutator. | |
| static void | remove (const opflex::modb::URI &uri) |
| Remove the SecGrpClassifierCounter 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 &gbpeSecGrpClassifierCounterUuid, uint64_t gbpeSecGrpClassifierCounterGenId, const std::string &gbpeSecGrpClassifierCounterClassifier) |
| Remove the SecGrpClassifierCounter object with the specified path elements from the managed object store. | |
| static void | remove (const std::string &gbpeSecGrpClassifierCounterUuid, uint64_t gbpeSecGrpClassifierCounterGenId, const std::string &gbpeSecGrpClassifierCounterClassifier) |
| Remove the SecGrpClassifierCounter 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 = 49 |
| The unique class ID for SecGrpClassifierCounter. | |
|
inline |
Construct an instance of SecGrpClassifierCounter.
This should not typically be called from user code.
|
inline |
Get the value of classifier if it has been set.
References isClassifierSet(), and resolve().
Referenced by getClassifier().
|
inline |
Get the value of classifier if set, otherwise the value of default passed in.
| defaultValue | default value returned if the property is not set |
References getClassifier(), and resolve().
|
inline |
Get the value of genId if it has been set.
References isGenIdSet(), and resolve().
Referenced by getGenId().
Get the value of genId if set, otherwise the value of default passed in.
| defaultValue | default value returned if the property is not set |
References getGenId(), and resolve().
|
inline |
Get the value of rxbytes if it has been set.
References isRxbytesSet(), and resolve().
Referenced by getRxbytes().
Get the value of rxbytes if set, otherwise the value of default passed in.
| defaultValue | default value returned if the property is not set |
References getRxbytes(), and resolve().
|
inline |
Get the value of rxpackets if it has been set.
References isRxpacketsSet(), and resolve().
Referenced by getRxpackets().
Get the value of rxpackets if set, otherwise the value of default passed in.
| defaultValue | default value returned if the property is not set |
References getRxpackets(), and resolve().
|
inline |
Get the value of txbytes if it has been set.
References isTxbytesSet(), and resolve().
Referenced by getTxbytes().
Get the value of txbytes if set, otherwise the value of default passed in.
| defaultValue | default value returned if the property is not set |
References getTxbytes(), and resolve().
|
inline |
Get the value of txpackets if it has been set.
References isTxpacketsSet(), and resolve().
Referenced by getTxpackets().
Get the value of txpackets if set, otherwise the value of default passed in.
| defaultValue | default value returned if the property is not set |
References getTxpackets(), and resolve().
|
inline |
Get the value of uuid if it has been set.
References isUuidSet(), and resolve().
Referenced by getUuid().
|
inline |
Check whether classifier has been set.
References resolve().
Referenced by getClassifier().
|
inline |
Check whether genId has been set.
References resolve().
Referenced by getGenId().
|
inline |
Check whether rxbytes has been set.
References resolve().
Referenced by getRxbytes().
|
inline |
Check whether rxpackets has been set.
References resolve().
Referenced by getRxpackets().
|
inline |
Check whether txbytes has been set.
References resolve().
Referenced by getTxbytes().
|
inline |
Check whether txpackets has been set.
References resolve().
Referenced by getTxpackets().
|
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(), and resolve().
|
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, and resolve().
Referenced by registerListener().
|
inline |
|
inlinestatic |
Remove the SecGrpClassifierCounter 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 |
Remove the SecGrpClassifierCounter 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: /ObserverPolicyStatUniverse/GbpeSecGrpClassifierCounter/[gbpeSecGrpClassifierCounterUuid]/[gbpeSecGrpClassifierCounterGenId]/[gbpeSecGrpClassifierCounterClassifier]
| gbpeSecGrpClassifierCounterUuid | the value of gbpeSecGrpClassifierCounterUuid, a naming property for SecGrpClassifierCounter |
| gbpeSecGrpClassifierCounterGenId | the value of gbpeSecGrpClassifierCounterGenId, a naming property for SecGrpClassifierCounter |
| gbpeSecGrpClassifierCounterClassifier | the value of gbpeSecGrpClassifierCounterClassifier, a naming property for SecGrpClassifierCounter |
| std::logic_error | if no mutator is active |
|
inlinestatic |
Remove the SecGrpClassifierCounter 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 |
|
inlinestatic |
Remove the SecGrpClassifierCounter 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: /ObserverPolicyStatUniverse/GbpeSecGrpClassifierCounter/[gbpeSecGrpClassifierCounterUuid]/[gbpeSecGrpClassifierCounterGenId]/[gbpeSecGrpClassifierCounterClassifier]
| framework | the framework instance to use |
| gbpeSecGrpClassifierCounterUuid | the value of gbpeSecGrpClassifierCounterUuid, a naming property for SecGrpClassifierCounter |
| gbpeSecGrpClassifierCounterGenId | the value of gbpeSecGrpClassifierCounterGenId, a naming property for SecGrpClassifierCounter |
| gbpeSecGrpClassifierCounterClassifier | the value of gbpeSecGrpClassifierCounterClassifier, a naming property for SecGrpClassifierCounter |
| std::logic_error | if no mutator is active |
|
inlinestatic |
Retrieve an instance of SecGrpClassifierCounter 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 |
|
inlinestatic |
Retrieve an instance of SecGrpClassifierCounter 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: /ObserverPolicyStatUniverse/GbpeSecGrpClassifierCounter/[gbpeSecGrpClassifierCounterUuid]/[gbpeSecGrpClassifierCounterGenId]/[gbpeSecGrpClassifierCounterClassifier]
| gbpeSecGrpClassifierCounterUuid | the value of gbpeSecGrpClassifierCounterUuid, a naming property for SecGrpClassifierCounter |
| gbpeSecGrpClassifierCounterGenId | the value of gbpeSecGrpClassifierCounterGenId, a naming property for SecGrpClassifierCounter |
| gbpeSecGrpClassifierCounterClassifier | the value of gbpeSecGrpClassifierCounterClassifier, a naming property for SecGrpClassifierCounter |
References resolve().
|
inlinestatic |
Retrieve an instance of SecGrpClassifierCounter 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, and resolve().
Referenced by getClassifier(), getClassifier(), getGenId(), getGenId(), getRxbytes(), getRxbytes(), getRxpackets(), getRxpackets(), getTxbytes(), getTxbytes(), getTxpackets(), getTxpackets(), getUuid(), getUuid(), isClassifierSet(), isGenIdSet(), isRxbytesSet(), isRxpacketsSet(), isTxbytesSet(), isTxpacketsSet(), isUuidSet(), registerListener(), registerListener(), remove(), remove(), remove(), remove(), remove(), resolve(), resolve(), resolve(), resolve(), modelgbp::observer::PolicyStatUniverse::resolveGbpeSecGrpClassifierCounter(), setClassifier(), setGenId(), setRxbytes(), setRxpackets(), setTxbytes(), setTxpackets(), setUuid(), unregisterListener(), unregisterListener(), unsetClassifier(), unsetGenId(), unsetRxbytes(), unsetRxpackets(), unsetTxbytes(), unsetTxpackets(), and unsetUuid().
|
inlinestatic |
Retrieve an instance of SecGrpClassifierCounter 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: /ObserverPolicyStatUniverse/GbpeSecGrpClassifierCounter/[gbpeSecGrpClassifierCounterUuid]/[gbpeSecGrpClassifierCounterGenId]/[gbpeSecGrpClassifierCounterClassifier]
| framework | the framework instance to use |
| gbpeSecGrpClassifierCounterUuid | the value of gbpeSecGrpClassifierCounterUuid, a naming property for SecGrpClassifierCounter |
| gbpeSecGrpClassifierCounterGenId | the value of gbpeSecGrpClassifierCounterGenId, a naming property for SecGrpClassifierCounter |
| gbpeSecGrpClassifierCounterClassifier | the value of gbpeSecGrpClassifierCounterClassifier, a naming property for SecGrpClassifierCounter |
References resolve().
|
inline |
Set classifier to the specified value in the currently-active mutator.
| newValue | the new value to set. |
| std::logic_error | if no mutator is active |
References resolve().
|
inline |
Set genId to the specified value in the currently-active mutator.
| newValue | the new value to set. |
| std::logic_error | if no mutator is active |
References resolve().
|
inline |
Set rxbytes to the specified value in the currently-active mutator.
| newValue | the new value to set. |
| std::logic_error | if no mutator is active |
References resolve().
|
inline |
Set rxpackets to the specified value in the currently-active mutator.
| newValue | the new value to set. |
| std::logic_error | if no mutator is active |
References resolve().
|
inline |
Set txbytes to the specified value in the currently-active mutator.
| newValue | the new value to set. |
| std::logic_error | if no mutator is active |
References resolve().
|
inline |
Set txpackets to the specified value in the currently-active mutator.
| newValue | the new value to set. |
| std::logic_error | if no mutator is active |
References resolve().
|
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 |
References resolve().
|
inlinestatic |
Unregister a listener from updates to this class from the default framework instance.
| listener | The listener to unregister. |
References resolve(), and unregisterListener().
|
inlinestatic |
Unregister a listener from updates to this class.
| framework | the framework instance |
| listener | The listener to unregister. |
References CLASS_ID, and resolve().
Referenced by unregisterListener().
|
inline |
Unset classifier in the currently-active mutator.
| std::logic_error | if no mutator is active |
References resolve().
|
inline |
Unset genId in the currently-active mutator.
| std::logic_error | if no mutator is active |
References resolve().
|
inline |
Unset rxbytes in the currently-active mutator.
| std::logic_error | if no mutator is active |
References resolve().
|
inline |
Unset rxpackets in the currently-active mutator.
| std::logic_error | if no mutator is active |
References resolve().
|
inline |
Unset txbytes in the currently-active mutator.
| std::logic_error | if no mutator is active |
References resolve().
|
inline |
Unset txpackets in the currently-active mutator.
| std::logic_error | if no mutator is active |
References resolve().
|
inline |
Unset uuid in the currently-active mutator.
| std::logic_error | if no mutator is active |
References resolve().