11#ifndef GI_GBPE_SECGRPCLASSIFIERCOUNTER_HPP
12#define GI_GBPE_SECGRPCLASSIFIERCOUNTER_HPP
14#include <boost/optional.hpp>
15#include "opflex/modb/URIBuilder.h"
16#include "opflex/modb/mo-internal/MO.h"
22 :
public opflex::modb::mointernal::MO
29 static const opflex::modb::class_id_t
CLASS_ID = 49;
419 getTLMutator().modify(
getClassId(),
getURI())->unset(1605633ul, opflex::modb::PropertyInfo::STRING, opflex::modb::PropertyInfo::SCALAR);
434 static boost::optional<OF_SHARED_PTR<modelgbp::gbpe::SecGrpClassifierCounter> >
resolve(
436 const opflex::modb::URI&
uri)
438 return opflex::modb::mointernal::MO::resolve<modelgbp::gbpe::SecGrpClassifierCounter>(
framework,
CLASS_ID,
uri);
452 static boost::optional<OF_SHARED_PTR<modelgbp::gbpe::SecGrpClassifierCounter> >
resolve(
453 const opflex::modb::URI&
uri)
455 return opflex::modb::mointernal::MO::resolve<modelgbp::gbpe::SecGrpClassifierCounter>(opflex::ofcore::OFFramework::defaultInstance(),
CLASS_ID,
uri);
478 static boost::optional<OF_SHARED_PTR<modelgbp::gbpe::SecGrpClassifierCounter> >
resolve(
506 static boost::optional<OF_SHARED_PTR<modelgbp::gbpe::SecGrpClassifierCounter> >
resolve(
538 const opflex::modb::URI&
uri)
555 remove(opflex::ofcore::OFFramework::defaultInstance(),
uri);
624 opflex::modb::ObjectListener*
listener)
626 opflex::modb::mointernal
642 opflex::modb::ObjectListener*
listener)
655 opflex::modb::ObjectListener*
listener)
657 opflex::modb::mointernal
668 opflex::modb::ObjectListener*
listener)
679 const opflex::modb::URI&
uri,
Definition SecGrpClassifierCounter.hpp:23
modelgbp::gbpe::SecGrpClassifierCounter & unsetGenId()
Unset genId in the currently-active mutator.
Definition SecGrpClassifierCounter.hpp:137
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 frame...
Definition SecGrpClassifierCounter.hpp:452
static void unregisterListener(opflex::ofcore::OFFramework &framework, opflex::modb::ObjectListener *listener)
Unregister a listener from updates to this class.
Definition SecGrpClassifierCounter.hpp:653
bool isClassifierSet()
Check whether classifier has been set.
Definition SecGrpClassifierCounter.hpp:35
boost::optional< uint64_t > getGenId()
Get the value of genId if it has been set.
Definition SecGrpClassifierCounter.hpp:100
uint64_t getTxbytes(uint64_t defaultValue)
Get the value of txbytes if set, otherwise the value of default passed in.
Definition SecGrpClassifierCounter.hpp:280
static void remove(const opflex::modb::URI &uri)
Remove the SecGrpClassifierCounter object with the specified URI using the currently-active mutator a...
Definition SecGrpClassifierCounter.hpp:553
static void registerListener(opflex::ofcore::OFFramework &framework, opflex::modb::ObjectListener *listener)
Register a listener that will get called for changes related to this class.
Definition SecGrpClassifierCounter.hpp:622
modelgbp::gbpe::SecGrpClassifierCounter & unsetRxpackets()
Unset rxpackets in the currently-active mutator.
Definition SecGrpClassifierCounter.hpp:249
modelgbp::gbpe::SecGrpClassifierCounter & unsetTxpackets()
Unset txpackets in the currently-active mutator.
Definition SecGrpClassifierCounter.hpp:361
modelgbp::gbpe::SecGrpClassifierCounter & setGenId(uint64_t newValue)
Set genId to the specified value in the currently-active mutator.
Definition SecGrpClassifierCounter.hpp:125
static const opflex::modb::class_id_t CLASS_ID
The unique class ID for SecGrpClassifierCounter.
Definition SecGrpClassifierCounter.hpp:29
bool isRxpacketsSet()
Check whether rxpackets has been set.
Definition SecGrpClassifierCounter.hpp:203
boost::optional< const std::string & > getClassifier()
Get the value of classifier if it has been set.
Definition SecGrpClassifierCounter.hpp:44
uint64_t getGenId(uint64_t defaultValue)
Get the value of genId if set, otherwise the value of default passed in.
Definition SecGrpClassifierCounter.hpp:112
modelgbp::gbpe::SecGrpClassifierCounter & unsetClassifier()
Unset classifier in the currently-active mutator.
Definition SecGrpClassifierCounter.hpp:81
bool isUuidSet()
Check whether uuid has been set.
Definition SecGrpClassifierCounter.hpp:371
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 st...
Definition SecGrpClassifierCounter.hpp:603
const std::string & getUuid(const std::string &defaultValue)
Get the value of uuid if set, otherwise the value of default passed in.
Definition SecGrpClassifierCounter.hpp:392
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.
Definition SecGrpClassifierCounter.hpp:537
boost::optional< uint64_t > getRxpackets()
Get the value of rxpackets if it has been set.
Definition SecGrpClassifierCounter.hpp:212
void remove()
Remove this instance using the currently-active mutator.
Definition SecGrpClassifierCounter.hpp:522
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...
Definition SecGrpClassifierCounter.hpp:506
modelgbp::gbpe::SecGrpClassifierCounter & unsetRxbytes()
Unset rxbytes in the currently-active mutator.
Definition SecGrpClassifierCounter.hpp:193
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 st...
Definition SecGrpClassifierCounter.hpp:576
bool isTxpacketsSet()
Check whether txpackets has been set.
Definition SecGrpClassifierCounter.hpp:315
bool isTxbytesSet()
Check whether txbytes has been set.
Definition SecGrpClassifierCounter.hpp:259
bool isRxbytesSet()
Check whether rxbytes has been set.
Definition SecGrpClassifierCounter.hpp:147
boost::optional< uint64_t > getTxpackets()
Get the value of txpackets if it has been set.
Definition SecGrpClassifierCounter.hpp:324
modelgbp::gbpe::SecGrpClassifierCounter & setTxbytes(uint64_t newValue)
Set txbytes to the specified value in the currently-active mutator.
Definition SecGrpClassifierCounter.hpp:293
boost::optional< uint64_t > getRxbytes()
Get the value of rxbytes if it has been set.
Definition SecGrpClassifierCounter.hpp:156
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...
Definition SecGrpClassifierCounter.hpp:478
modelgbp::gbpe::SecGrpClassifierCounter & setRxpackets(uint64_t newValue)
Set rxpackets to the specified value in the currently-active mutator.
Definition SecGrpClassifierCounter.hpp:237
boost::optional< uint64_t > getTxbytes()
Get the value of txbytes if it has been set.
Definition SecGrpClassifierCounter.hpp:268
modelgbp::gbpe::SecGrpClassifierCounter & setUuid(const std::string &newValue)
Set uuid to the specified value in the currently-active mutator.
Definition SecGrpClassifierCounter.hpp:405
modelgbp::gbpe::SecGrpClassifierCounter & setClassifier(const std::string &newValue)
Set classifier to the specified value in the currently-active mutator.
Definition SecGrpClassifierCounter.hpp:69
uint64_t getRxbytes(uint64_t defaultValue)
Get the value of rxbytes if set, otherwise the value of default passed in.
Definition SecGrpClassifierCounter.hpp:168
const std::string & getClassifier(const std::string &defaultValue)
Get the value of classifier if set, otherwise the value of default passed in.
Definition SecGrpClassifierCounter.hpp:56
modelgbp::gbpe::SecGrpClassifierCounter & unsetUuid()
Unset uuid in the currently-active mutator.
Definition SecGrpClassifierCounter.hpp:417
uint64_t getTxpackets(uint64_t defaultValue)
Get the value of txpackets if set, otherwise the value of default passed in.
Definition SecGrpClassifierCounter.hpp:336
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.
Definition SecGrpClassifierCounter.hpp:677
modelgbp::gbpe::SecGrpClassifierCounter & setTxpackets(uint64_t newValue)
Set txpackets to the specified value in the currently-active mutator.
Definition SecGrpClassifierCounter.hpp:349
modelgbp::gbpe::SecGrpClassifierCounter & unsetTxbytes()
Unset txbytes in the currently-active mutator.
Definition SecGrpClassifierCounter.hpp:305
boost::optional< const std::string & > getUuid()
Get the value of uuid if it has been set.
Definition SecGrpClassifierCounter.hpp:380
uint64_t getRxpackets(uint64_t defaultValue)
Get the value of rxpackets if set, otherwise the value of default passed in.
Definition SecGrpClassifierCounter.hpp:224
static void registerListener(opflex::modb::ObjectListener *listener)
Register a listener that will get called for changes related to this class with the default framework...
Definition SecGrpClassifierCounter.hpp:641
modelgbp::gbpe::SecGrpClassifierCounter & setRxbytes(uint64_t newValue)
Set rxbytes to the specified value in the currently-active mutator.
Definition SecGrpClassifierCounter.hpp:181
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.
Definition SecGrpClassifierCounter.hpp:434
static void unregisterListener(opflex::modb::ObjectListener *listener)
Unregister a listener from updates to this class from the default framework instance.
Definition SecGrpClassifierCounter.hpp:667
bool isGenIdSet()
Check whether genId has been set.
Definition SecGrpClassifierCounter.hpp:91
SOME COPYRIGHT.
Definition OpcodeEnumT.hpp:12