modelgbp Generated OpFlex Model 1.7.0
|
Public Member Functions | |
bool | isBytesSet () |
Check whether bytes has been set. | |
boost::optional< uint64_t > | getBytes () |
Get the value of bytes if it has been set. | |
uint64_t | getBytes (uint64_t defaultValue) |
Get the value of bytes if set, otherwise the value of default passed in. | |
modelgbp::gbpe::L24ClassifierCounter & | setBytes (uint64_t newValue) |
Set bytes to the specified value in the currently-active mutator. | |
modelgbp::gbpe::L24ClassifierCounter & | unsetBytes () |
Unset bytes in the currently-active mutator. | |
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::L24ClassifierCounter & | setClassifier (const std::string &newValue) |
Set classifier to the specified value in the currently-active mutator. | |
modelgbp::gbpe::L24ClassifierCounter & | unsetClassifier () |
Unset classifier in the currently-active mutator. | |
bool | isDstEpgSet () |
Check whether dstEpg has been set. | |
boost::optional< const std::string & > | getDstEpg () |
Get the value of dstEpg if it has been set. | |
const std::string & | getDstEpg (const std::string &defaultValue) |
Get the value of dstEpg if set, otherwise the value of default passed in. | |
modelgbp::gbpe::L24ClassifierCounter & | setDstEpg (const std::string &newValue) |
Set dstEpg to the specified value in the currently-active mutator. | |
modelgbp::gbpe::L24ClassifierCounter & | unsetDstEpg () |
Unset dstEpg 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::L24ClassifierCounter & | setGenId (uint64_t newValue) |
Set genId to the specified value in the currently-active mutator. | |
modelgbp::gbpe::L24ClassifierCounter & | unsetGenId () |
Unset genId in the currently-active mutator. | |
bool | isPacketsSet () |
Check whether packets has been set. | |
boost::optional< uint64_t > | getPackets () |
Get the value of packets if it has been set. | |
uint64_t | getPackets (uint64_t defaultValue) |
Get the value of packets if set, otherwise the value of default passed in. | |
modelgbp::gbpe::L24ClassifierCounter & | setPackets (uint64_t newValue) |
Set packets to the specified value in the currently-active mutator. | |
modelgbp::gbpe::L24ClassifierCounter & | unsetPackets () |
Unset packets in the currently-active mutator. | |
bool | isSrcEpgSet () |
Check whether srcEpg has been set. | |
boost::optional< const std::string & > | getSrcEpg () |
Get the value of srcEpg if it has been set. | |
const std::string & | getSrcEpg (const std::string &defaultValue) |
Get the value of srcEpg if set, otherwise the value of default passed in. | |
modelgbp::gbpe::L24ClassifierCounter & | setSrcEpg (const std::string &newValue) |
Set srcEpg to the specified value in the currently-active mutator. | |
modelgbp::gbpe::L24ClassifierCounter & | unsetSrcEpg () |
Unset srcEpg 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::L24ClassifierCounter & | setUuid (const std::string &newValue) |
Set uuid to the specified value in the currently-active mutator. | |
modelgbp::gbpe::L24ClassifierCounter & | unsetUuid () |
Unset uuid in the currently-active mutator. | |
void | remove () |
Remove this instance using the currently-active mutator. | |
L24ClassifierCounter (opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri, const OF_SHARED_PTR< const opflex::modb::mointernal::ObjectInstance > &oi) | |
Construct an instance of L24ClassifierCounter. | |
Static Public Member Functions | |
static boost::optional< OF_SHARED_PTR< modelgbp::gbpe::L24ClassifierCounter > > | resolve (opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri) |
Retrieve an instance of L24ClassifierCounter from the managed object store. | |
static boost::optional< OF_SHARED_PTR< modelgbp::gbpe::L24ClassifierCounter > > | resolve (const opflex::modb::URI &uri) |
Retrieve an instance of L24ClassifierCounter from the managed object store using the default framework instance. | |
static boost::optional< OF_SHARED_PTR< modelgbp::gbpe::L24ClassifierCounter > > | resolve (opflex::ofcore::OFFramework &framework, const std::string &gbpeL24ClassifierCounterUuid, uint64_t gbpeL24ClassifierCounterGenId, const std::string &gbpeL24ClassifierCounterSrcEpg, const std::string &gbpeL24ClassifierCounterDstEpg, const std::string &gbpeL24ClassifierCounterClassifier) |
Retrieve an instance of L24ClassifierCounter 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::L24ClassifierCounter > > | resolve (const std::string &gbpeL24ClassifierCounterUuid, uint64_t gbpeL24ClassifierCounterGenId, const std::string &gbpeL24ClassifierCounterSrcEpg, const std::string &gbpeL24ClassifierCounterDstEpg, const std::string &gbpeL24ClassifierCounterClassifier) |
Retrieve an instance of L24ClassifierCounter 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 L24ClassifierCounter object with the specified URI using the currently-active mutator. | |
static void | remove (const opflex::modb::URI &uri) |
Remove the L24ClassifierCounter 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 &gbpeL24ClassifierCounterUuid, uint64_t gbpeL24ClassifierCounterGenId, const std::string &gbpeL24ClassifierCounterSrcEpg, const std::string &gbpeL24ClassifierCounterDstEpg, const std::string &gbpeL24ClassifierCounterClassifier) |
Remove the L24ClassifierCounter object with the specified path elements from the managed object store. | |
static void | remove (const std::string &gbpeL24ClassifierCounterUuid, uint64_t gbpeL24ClassifierCounterGenId, const std::string &gbpeL24ClassifierCounterSrcEpg, const std::string &gbpeL24ClassifierCounterDstEpg, const std::string &gbpeL24ClassifierCounterClassifier) |
Remove the L24ClassifierCounter 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 = 48 |
The unique class ID for L24ClassifierCounter. | |
|
inline |
Construct an instance of L24ClassifierCounter.
This should not typically be called from user code.
References CLASS_ID.
|
inline |
Get the value of bytes if it has been set.
References isBytesSet().
Referenced by getBytes().
|
inline |
Get the value of bytes if set, otherwise the value of default passed in.
defaultValue | default value returned if the property is not set |
References getBytes().
|
inline |
Get the value of classifier if it has been set.
References isClassifierSet().
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().
|
inline |
Get the value of dstEpg if it has been set.
References isDstEpgSet().
Referenced by getDstEpg().
|
inline |
Get the value of dstEpg if set, otherwise the value of default passed in.
defaultValue | default value returned if the property is not set |
References getDstEpg().
|
inline |
Get the value of genId if it has been set.
References isGenIdSet().
Referenced by getGenId().
|
inline |
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().
|
inline |
Get the value of packets if it has been set.
References isPacketsSet().
Referenced by getPackets().
|
inline |
Get the value of packets if set, otherwise the value of default passed in.
defaultValue | default value returned if the property is not set |
References getPackets().
|
inline |
Get the value of srcEpg if it has been set.
References isSrcEpgSet().
Referenced by getSrcEpg().
|
inline |
Get the value of srcEpg if set, otherwise the value of default passed in.
defaultValue | default value returned if the property is not set |
References getSrcEpg().
|
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 |
|
inline |
Check whether classifier has been set.
Referenced by getClassifier().
|
inline |
|
inline |
|
inline |
|
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 L24ClassifierCounter 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 L24ClassifierCounter 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/GbpeL24ClassifierCounter/[gbpeL24ClassifierCounterUuid]/[gbpeL24ClassifierCounterGenId]/[gbpeL24ClassifierCounterSrcEpg]/[gbpeL24ClassifierCounterDstEpg]/[gbpeL24ClassifierCounterClassifier]
gbpeL24ClassifierCounterUuid | the value of gbpeL24ClassifierCounterUuid, a naming property for L24ClassifierCounter |
gbpeL24ClassifierCounterGenId | the value of gbpeL24ClassifierCounterGenId, a naming property for L24ClassifierCounter |
gbpeL24ClassifierCounterSrcEpg | the value of gbpeL24ClassifierCounterSrcEpg, a naming property for L24ClassifierCounter |
gbpeL24ClassifierCounterDstEpg | the value of gbpeL24ClassifierCounterDstEpg, a naming property for L24ClassifierCounter |
gbpeL24ClassifierCounterClassifier | the value of gbpeL24ClassifierCounterClassifier, a naming property for L24ClassifierCounter |
std::logic_error | if no mutator is active |
References remove().
|
inlinestatic |
Remove the L24ClassifierCounter 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 L24ClassifierCounter 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/GbpeL24ClassifierCounter/[gbpeL24ClassifierCounterUuid]/[gbpeL24ClassifierCounterGenId]/[gbpeL24ClassifierCounterSrcEpg]/[gbpeL24ClassifierCounterDstEpg]/[gbpeL24ClassifierCounterClassifier]
framework | the framework instance to use |
gbpeL24ClassifierCounterUuid | the value of gbpeL24ClassifierCounterUuid, a naming property for L24ClassifierCounter |
gbpeL24ClassifierCounterGenId | the value of gbpeL24ClassifierCounterGenId, a naming property for L24ClassifierCounter |
gbpeL24ClassifierCounterSrcEpg | the value of gbpeL24ClassifierCounterSrcEpg, a naming property for L24ClassifierCounter |
gbpeL24ClassifierCounterDstEpg | the value of gbpeL24ClassifierCounterDstEpg, a naming property for L24ClassifierCounter |
gbpeL24ClassifierCounterClassifier | the value of gbpeL24ClassifierCounterClassifier, a naming property for L24ClassifierCounter |
std::logic_error | if no mutator is active |
References CLASS_ID.
|
inlinestatic |
Retrieve an instance of L24ClassifierCounter 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 L24ClassifierCounter 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/GbpeL24ClassifierCounter/[gbpeL24ClassifierCounterUuid]/[gbpeL24ClassifierCounterGenId]/[gbpeL24ClassifierCounterSrcEpg]/[gbpeL24ClassifierCounterDstEpg]/[gbpeL24ClassifierCounterClassifier]
gbpeL24ClassifierCounterUuid | the value of gbpeL24ClassifierCounterUuid, a naming property for L24ClassifierCounter |
gbpeL24ClassifierCounterGenId | the value of gbpeL24ClassifierCounterGenId, a naming property for L24ClassifierCounter |
gbpeL24ClassifierCounterSrcEpg | the value of gbpeL24ClassifierCounterSrcEpg, a naming property for L24ClassifierCounter |
gbpeL24ClassifierCounterDstEpg | the value of gbpeL24ClassifierCounterDstEpg, a naming property for L24ClassifierCounter |
gbpeL24ClassifierCounterClassifier | the value of gbpeL24ClassifierCounterClassifier, a naming property for L24ClassifierCounter |
References resolve().
|
inlinestatic |
Retrieve an instance of L24ClassifierCounter 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::observer::PolicyStatUniverse::resolveGbpeL24ClassifierCounter().
|
inlinestatic |
Retrieve an instance of L24ClassifierCounter 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/GbpeL24ClassifierCounter/[gbpeL24ClassifierCounterUuid]/[gbpeL24ClassifierCounterGenId]/[gbpeL24ClassifierCounterSrcEpg]/[gbpeL24ClassifierCounterDstEpg]/[gbpeL24ClassifierCounterClassifier]
framework | the framework instance to use |
gbpeL24ClassifierCounterUuid | the value of gbpeL24ClassifierCounterUuid, a naming property for L24ClassifierCounter |
gbpeL24ClassifierCounterGenId | the value of gbpeL24ClassifierCounterGenId, a naming property for L24ClassifierCounter |
gbpeL24ClassifierCounterSrcEpg | the value of gbpeL24ClassifierCounterSrcEpg, a naming property for L24ClassifierCounter |
gbpeL24ClassifierCounterDstEpg | the value of gbpeL24ClassifierCounterDstEpg, a naming property for L24ClassifierCounter |
gbpeL24ClassifierCounterClassifier | the value of gbpeL24ClassifierCounterClassifier, a naming property for L24ClassifierCounter |
References resolve().
|
inline |
Set bytes 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 classifier 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 dstEpg 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 genId 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 packets 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 srcEpg 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 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 bytes in the currently-active mutator.
std::logic_error | if no mutator is active |
|
inline |
Unset classifier in the currently-active mutator.
std::logic_error | if no mutator is active |
|
inline |
Unset dstEpg in the currently-active mutator.
std::logic_error | if no mutator is active |
|
inline |
Unset genId in the currently-active mutator.
std::logic_error | if no mutator is active |
|
inline |
Unset packets in the currently-active mutator.
std::logic_error | if no mutator is active |
|
inline |
Unset srcEpg in the currently-active mutator.
std::logic_error | if no mutator is active |
|
inline |
Unset uuid in the currently-active mutator.
std::logic_error | if no mutator is active |