11#ifndef GI_GBPE_EPCOUNTER_HPP
12#define GI_GBPE_EPCOUNTER_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 = 43;
755 getTLMutator().modify(
getClassId(),
getURI())->unset(1409025ul, opflex::modb::PropertyInfo::STRING, opflex::modb::PropertyInfo::SCALAR);
770 static boost::optional<OF_SHARED_PTR<modelgbp::gbpe::EpCounter> >
resolve(
772 const opflex::modb::URI&
uri)
774 return opflex::modb::mointernal::MO::resolve<modelgbp::gbpe::EpCounter>(
framework,
CLASS_ID,
uri);
788 static boost::optional<OF_SHARED_PTR<modelgbp::gbpe::EpCounter> >
resolve(
789 const opflex::modb::URI&
uri)
791 return opflex::modb::mointernal::MO::resolve<modelgbp::gbpe::EpCounter>(opflex::ofcore::OFFramework::defaultInstance(),
CLASS_ID,
uri);
810 static boost::optional<OF_SHARED_PTR<modelgbp::gbpe::EpCounter> >
resolve(
832 static boost::optional<OF_SHARED_PTR<modelgbp::gbpe::EpCounter> >
resolve(
862 const opflex::modb::URI&
uri)
879 remove(opflex::ofcore::OFFramework::defaultInstance(),
uri);
936 opflex::modb::ObjectListener*
listener)
938 opflex::modb::mointernal
954 opflex::modb::ObjectListener*
listener)
967 opflex::modb::ObjectListener*
listener)
969 opflex::modb::mointernal
980 opflex::modb::ObjectListener*
listener)
991 const opflex::modb::URI&
uri,
Definition gbpe/EpCounter.hpp:23
boost::optional< const std::string & > getUuid()
Get the value of uuid if it has been set.
Definition gbpe/EpCounter.hpp:716
void remove()
Remove this instance using the currently-active mutator.
Definition gbpe/EpCounter.hpp:846
modelgbp::gbpe::EpCounter & unsetRxBytes()
Unset rxBytes in the currently-active mutator.
Definition gbpe/EpCounter.hpp:137
static void remove(const opflex::modb::URI &uri)
Remove the EpCounter object with the specified URI using the currently-active mutator and the default...
Definition gbpe/EpCounter.hpp:877
EpCounter(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri, const OF_SHARED_PTR< const opflex::modb::mointernal::ObjectInstance > &oi)
Construct an instance of EpCounter.
Definition gbpe/EpCounter.hpp:989
uint64_t getTxDrop(uint64_t defaultValue)
Get the value of txDrop if set, otherwise the value of default passed in.
Definition gbpe/EpCounter.hpp:504
modelgbp::gbpe::EpCounter & unsetTxDrop()
Unset txDrop in the currently-active mutator.
Definition gbpe/EpCounter.hpp:529
boost::optional< uint64_t > getRxBroadcast()
Get the value of rxBroadcast if it has been set.
Definition gbpe/EpCounter.hpp:44
uint64_t getRxDrop(uint64_t defaultValue)
Get the value of rxDrop if set, otherwise the value of default passed in.
Definition gbpe/EpCounter.hpp:168
static void remove(opflex::ofcore::OFFramework &framework, const std::string &gbpeEpCounterUuid)
Remove the EpCounter object with the specified path elements from the managed object store.
Definition gbpe/EpCounter.hpp:896
static void unregisterListener(opflex::modb::ObjectListener *listener)
Unregister a listener from updates to this class from the default framework instance.
Definition gbpe/EpCounter.hpp:979
bool isTxUnicastSet()
Check whether txUnicast has been set.
Definition gbpe/EpCounter.hpp:651
boost::optional< uint64_t > getTxBroadcast()
Get the value of txBroadcast if it has been set.
Definition gbpe/EpCounter.hpp:380
boost::optional< uint64_t > getTxMulticast()
Get the value of txMulticast if it has been set.
Definition gbpe/EpCounter.hpp:548
bool isTxMulticastSet()
Check whether txMulticast has been set.
Definition gbpe/EpCounter.hpp:539
modelgbp::gbpe::EpCounter & setRxBytes(uint64_t newValue)
Set rxBytes to the specified value in the currently-active mutator.
Definition gbpe/EpCounter.hpp:125
modelgbp::gbpe::EpCounter & setRxDrop(uint64_t newValue)
Set rxDrop to the specified value in the currently-active mutator.
Definition gbpe/EpCounter.hpp:181
modelgbp::gbpe::EpCounter & setRxBroadcast(uint64_t newValue)
Set rxBroadcast to the specified value in the currently-active mutator.
Definition gbpe/EpCounter.hpp:69
modelgbp::gbpe::EpCounter & setRxMulticast(uint64_t newValue)
Set rxMulticast to the specified value in the currently-active mutator.
Definition gbpe/EpCounter.hpp:237
static boost::optional< OF_SHARED_PTR< modelgbp::gbpe::EpCounter > > resolve(const opflex::modb::URI &uri)
Retrieve an instance of EpCounter from the managed object store using the default framework instance.
Definition gbpe/EpCounter.hpp:788
const std::string & getUuid(const std::string &defaultValue)
Get the value of uuid if set, otherwise the value of default passed in.
Definition gbpe/EpCounter.hpp:728
bool isRxUnicastSet()
Check whether rxUnicast has been set.
Definition gbpe/EpCounter.hpp:315
static boost::optional< OF_SHARED_PTR< modelgbp::gbpe::EpCounter > > resolve(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri)
Retrieve an instance of EpCounter from the managed object store.
Definition gbpe/EpCounter.hpp:770
uint64_t getRxMulticast(uint64_t defaultValue)
Get the value of rxMulticast if set, otherwise the value of default passed in.
Definition gbpe/EpCounter.hpp:224
boost::optional< uint64_t > getRxDrop()
Get the value of rxDrop if it has been set.
Definition gbpe/EpCounter.hpp:156
modelgbp::gbpe::EpCounter & unsetRxBroadcast()
Unset rxBroadcast in the currently-active mutator.
Definition gbpe/EpCounter.hpp:81
modelgbp::gbpe::EpCounter & unsetTxPackets()
Unset txPackets in the currently-active mutator.
Definition gbpe/EpCounter.hpp:641
static void remove(const std::string &gbpeEpCounterUuid)
Remove the EpCounter object with the specified path elements from the managed object store using the ...
Definition gbpe/EpCounter.hpp:917
modelgbp::gbpe::EpCounter & unsetRxDrop()
Unset rxDrop in the currently-active mutator.
Definition gbpe/EpCounter.hpp:193
uint64_t getTxUnicast(uint64_t defaultValue)
Get the value of txUnicast if set, otherwise the value of default passed in.
Definition gbpe/EpCounter.hpp:672
static boost::optional< OF_SHARED_PTR< modelgbp::gbpe::EpCounter > > resolve(opflex::ofcore::OFFramework &framework, const std::string &gbpeEpCounterUuid)
Retrieve an instance of EpCounter from the managed object store by constructing its URI from the path...
Definition gbpe/EpCounter.hpp:810
boost::optional< uint64_t > getRxUnicast()
Get the value of rxUnicast if it has been set.
Definition gbpe/EpCounter.hpp:324
modelgbp::gbpe::EpCounter & setRxUnicast(uint64_t newValue)
Set rxUnicast to the specified value in the currently-active mutator.
Definition gbpe/EpCounter.hpp:349
modelgbp::gbpe::EpCounter & unsetUuid()
Unset uuid in the currently-active mutator.
Definition gbpe/EpCounter.hpp:753
uint64_t getRxBytes(uint64_t defaultValue)
Get the value of rxBytes if set, otherwise the value of default passed in.
Definition gbpe/EpCounter.hpp:112
modelgbp::gbpe::EpCounter & unsetRxPackets()
Unset rxPackets in the currently-active mutator.
Definition gbpe/EpCounter.hpp:305
boost::optional< uint64_t > getTxBytes()
Get the value of txBytes if it has been set.
Definition gbpe/EpCounter.hpp:436
bool isTxBytesSet()
Check whether txBytes has been set.
Definition gbpe/EpCounter.hpp:427
modelgbp::gbpe::EpCounter & setTxMulticast(uint64_t newValue)
Set txMulticast to the specified value in the currently-active mutator.
Definition gbpe/EpCounter.hpp:573
modelgbp::gbpe::EpCounter & setRxPackets(uint64_t newValue)
Set rxPackets to the specified value in the currently-active mutator.
Definition gbpe/EpCounter.hpp:293
boost::optional< uint64_t > getRxBytes()
Get the value of rxBytes if it has been set.
Definition gbpe/EpCounter.hpp:100
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 gbpe/EpCounter.hpp:953
bool isTxDropSet()
Check whether txDrop has been set.
Definition gbpe/EpCounter.hpp:483
bool isUuidSet()
Check whether uuid has been set.
Definition gbpe/EpCounter.hpp:707
modelgbp::gbpe::EpCounter & unsetTxBytes()
Unset txBytes in the currently-active mutator.
Definition gbpe/EpCounter.hpp:473
modelgbp::gbpe::EpCounter & unsetRxMulticast()
Unset rxMulticast in the currently-active mutator.
Definition gbpe/EpCounter.hpp:249
modelgbp::gbpe::EpCounter & setTxBytes(uint64_t newValue)
Set txBytes to the specified value in the currently-active mutator.
Definition gbpe/EpCounter.hpp:461
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 gbpe/EpCounter.hpp:934
modelgbp::gbpe::EpCounter & setTxBroadcast(uint64_t newValue)
Set txBroadcast to the specified value in the currently-active mutator.
Definition gbpe/EpCounter.hpp:405
static void unregisterListener(opflex::ofcore::OFFramework &framework, opflex::modb::ObjectListener *listener)
Unregister a listener from updates to this class.
Definition gbpe/EpCounter.hpp:965
static void remove(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri)
Remove the EpCounter object with the specified URI using the currently-active mutator.
Definition gbpe/EpCounter.hpp:861
uint64_t getRxPackets(uint64_t defaultValue)
Get the value of rxPackets if set, otherwise the value of default passed in.
Definition gbpe/EpCounter.hpp:280
uint64_t getTxMulticast(uint64_t defaultValue)
Get the value of txMulticast if set, otherwise the value of default passed in.
Definition gbpe/EpCounter.hpp:560
bool isTxPacketsSet()
Check whether txPackets has been set.
Definition gbpe/EpCounter.hpp:595
bool isRxBytesSet()
Check whether rxBytes has been set.
Definition gbpe/EpCounter.hpp:91
bool isRxDropSet()
Check whether rxDrop has been set.
Definition gbpe/EpCounter.hpp:147
modelgbp::gbpe::EpCounter & unsetTxMulticast()
Unset txMulticast in the currently-active mutator.
Definition gbpe/EpCounter.hpp:585
bool isRxBroadcastSet()
Check whether rxBroadcast has been set.
Definition gbpe/EpCounter.hpp:35
bool isTxBroadcastSet()
Check whether txBroadcast has been set.
Definition gbpe/EpCounter.hpp:371
modelgbp::gbpe::EpCounter & unsetTxBroadcast()
Unset txBroadcast in the currently-active mutator.
Definition gbpe/EpCounter.hpp:417
modelgbp::gbpe::EpCounter & unsetRxUnicast()
Unset rxUnicast in the currently-active mutator.
Definition gbpe/EpCounter.hpp:361
modelgbp::gbpe::EpCounter & setUuid(const std::string &newValue)
Set uuid to the specified value in the currently-active mutator.
Definition gbpe/EpCounter.hpp:741
modelgbp::gbpe::EpCounter & setTxDrop(uint64_t newValue)
Set txDrop to the specified value in the currently-active mutator.
Definition gbpe/EpCounter.hpp:517
uint64_t getTxBroadcast(uint64_t defaultValue)
Get the value of txBroadcast if set, otherwise the value of default passed in.
Definition gbpe/EpCounter.hpp:392
bool isRxMulticastSet()
Check whether rxMulticast has been set.
Definition gbpe/EpCounter.hpp:203
uint64_t getRxBroadcast(uint64_t defaultValue)
Get the value of rxBroadcast if set, otherwise the value of default passed in.
Definition gbpe/EpCounter.hpp:56
boost::optional< uint64_t > getTxPackets()
Get the value of txPackets if it has been set.
Definition gbpe/EpCounter.hpp:604
boost::optional< uint64_t > getTxDrop()
Get the value of txDrop if it has been set.
Definition gbpe/EpCounter.hpp:492
uint64_t getRxUnicast(uint64_t defaultValue)
Get the value of rxUnicast if set, otherwise the value of default passed in.
Definition gbpe/EpCounter.hpp:336
static const opflex::modb::class_id_t CLASS_ID
The unique class ID for EpCounter.
Definition gbpe/EpCounter.hpp:29
uint64_t getTxBytes(uint64_t defaultValue)
Get the value of txBytes if set, otherwise the value of default passed in.
Definition gbpe/EpCounter.hpp:448
static boost::optional< OF_SHARED_PTR< modelgbp::gbpe::EpCounter > > resolve(const std::string &gbpeEpCounterUuid)
Retrieve an instance of EpCounter from the default managed object store by constructing its URI from ...
Definition gbpe/EpCounter.hpp:832
modelgbp::gbpe::EpCounter & unsetTxUnicast()
Unset txUnicast in the currently-active mutator.
Definition gbpe/EpCounter.hpp:697
modelgbp::gbpe::EpCounter & setTxPackets(uint64_t newValue)
Set txPackets to the specified value in the currently-active mutator.
Definition gbpe/EpCounter.hpp:629
modelgbp::gbpe::EpCounter & setTxUnicast(uint64_t newValue)
Set txUnicast to the specified value in the currently-active mutator.
Definition gbpe/EpCounter.hpp:685
boost::optional< uint64_t > getRxMulticast()
Get the value of rxMulticast if it has been set.
Definition gbpe/EpCounter.hpp:212
boost::optional< uint64_t > getRxPackets()
Get the value of rxPackets if it has been set.
Definition gbpe/EpCounter.hpp:268
boost::optional< uint64_t > getTxUnicast()
Get the value of txUnicast if it has been set.
Definition gbpe/EpCounter.hpp:660
uint64_t getTxPackets(uint64_t defaultValue)
Get the value of txPackets if set, otherwise the value of default passed in.
Definition gbpe/EpCounter.hpp:616
bool isRxPacketsSet()
Check whether rxPackets has been set.
Definition gbpe/EpCounter.hpp:259
SOME COPYRIGHT.
Definition OpcodeEnumT.hpp:12