modelgbp Generated OpFlex Model 1.7.0
gbpe/EpCounter.hpp
1
10#pragma once
11#ifndef GI_GBPE_EPCOUNTER_HPP
12#define GI_GBPE_EPCOUNTER_HPP
13
14#include <boost/optional.hpp>
15#include "opflex/modb/URIBuilder.h"
16#include "opflex/modb/mo-internal/MO.h"
17
18namespace modelgbp {
19namespace gbpe {
20
22 : public opflex::modb::mointernal::MO
23{
24public:
25
29 static const opflex::modb::class_id_t CLASS_ID = 43;
30
36 {
37 return getObjectInstance().isSet(1409032ul, opflex::modb::PropertyInfo::U64);
38 }
39
44 boost::optional<uint64_t> getRxBroadcast()
45 {
46 if (isRxBroadcastSet())
47 return getObjectInstance().getUInt64(1409032ul);
48 return boost::none;
49 }
50
56 uint64_t getRxBroadcast(uint64_t defaultValue)
57 {
58 return getRxBroadcast().get_value_or(defaultValue);
59 }
60
70 {
71 getTLMutator().modify(getClassId(), getURI())->setUInt64(1409032ul, newValue);
72 return *this;
73 }
74
82 {
83 getTLMutator().modify(getClassId(), getURI())->unset(1409032ul, opflex::modb::PropertyInfo::U64, opflex::modb::PropertyInfo::SCALAR);
84 return *this;
85 }
86
92 {
93 return getObjectInstance().isSet(1409036ul, opflex::modb::PropertyInfo::U64);
94 }
95
100 boost::optional<uint64_t> getRxBytes()
101 {
102 if (isRxBytesSet())
103 return getObjectInstance().getUInt64(1409036ul);
104 return boost::none;
105 }
106
112 uint64_t getRxBytes(uint64_t defaultValue)
113 {
114 return getRxBytes().get_value_or(defaultValue);
115 }
116
126 {
127 getTLMutator().modify(getClassId(), getURI())->setUInt64(1409036ul, newValue);
128 return *this;
129 }
130
138 {
139 getTLMutator().modify(getClassId(), getURI())->unset(1409036ul, opflex::modb::PropertyInfo::U64, opflex::modb::PropertyInfo::SCALAR);
140 return *this;
141 }
142
148 {
149 return getObjectInstance().isSet(1409028ul, opflex::modb::PropertyInfo::U64);
150 }
151
156 boost::optional<uint64_t> getRxDrop()
157 {
158 if (isRxDropSet())
159 return getObjectInstance().getUInt64(1409028ul);
160 return boost::none;
161 }
162
168 uint64_t getRxDrop(uint64_t defaultValue)
169 {
170 return getRxDrop().get_value_or(defaultValue);
171 }
172
182 {
183 getTLMutator().modify(getClassId(), getURI())->setUInt64(1409028ul, newValue);
184 return *this;
185 }
186
194 {
195 getTLMutator().modify(getClassId(), getURI())->unset(1409028ul, opflex::modb::PropertyInfo::U64, opflex::modb::PropertyInfo::SCALAR);
196 return *this;
197 }
198
204 {
205 return getObjectInstance().isSet(1409030ul, opflex::modb::PropertyInfo::U64);
206 }
207
212 boost::optional<uint64_t> getRxMulticast()
213 {
214 if (isRxMulticastSet())
215 return getObjectInstance().getUInt64(1409030ul);
216 return boost::none;
217 }
218
224 uint64_t getRxMulticast(uint64_t defaultValue)
225 {
226 return getRxMulticast().get_value_or(defaultValue);
227 }
228
238 {
239 getTLMutator().modify(getClassId(), getURI())->setUInt64(1409030ul, newValue);
240 return *this;
241 }
242
250 {
251 getTLMutator().modify(getClassId(), getURI())->unset(1409030ul, opflex::modb::PropertyInfo::U64, opflex::modb::PropertyInfo::SCALAR);
252 return *this;
253 }
254
260 {
261 return getObjectInstance().isSet(1409026ul, opflex::modb::PropertyInfo::U64);
262 }
263
268 boost::optional<uint64_t> getRxPackets()
269 {
270 if (isRxPacketsSet())
271 return getObjectInstance().getUInt64(1409026ul);
272 return boost::none;
273 }
274
280 uint64_t getRxPackets(uint64_t defaultValue)
281 {
282 return getRxPackets().get_value_or(defaultValue);
283 }
284
294 {
295 getTLMutator().modify(getClassId(), getURI())->setUInt64(1409026ul, newValue);
296 return *this;
297 }
298
306 {
307 getTLMutator().modify(getClassId(), getURI())->unset(1409026ul, opflex::modb::PropertyInfo::U64, opflex::modb::PropertyInfo::SCALAR);
308 return *this;
309 }
310
316 {
317 return getObjectInstance().isSet(1409034ul, opflex::modb::PropertyInfo::U64);
318 }
319
324 boost::optional<uint64_t> getRxUnicast()
325 {
326 if (isRxUnicastSet())
327 return getObjectInstance().getUInt64(1409034ul);
328 return boost::none;
329 }
330
336 uint64_t getRxUnicast(uint64_t defaultValue)
337 {
338 return getRxUnicast().get_value_or(defaultValue);
339 }
340
350 {
351 getTLMutator().modify(getClassId(), getURI())->setUInt64(1409034ul, newValue);
352 return *this;
353 }
354
362 {
363 getTLMutator().modify(getClassId(), getURI())->unset(1409034ul, opflex::modb::PropertyInfo::U64, opflex::modb::PropertyInfo::SCALAR);
364 return *this;
365 }
366
372 {
373 return getObjectInstance().isSet(1409033ul, opflex::modb::PropertyInfo::U64);
374 }
375
380 boost::optional<uint64_t> getTxBroadcast()
381 {
382 if (isTxBroadcastSet())
383 return getObjectInstance().getUInt64(1409033ul);
384 return boost::none;
385 }
386
392 uint64_t getTxBroadcast(uint64_t defaultValue)
393 {
394 return getTxBroadcast().get_value_or(defaultValue);
395 }
396
406 {
407 getTLMutator().modify(getClassId(), getURI())->setUInt64(1409033ul, newValue);
408 return *this;
409 }
410
418 {
419 getTLMutator().modify(getClassId(), getURI())->unset(1409033ul, opflex::modb::PropertyInfo::U64, opflex::modb::PropertyInfo::SCALAR);
420 return *this;
421 }
422
428 {
429 return getObjectInstance().isSet(1409037ul, opflex::modb::PropertyInfo::U64);
430 }
431
436 boost::optional<uint64_t> getTxBytes()
437 {
438 if (isTxBytesSet())
439 return getObjectInstance().getUInt64(1409037ul);
440 return boost::none;
441 }
442
448 uint64_t getTxBytes(uint64_t defaultValue)
449 {
450 return getTxBytes().get_value_or(defaultValue);
451 }
452
462 {
463 getTLMutator().modify(getClassId(), getURI())->setUInt64(1409037ul, newValue);
464 return *this;
465 }
466
474 {
475 getTLMutator().modify(getClassId(), getURI())->unset(1409037ul, opflex::modb::PropertyInfo::U64, opflex::modb::PropertyInfo::SCALAR);
476 return *this;
477 }
478
484 {
485 return getObjectInstance().isSet(1409029ul, opflex::modb::PropertyInfo::U64);
486 }
487
492 boost::optional<uint64_t> getTxDrop()
493 {
494 if (isTxDropSet())
495 return getObjectInstance().getUInt64(1409029ul);
496 return boost::none;
497 }
498
504 uint64_t getTxDrop(uint64_t defaultValue)
505 {
506 return getTxDrop().get_value_or(defaultValue);
507 }
508
518 {
519 getTLMutator().modify(getClassId(), getURI())->setUInt64(1409029ul, newValue);
520 return *this;
521 }
522
530 {
531 getTLMutator().modify(getClassId(), getURI())->unset(1409029ul, opflex::modb::PropertyInfo::U64, opflex::modb::PropertyInfo::SCALAR);
532 return *this;
533 }
534
540 {
541 return getObjectInstance().isSet(1409031ul, opflex::modb::PropertyInfo::U64);
542 }
543
548 boost::optional<uint64_t> getTxMulticast()
549 {
550 if (isTxMulticastSet())
551 return getObjectInstance().getUInt64(1409031ul);
552 return boost::none;
553 }
554
560 uint64_t getTxMulticast(uint64_t defaultValue)
561 {
562 return getTxMulticast().get_value_or(defaultValue);
563 }
564
574 {
575 getTLMutator().modify(getClassId(), getURI())->setUInt64(1409031ul, newValue);
576 return *this;
577 }
578
586 {
587 getTLMutator().modify(getClassId(), getURI())->unset(1409031ul, opflex::modb::PropertyInfo::U64, opflex::modb::PropertyInfo::SCALAR);
588 return *this;
589 }
590
596 {
597 return getObjectInstance().isSet(1409027ul, opflex::modb::PropertyInfo::U64);
598 }
599
604 boost::optional<uint64_t> getTxPackets()
605 {
606 if (isTxPacketsSet())
607 return getObjectInstance().getUInt64(1409027ul);
608 return boost::none;
609 }
610
616 uint64_t getTxPackets(uint64_t defaultValue)
617 {
618 return getTxPackets().get_value_or(defaultValue);
619 }
620
630 {
631 getTLMutator().modify(getClassId(), getURI())->setUInt64(1409027ul, newValue);
632 return *this;
633 }
634
642 {
643 getTLMutator().modify(getClassId(), getURI())->unset(1409027ul, opflex::modb::PropertyInfo::U64, opflex::modb::PropertyInfo::SCALAR);
644 return *this;
645 }
646
652 {
653 return getObjectInstance().isSet(1409035ul, opflex::modb::PropertyInfo::U64);
654 }
655
660 boost::optional<uint64_t> getTxUnicast()
661 {
662 if (isTxUnicastSet())
663 return getObjectInstance().getUInt64(1409035ul);
664 return boost::none;
665 }
666
672 uint64_t getTxUnicast(uint64_t defaultValue)
673 {
674 return getTxUnicast().get_value_or(defaultValue);
675 }
676
686 {
687 getTLMutator().modify(getClassId(), getURI())->setUInt64(1409035ul, newValue);
688 return *this;
689 }
690
698 {
699 getTLMutator().modify(getClassId(), getURI())->unset(1409035ul, opflex::modb::PropertyInfo::U64, opflex::modb::PropertyInfo::SCALAR);
700 return *this;
701 }
702
708 {
709 return getObjectInstance().isSet(1409025ul, opflex::modb::PropertyInfo::STRING);
710 }
711
716 boost::optional<const std::string&> getUuid()
717 {
718 if (isUuidSet())
719 return getObjectInstance().getString(1409025ul);
720 return boost::none;
721 }
722
728 const std::string& getUuid(const std::string& defaultValue)
729 {
730 return getUuid().get_value_or(defaultValue);
731 }
732
741 modelgbp::gbpe::EpCounter& setUuid(const std::string& newValue)
742 {
743 getTLMutator().modify(getClassId(), getURI())->setString(1409025ul, newValue);
744 return *this;
745 }
746
754 {
755 getTLMutator().modify(getClassId(), getURI())->unset(1409025ul, opflex::modb::PropertyInfo::STRING, opflex::modb::PropertyInfo::SCALAR);
756 return *this;
757 }
758
770 static boost::optional<OF_SHARED_PTR<modelgbp::gbpe::EpCounter> > resolve(
771 opflex::ofcore::OFFramework& framework,
772 const opflex::modb::URI& uri)
773 {
774 return opflex::modb::mointernal::MO::resolve<modelgbp::gbpe::EpCounter>(framework, CLASS_ID, uri);
775 }
776
788 static boost::optional<OF_SHARED_PTR<modelgbp::gbpe::EpCounter> > resolve(
789 const opflex::modb::URI& uri)
790 {
791 return opflex::modb::mointernal::MO::resolve<modelgbp::gbpe::EpCounter>(opflex::ofcore::OFFramework::defaultInstance(), CLASS_ID, uri);
792 }
793
810 static boost::optional<OF_SHARED_PTR<modelgbp::gbpe::EpCounter> > resolve(
811 opflex::ofcore::OFFramework& framework,
812 const std::string& gbpeEpCounterUuid)
813 {
814 return resolve(framework,opflex::modb::URIBuilder().addElement("ObserverEpStatUniverse").addElement("GbpeEpCounter").addElement(gbpeEpCounterUuid).build());
815 }
816
832 static boost::optional<OF_SHARED_PTR<modelgbp::gbpe::EpCounter> > resolve(
833 const std::string& gbpeEpCounterUuid)
834 {
835 return resolve(opflex::ofcore::OFFramework::defaultInstance(),gbpeEpCounterUuid);
836 }
837
846 void remove()
847 {
848 getTLMutator().remove(CLASS_ID, getURI());
849 }
850
861 static void remove(opflex::ofcore::OFFramework& framework,
862 const opflex::modb::URI& uri)
863 {
864 MO::remove(framework, CLASS_ID, uri);
865 }
866
877 static void remove(const opflex::modb::URI& uri)
878 {
879 remove(opflex::ofcore::OFFramework::defaultInstance(), uri);
880 }
881
896 static void remove(
897 opflex::ofcore::OFFramework& framework,
898 const std::string& gbpeEpCounterUuid)
899 {
900 MO::remove(framework, CLASS_ID, opflex::modb::URIBuilder().addElement("ObserverEpStatUniverse").addElement("GbpeEpCounter").addElement(gbpeEpCounterUuid).build());
901 }
902
917 static void remove(
918 const std::string& gbpeEpCounterUuid)
919 {
920 remove(opflex::ofcore::OFFramework::defaultInstance(),gbpeEpCounterUuid);
921 }
922
934 static void registerListener(
935 opflex::ofcore::OFFramework& framework,
936 opflex::modb::ObjectListener* listener)
937 {
938 opflex::modb::mointernal
939 ::MO::registerListener(framework, listener, CLASS_ID);
940 }
941
953 static void registerListener(
954 opflex::modb::ObjectListener* listener)
955 {
956 registerListener(opflex::ofcore::OFFramework::defaultInstance(), listener);
957 }
958
966 opflex::ofcore::OFFramework& framework,
967 opflex::modb::ObjectListener* listener)
968 {
969 opflex::modb::mointernal
970 ::MO::unregisterListener(framework, listener, CLASS_ID);
971 }
972
980 opflex::modb::ObjectListener* listener)
981 {
982 unregisterListener(opflex::ofcore::OFFramework::defaultInstance(), listener);
983 }
984
990 opflex::ofcore::OFFramework& framework,
991 const opflex::modb::URI& uri,
992 const OF_SHARED_PTR<const opflex::modb::mointernal::ObjectInstance>& oi)
993 : MO(framework, CLASS_ID, uri, oi) { }
994}; // class EpCounter
995
996} // namespace gbpe
997} // namespace modelgbp
998#endif // GI_GBPE_EPCOUNTER_HPP
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