modelgbp Generated OpFlex Model  1.7.0
DstSummary.hpp
1 
10 #pragma once
11 #ifndef GI_SPAN_DSTSUMMARY_HPP
12 #define GI_SPAN_DSTSUMMARY_HPP
13 
14 #include <boost/optional.hpp>
15 #include "opflex/modb/URIBuilder.h"
16 #include "opflex/modb/mo-internal/MO.h"
17 
18 namespace modelgbp {
19 namespace span {
20 
22  : public opflex::modb::mointernal::MO
23 {
24 public:
25 
29  static const opflex::modb::class_id_t CLASS_ID = 79;
30 
35  bool isDestSet()
36  {
37  return getObjectInstance().isSet(2588673ul, opflex::modb::PropertyInfo::STRING);
38  }
39 
44  boost::optional<const std::string&> getDest()
45  {
46  if (isDestSet())
47  return getObjectInstance().getString(2588673ul);
48  return boost::none;
49  }
50 
56  const std::string& getDest(const std::string& defaultValue)
57  {
58  return getDest().get_value_or(defaultValue);
59  }
60 
69  modelgbp::span::DstSummary& setDest(const std::string& newValue)
70  {
71  getTLMutator().modify(getClassId(), getURI())->setString(2588673ul, newValue);
72  return *this;
73  }
74 
82  {
83  getTLMutator().modify(getClassId(), getURI())->unset(2588673ul, opflex::modb::PropertyInfo::STRING, opflex::modb::PropertyInfo::SCALAR);
84  return *this;
85  }
86 
91  bool isDscpSet()
92  {
93  return getObjectInstance().isSet(2588680ul, opflex::modb::PropertyInfo::U64);
94  }
95 
100  boost::optional<const uint8_t> getDscp()
101  {
102  if (isDscpSet())
103  return (const uint8_t)getObjectInstance().getUInt64(2588680ul);
104  return boost::none;
105  }
106 
112  const uint8_t getDscp(const uint8_t defaultValue)
113  {
114  return getDscp().get_value_or(defaultValue);
115  }
116 
125  modelgbp::span::DstSummary& setDscp(const uint8_t newValue)
126  {
127  getTLMutator().modify(getClassId(), getURI())->setUInt64(2588680ul, newValue);
128  return *this;
129  }
130 
138  {
139  getTLMutator().modify(getClassId(), getURI())->unset(2588680ul, opflex::modb::PropertyInfo::U64, opflex::modb::PropertyInfo::SCALAR);
140  return *this;
141  }
142 
147  bool isFlowIdSet()
148  {
149  return getObjectInstance().isSet(2588676ul, opflex::modb::PropertyInfo::U64);
150  }
151 
156  boost::optional<uint16_t> getFlowId()
157  {
158  if (isFlowIdSet())
159  return (uint16_t)getObjectInstance().getUInt64(2588676ul);
160  return boost::none;
161  }
162 
168  uint16_t getFlowId(uint16_t defaultValue)
169  {
170  return getFlowId().get_value_or(defaultValue);
171  }
172 
182  {
183  getTLMutator().modify(getClassId(), getURI())->setUInt64(2588676ul, newValue);
184  return *this;
185  }
186 
194  {
195  getTLMutator().modify(getClassId(), getURI())->unset(2588676ul, opflex::modb::PropertyInfo::U64, opflex::modb::PropertyInfo::SCALAR);
196  return *this;
197  }
198 
203  bool isModeSet()
204  {
205  return getObjectInstance().isSet(2588681ul, opflex::modb::PropertyInfo::ENUM8);
206  }
207 
212  boost::optional<const uint8_t> getMode()
213  {
214  if (isModeSet())
215  return (const uint8_t)getObjectInstance().getUInt64(2588681ul);
216  return boost::none;
217  }
218 
224  const uint8_t getMode(const uint8_t defaultValue)
225  {
226  return getMode().get_value_or(defaultValue);
227  }
228 
237  modelgbp::span::DstSummary& setMode(const uint8_t newValue)
238  {
239  getTLMutator().modify(getClassId(), getURI())->setUInt64(2588681ul, newValue);
240  return *this;
241  }
242 
250  {
251  getTLMutator().modify(getClassId(), getURI())->unset(2588681ul, opflex::modb::PropertyInfo::ENUM8, opflex::modb::PropertyInfo::SCALAR);
252  return *this;
253  }
254 
259  bool isMtuSet()
260  {
261  return getObjectInstance().isSet(2588679ul, opflex::modb::PropertyInfo::U64);
262  }
263 
268  boost::optional<uint32_t> getMtu()
269  {
270  if (isMtuSet())
271  return (uint32_t)getObjectInstance().getUInt64(2588679ul);
272  return boost::none;
273  }
274 
280  uint32_t getMtu(uint32_t defaultValue)
281  {
282  return getMtu().get_value_or(defaultValue);
283  }
284 
293  modelgbp::span::DstSummary& setMtu(uint32_t newValue)
294  {
295  getTLMutator().modify(getClassId(), getURI())->setUInt64(2588679ul, newValue);
296  return *this;
297  }
298 
306  {
307  getTLMutator().modify(getClassId(), getURI())->unset(2588679ul, opflex::modb::PropertyInfo::U64, opflex::modb::PropertyInfo::SCALAR);
308  return *this;
309  }
310 
316  {
317  return getObjectInstance().isSet(2588674ul, opflex::modb::PropertyInfo::STRING);
318  }
319 
324  boost::optional<const std::string&> getSrcPrefix()
325  {
326  if (isSrcPrefixSet())
327  return getObjectInstance().getString(2588674ul);
328  return boost::none;
329  }
330 
336  const std::string& getSrcPrefix(const std::string& defaultValue)
337  {
338  return getSrcPrefix().get_value_or(defaultValue);
339  }
340 
349  modelgbp::span::DstSummary& setSrcPrefix(const std::string& newValue)
350  {
351  getTLMutator().modify(getClassId(), getURI())->setString(2588674ul, newValue);
352  return *this;
353  }
354 
362  {
363  getTLMutator().modify(getClassId(), getURI())->unset(2588674ul, opflex::modb::PropertyInfo::STRING, opflex::modb::PropertyInfo::SCALAR);
364  return *this;
365  }
366 
371  bool isTtlSet()
372  {
373  return getObjectInstance().isSet(2588677ul, opflex::modb::PropertyInfo::U64);
374  }
375 
380  boost::optional<const uint8_t> getTtl()
381  {
382  if (isTtlSet())
383  return (const uint8_t)getObjectInstance().getUInt64(2588677ul);
384  return boost::none;
385  }
386 
392  const uint8_t getTtl(const uint8_t defaultValue)
393  {
394  return getTtl().get_value_or(defaultValue);
395  }
396 
405  modelgbp::span::DstSummary& setTtl(const uint8_t newValue)
406  {
407  getTLMutator().modify(getClassId(), getURI())->setUInt64(2588677ul, newValue);
408  return *this;
409  }
410 
418  {
419  getTLMutator().modify(getClassId(), getURI())->unset(2588677ul, opflex::modb::PropertyInfo::U64, opflex::modb::PropertyInfo::SCALAR);
420  return *this;
421  }
422 
428  {
429  return getObjectInstance().isSet(2588675ul, opflex::modb::PropertyInfo::ENUM8);
430  }
431 
436  boost::optional<const uint8_t> getVersion()
437  {
438  if (isVersionSet())
439  return (const uint8_t)getObjectInstance().getUInt64(2588675ul);
440  return boost::none;
441  }
442 
448  const uint8_t getVersion(const uint8_t defaultValue)
449  {
450  return getVersion().get_value_or(defaultValue);
451  }
452 
461  modelgbp::span::DstSummary& setVersion(const uint8_t newValue)
462  {
463  getTLMutator().modify(getClassId(), getURI())->setUInt64(2588675ul, newValue);
464  return *this;
465  }
466 
474  {
475  getTLMutator().modify(getClassId(), getURI())->unset(2588675ul, opflex::modb::PropertyInfo::ENUM8, opflex::modb::PropertyInfo::SCALAR);
476  return *this;
477  }
478 
484  {
485  return getObjectInstance().isSet(2588678ul, opflex::modb::PropertyInfo::STRING);
486  }
487 
492  boost::optional<const std::string&> getVrfName()
493  {
494  if (isVrfNameSet())
495  return getObjectInstance().getString(2588678ul);
496  return boost::none;
497  }
498 
504  const std::string& getVrfName(const std::string& defaultValue)
505  {
506  return getVrfName().get_value_or(defaultValue);
507  }
508 
517  modelgbp::span::DstSummary& setVrfName(const std::string& newValue)
518  {
519  getTLMutator().modify(getClassId(), getURI())->setString(2588678ul, newValue);
520  return *this;
521  }
522 
530  {
531  getTLMutator().modify(getClassId(), getURI())->unset(2588678ul, opflex::modb::PropertyInfo::STRING, opflex::modb::PropertyInfo::SCALAR);
532  return *this;
533  }
534 
546  static boost::optional<OF_SHARED_PTR<modelgbp::span::DstSummary> > resolve(
547  opflex::ofcore::OFFramework& framework,
548  const opflex::modb::URI& uri)
549  {
550  return opflex::modb::mointernal::MO::resolve<modelgbp::span::DstSummary>(framework, CLASS_ID, uri);
551  }
552 
564  static boost::optional<OF_SHARED_PTR<modelgbp::span::DstSummary> > resolve(
565  const opflex::modb::URI& uri)
566  {
567  return opflex::modb::mointernal::MO::resolve<modelgbp::span::DstSummary>(opflex::ofcore::OFFramework::defaultInstance(), CLASS_ID, uri);
568  }
569 
590  static boost::optional<OF_SHARED_PTR<modelgbp::span::DstSummary> > resolveUnderPolicyUniversePlatformConfigSpanSrcGrpSpanDstMember(
591  opflex::ofcore::OFFramework& framework,
592  const std::string& platformConfigName,
593  const std::string& spanSrcGrpName,
594  const std::string& spanDstMemberName)
595  {
596  return resolve(framework,opflex::modb::URIBuilder().addElement("PolicyUniverse").addElement("PlatformConfig").addElement(platformConfigName).addElement("SpanSrcGrp").addElement(spanSrcGrpName).addElement("SpanDstMember").addElement(spanDstMemberName).addElement("SpanDstSummary").build());
597  }
598 
618  static boost::optional<OF_SHARED_PTR<modelgbp::span::DstSummary> > resolveUnderPolicyUniversePlatformConfigSpanSrcGrpSpanDstMember(
619  const std::string& platformConfigName,
620  const std::string& spanSrcGrpName,
621  const std::string& spanDstMemberName)
622  {
623  return resolveUnderPolicyUniversePlatformConfigSpanSrcGrpSpanDstMember(opflex::ofcore::OFFramework::defaultInstance(),platformConfigName,spanSrcGrpName,spanDstMemberName);
624  }
625 
646  static boost::optional<OF_SHARED_PTR<modelgbp::span::DstSummary> > resolveUnderPolicyUniversePlatformConfigSpanDstGrpSpanDstMember(
647  opflex::ofcore::OFFramework& framework,
648  const std::string& platformConfigName,
649  const std::string& spanDstGrpName,
650  const std::string& spanDstMemberName)
651  {
652  return resolve(framework,opflex::modb::URIBuilder().addElement("PolicyUniverse").addElement("PlatformConfig").addElement(platformConfigName).addElement("SpanDstGrp").addElement(spanDstGrpName).addElement("SpanDstMember").addElement(spanDstMemberName).addElement("SpanDstSummary").build());
653  }
654 
674  static boost::optional<OF_SHARED_PTR<modelgbp::span::DstSummary> > resolveUnderPolicyUniversePlatformConfigSpanDstGrpSpanDstMember(
675  const std::string& platformConfigName,
676  const std::string& spanDstGrpName,
677  const std::string& spanDstMemberName)
678  {
679  return resolveUnderPolicyUniversePlatformConfigSpanDstGrpSpanDstMember(opflex::ofcore::OFFramework::defaultInstance(),platformConfigName,spanDstGrpName,spanDstMemberName);
680  }
681 
690  void remove()
691  {
692  getTLMutator().remove(CLASS_ID, getURI());
693  }
694 
705  static void remove(opflex::ofcore::OFFramework& framework,
706  const opflex::modb::URI& uri)
707  {
708  MO::remove(framework, CLASS_ID, uri);
709  }
710 
721  static void remove(const opflex::modb::URI& uri)
722  {
723  remove(opflex::ofcore::OFFramework::defaultInstance(), uri);
724  }
725 
745  opflex::ofcore::OFFramework& framework,
746  const std::string& platformConfigName,
747  const std::string& spanSrcGrpName,
748  const std::string& spanDstMemberName)
749  {
750  MO::remove(framework, CLASS_ID, opflex::modb::URIBuilder().addElement("PolicyUniverse").addElement("PlatformConfig").addElement(platformConfigName).addElement("SpanSrcGrp").addElement(spanSrcGrpName).addElement("SpanDstMember").addElement(spanDstMemberName).addElement("SpanDstSummary").build());
751  }
752 
772  const std::string& platformConfigName,
773  const std::string& spanSrcGrpName,
774  const std::string& spanDstMemberName)
775  {
776  removeUnderPolicyUniversePlatformConfigSpanSrcGrpSpanDstMember(opflex::ofcore::OFFramework::defaultInstance(),platformConfigName,spanSrcGrpName,spanDstMemberName);
777  }
778 
798  opflex::ofcore::OFFramework& framework,
799  const std::string& platformConfigName,
800  const std::string& spanDstGrpName,
801  const std::string& spanDstMemberName)
802  {
803  MO::remove(framework, CLASS_ID, opflex::modb::URIBuilder().addElement("PolicyUniverse").addElement("PlatformConfig").addElement(platformConfigName).addElement("SpanDstGrp").addElement(spanDstGrpName).addElement("SpanDstMember").addElement(spanDstMemberName).addElement("SpanDstSummary").build());
804  }
805 
825  const std::string& platformConfigName,
826  const std::string& spanDstGrpName,
827  const std::string& spanDstMemberName)
828  {
829  removeUnderPolicyUniversePlatformConfigSpanDstGrpSpanDstMember(opflex::ofcore::OFFramework::defaultInstance(),platformConfigName,spanDstGrpName,spanDstMemberName);
830  }
831 
843  static void registerListener(
844  opflex::ofcore::OFFramework& framework,
845  opflex::modb::ObjectListener* listener)
846  {
847  opflex::modb::mointernal
848  ::MO::registerListener(framework, listener, CLASS_ID);
849  }
850 
862  static void registerListener(
863  opflex::modb::ObjectListener* listener)
864  {
865  registerListener(opflex::ofcore::OFFramework::defaultInstance(), listener);
866  }
867 
874  static void unregisterListener(
875  opflex::ofcore::OFFramework& framework,
876  opflex::modb::ObjectListener* listener)
877  {
878  opflex::modb::mointernal
879  ::MO::unregisterListener(framework, listener, CLASS_ID);
880  }
881 
888  static void unregisterListener(
889  opflex::modb::ObjectListener* listener)
890  {
891  unregisterListener(opflex::ofcore::OFFramework::defaultInstance(), listener);
892  }
893 
899  opflex::ofcore::OFFramework& framework,
900  const opflex::modb::URI& uri,
901  const OF_SHARED_PTR<const opflex::modb::mointernal::ObjectInstance>& oi)
902  : MO(framework, CLASS_ID, uri, oi) { }
903 }; // class DstSummary
904 
905 } // namespace span
906 } // namespace modelgbp
907 #endif // GI_SPAN_DSTSUMMARY_HPP
modelgbp::span::DstSummary & setMtu(uint32_t newValue)
Set mtu to the specified value in the currently-active mutator.
Definition: DstSummary.hpp:293
uint32_t getMtu(uint32_t defaultValue)
Get the value of mtu if set, otherwise the value of default passed in.
Definition: DstSummary.hpp:280
bool isModeSet()
Check whether mode has been set.
Definition: DstSummary.hpp:203
boost::optional< const std::string & > getVrfName()
Get the value of vrfName if it has been set.
Definition: DstSummary.hpp:492
static const opflex::modb::class_id_t CLASS_ID
The unique class ID for DstSummary.
Definition: DstSummary.hpp:29
Definition: DstSummary.hpp:21
static void unregisterListener(opflex::modb::ObjectListener *listener)
Unregister a listener from updates to this class from the default framework instance.
Definition: DstSummary.hpp:888
const uint8_t getMode(const uint8_t defaultValue)
Get the value of mode if set, otherwise the value of default passed in.
Definition: DstSummary.hpp:224
const uint8_t getDscp(const uint8_t defaultValue)
Get the value of dscp if set, otherwise the value of default passed in.
Definition: DstSummary.hpp:112
static boost::optional< OF_SHARED_PTR< modelgbp::span::DstSummary > > resolve(const opflex::modb::URI &uri)
Retrieve an instance of DstSummary from the managed object store using the default framework instance...
Definition: DstSummary.hpp:564
modelgbp::span::DstSummary & setVersion(const uint8_t newValue)
Set version to the specified value in the currently-active mutator.
Definition: DstSummary.hpp:461
modelgbp::span::DstSummary & unsetMode()
Unset mode in the currently-active mutator.
Definition: DstSummary.hpp:249
static void removeUnderPolicyUniversePlatformConfigSpanDstGrpSpanDstMember(const std::string &platformConfigName, const std::string &spanDstGrpName, const std::string &spanDstMemberName)
Remove the DstSummary object with the specified path elements from the managed object store using the...
Definition: DstSummary.hpp:824
modelgbp::span::DstSummary & unsetFlowId()
Unset flowId in the currently-active mutator.
Definition: DstSummary.hpp:193
modelgbp::span::DstSummary & setMode(const uint8_t newValue)
Set mode to the specified value in the currently-active mutator.
Definition: DstSummary.hpp:237
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: DstSummary.hpp:843
modelgbp::span::DstSummary & unsetVrfName()
Unset vrfName in the currently-active mutator.
Definition: DstSummary.hpp:529
static void removeUnderPolicyUniversePlatformConfigSpanSrcGrpSpanDstMember(const std::string &platformConfigName, const std::string &spanSrcGrpName, const std::string &spanDstMemberName)
Remove the DstSummary object with the specified path elements from the managed object store using the...
Definition: DstSummary.hpp:771
modelgbp::span::DstSummary & setDest(const std::string &newValue)
Set dest to the specified value in the currently-active mutator.
Definition: DstSummary.hpp:69
static void removeUnderPolicyUniversePlatformConfigSpanSrcGrpSpanDstMember(opflex::ofcore::OFFramework &framework, const std::string &platformConfigName, const std::string &spanSrcGrpName, const std::string &spanDstMemberName)
Remove the DstSummary object with the specified path elements from the managed object store...
Definition: DstSummary.hpp:744
modelgbp::span::DstSummary & setTtl(const uint8_t newValue)
Set ttl to the specified value in the currently-active mutator.
Definition: DstSummary.hpp:405
bool isFlowIdSet()
Check whether flowId has been set.
Definition: DstSummary.hpp:147
const uint8_t getTtl(const uint8_t defaultValue)
Get the value of ttl if set, otherwise the value of default passed in.
Definition: DstSummary.hpp:392
modelgbp::span::DstSummary & setVrfName(const std::string &newValue)
Set vrfName to the specified value in the currently-active mutator.
Definition: DstSummary.hpp:517
const std::string & getSrcPrefix(const std::string &defaultValue)
Get the value of srcPrefix if set, otherwise the value of default passed in.
Definition: DstSummary.hpp:336
bool isMtuSet()
Check whether mtu has been set.
Definition: DstSummary.hpp:259
static boost::optional< OF_SHARED_PTR< modelgbp::span::DstSummary > > resolveUnderPolicyUniversePlatformConfigSpanDstGrpSpanDstMember(opflex::ofcore::OFFramework &framework, const std::string &platformConfigName, const std::string &spanDstGrpName, const std::string &spanDstMemberName)
Retrieve an instance of DstSummary from the managed object store by constructing its URI from the pat...
Definition: DstSummary.hpp:646
modelgbp::span::DstSummary & unsetSrcPrefix()
Unset srcPrefix in the currently-active mutator.
Definition: DstSummary.hpp:361
const uint8_t getVersion(const uint8_t defaultValue)
Get the value of version if set, otherwise the value of default passed in.
Definition: DstSummary.hpp:448
bool isDestSet()
Check whether dest has been set.
Definition: DstSummary.hpp:35
modelgbp::span::DstSummary & setFlowId(uint16_t newValue)
Set flowId to the specified value in the currently-active mutator.
Definition: DstSummary.hpp:181
bool isSrcPrefixSet()
Check whether srcPrefix has been set.
Definition: DstSummary.hpp:315
bool isDscpSet()
Check whether dscp has been set.
Definition: DstSummary.hpp:91
const std::string & getDest(const std::string &defaultValue)
Get the value of dest if set, otherwise the value of default passed in.
Definition: DstSummary.hpp:56
modelgbp::span::DstSummary & unsetDscp()
Unset dscp in the currently-active mutator.
Definition: DstSummary.hpp:137
static boost::optional< OF_SHARED_PTR< modelgbp::span::DstSummary > > resolveUnderPolicyUniversePlatformConfigSpanSrcGrpSpanDstMember(const std::string &platformConfigName, const std::string &spanSrcGrpName, const std::string &spanDstMemberName)
Retrieve an instance of DstSummary from the default managed object store by constructing its URI from...
Definition: DstSummary.hpp:618
boost::optional< const std::string & > getDest()
Get the value of dest if it has been set.
Definition: DstSummary.hpp:44
boost::optional< const uint8_t > getTtl()
Get the value of ttl if it has been set.
Definition: DstSummary.hpp:380
modelgbp::span::DstSummary & unsetDest()
Unset dest in the currently-active mutator.
Definition: DstSummary.hpp:81
boost::optional< const uint8_t > getVersion()
Get the value of version if it has been set.
Definition: DstSummary.hpp:436
bool isVersionSet()
Check whether version has been set.
Definition: DstSummary.hpp:427
boost::optional< const uint8_t > getMode()
Get the value of mode if it has been set.
Definition: DstSummary.hpp:212
modelgbp::span::DstSummary & unsetVersion()
Unset version in the currently-active mutator.
Definition: DstSummary.hpp:473
modelgbp::span::DstSummary & setSrcPrefix(const std::string &newValue)
Set srcPrefix to the specified value in the currently-active mutator.
Definition: DstSummary.hpp:349
const std::string & getVrfName(const std::string &defaultValue)
Get the value of vrfName if set, otherwise the value of default passed in.
Definition: DstSummary.hpp:504
static boost::optional< OF_SHARED_PTR< modelgbp::span::DstSummary > > resolve(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri)
Retrieve an instance of DstSummary from the managed object store.
Definition: DstSummary.hpp:546
boost::optional< const uint8_t > getDscp()
Get the value of dscp if it has been set.
Definition: DstSummary.hpp:100
bool isVrfNameSet()
Check whether vrfName has been set.
Definition: DstSummary.hpp:483
DstSummary(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri, const OF_SHARED_PTR< const opflex::modb::mointernal::ObjectInstance > &oi)
Construct an instance of DstSummary.
Definition: DstSummary.hpp:898
modelgbp::span::DstSummary & unsetMtu()
Unset mtu in the currently-active mutator.
Definition: DstSummary.hpp:305
bool isTtlSet()
Check whether ttl has been set.
Definition: DstSummary.hpp:371
modelgbp::span::DstSummary & unsetTtl()
Unset ttl in the currently-active mutator.
Definition: DstSummary.hpp:417
boost::optional< uint16_t > getFlowId()
Get the value of flowId if it has been set.
Definition: DstSummary.hpp:156
static boost::optional< OF_SHARED_PTR< modelgbp::span::DstSummary > > resolveUnderPolicyUniversePlatformConfigSpanDstGrpSpanDstMember(const std::string &platformConfigName, const std::string &spanDstGrpName, const std::string &spanDstMemberName)
Retrieve an instance of DstSummary from the default managed object store by constructing its URI from...
Definition: DstSummary.hpp:674
boost::optional< const std::string & > getSrcPrefix()
Get the value of srcPrefix if it has been set.
Definition: DstSummary.hpp:324
static void removeUnderPolicyUniversePlatformConfigSpanDstGrpSpanDstMember(opflex::ofcore::OFFramework &framework, const std::string &platformConfigName, const std::string &spanDstGrpName, const std::string &spanDstMemberName)
Remove the DstSummary object with the specified path elements from the managed object store...
Definition: DstSummary.hpp:797
boost::optional< uint32_t > getMtu()
Get the value of mtu if it has been set.
Definition: DstSummary.hpp:268
uint16_t getFlowId(uint16_t defaultValue)
Get the value of flowId if set, otherwise the value of default passed in.
Definition: DstSummary.hpp:168
modelgbp::span::DstSummary & setDscp(const uint8_t newValue)
Set dscp to the specified value in the currently-active mutator.
Definition: DstSummary.hpp:125
static void unregisterListener(opflex::ofcore::OFFramework &framework, opflex::modb::ObjectListener *listener)
Unregister a listener from updates to this class.
Definition: DstSummary.hpp:874
static boost::optional< OF_SHARED_PTR< modelgbp::span::DstSummary > > resolveUnderPolicyUniversePlatformConfigSpanSrcGrpSpanDstMember(opflex::ofcore::OFFramework &framework, const std::string &platformConfigName, const std::string &spanSrcGrpName, const std::string &spanDstMemberName)
Retrieve an instance of DstSummary from the managed object store by constructing its URI from the pat...
Definition: DstSummary.hpp:590
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: DstSummary.hpp:862