modelgbp Generated OpFlex Model 1.7.0
L24Classifier.hpp
1
10#pragma once
11#ifndef GI_GBPE_L24CLASSIFIER_HPP
12#define GI_GBPE_L24CLASSIFIER_HPP
13
14#include <boost/optional.hpp>
15#include "opflex/modb/URIBuilder.h"
16#include "opflex/modb/mo-internal/MO.h"
17/*
18 * contains: item:mclass(gbp/RuleFromClassifierRTgt)
19 */
20#include "modelgbp/gbp/RuleFromClassifierRTgt.hpp"
21
22namespace modelgbp {
23namespace gbpe {
24
26 : public opflex::modb::mointernal::MO
27{
28public:
29
33 static const opflex::modb::class_id_t CLASS_ID = 42;
34
40 {
41 return getObjectInstance().isSet(1376260ul, opflex::modb::PropertyInfo::ENUM8);
42 }
43
48 boost::optional<const uint8_t> getArpOpc()
49 {
50 if (isArpOpcSet())
51 return (const uint8_t)getObjectInstance().getUInt64(1376260ul);
52 return boost::none;
53 }
54
60 const uint8_t getArpOpc(const uint8_t defaultValue)
61 {
62 return getArpOpc().get_value_or(defaultValue);
63 }
64
74 {
75 getTLMutator().modify(getClassId(), getURI())->setUInt64(1376260ul, newValue);
76 return *this;
77 }
78
86 {
87 getTLMutator().modify(getClassId(), getURI())->unset(1376260ul, opflex::modb::PropertyInfo::ENUM8, opflex::modb::PropertyInfo::SCALAR);
88 return *this;
89 }
90
96 {
97 return getObjectInstance().isSet(1376259ul, opflex::modb::PropertyInfo::ENUM8);
98 }
99
104 boost::optional<const uint8_t> getConnectionTracking()
105 {
107 return (const uint8_t)getObjectInstance().getUInt64(1376259ul);
108 return boost::none;
109 }
110
116 const uint8_t getConnectionTracking(const uint8_t defaultValue)
117 {
118 return getConnectionTracking().get_value_or(defaultValue);
119 }
120
130 {
131 getTLMutator().modify(getClassId(), getURI())->setUInt64(1376259ul, newValue);
132 return *this;
133 }
134
142 {
143 getTLMutator().modify(getClassId(), getURI())->unset(1376259ul, opflex::modb::PropertyInfo::ENUM8, opflex::modb::PropertyInfo::SCALAR);
144 return *this;
145 }
146
152 {
153 return getObjectInstance().isSet(1376265ul, opflex::modb::PropertyInfo::U64);
154 }
155
160 boost::optional<uint16_t> getDFromPort()
161 {
162 if (isDFromPortSet())
163 return (uint16_t)getObjectInstance().getUInt64(1376265ul);
164 return boost::none;
165 }
166
172 uint16_t getDFromPort(uint16_t defaultValue)
173 {
174 return getDFromPort().get_value_or(defaultValue);
175 }
176
186 {
187 getTLMutator().modify(getClassId(), getURI())->setUInt64(1376265ul, newValue);
188 return *this;
189 }
190
198 {
199 getTLMutator().modify(getClassId(), getURI())->unset(1376265ul, opflex::modb::PropertyInfo::U64, opflex::modb::PropertyInfo::SCALAR);
200 return *this;
201 }
202
208 {
209 return getObjectInstance().isSet(1376266ul, opflex::modb::PropertyInfo::U64);
210 }
211
216 boost::optional<uint16_t> getDToPort()
217 {
218 if (isDToPortSet())
219 return (uint16_t)getObjectInstance().getUInt64(1376266ul);
220 return boost::none;
221 }
222
228 uint16_t getDToPort(uint16_t defaultValue)
229 {
230 return getDToPort().get_value_or(defaultValue);
231 }
232
242 {
243 getTLMutator().modify(getClassId(), getURI())->setUInt64(1376266ul, newValue);
244 return *this;
245 }
246
254 {
255 getTLMutator().modify(getClassId(), getURI())->unset(1376266ul, opflex::modb::PropertyInfo::U64, opflex::modb::PropertyInfo::SCALAR);
256 return *this;
257 }
258
264 {
265 return getObjectInstance().isSet(1376261ul, opflex::modb::PropertyInfo::ENUM16);
266 }
267
272 boost::optional<uint16_t> getEtherT()
273 {
274 if (isEtherTSet())
275 return (uint16_t)getObjectInstance().getUInt64(1376261ul);
276 return boost::none;
277 }
278
284 uint16_t getEtherT(uint16_t defaultValue)
285 {
286 return getEtherT().get_value_or(defaultValue);
287 }
288
298 {
299 getTLMutator().modify(getClassId(), getURI())->setUInt64(1376261ul, newValue);
300 return *this;
301 }
302
310 {
311 getTLMutator().modify(getClassId(), getURI())->unset(1376261ul, opflex::modb::PropertyInfo::ENUM16, opflex::modb::PropertyInfo::SCALAR);
312 return *this;
313 }
314
320 {
321 return getObjectInstance().isSet(1376269ul, opflex::modb::PropertyInfo::U64);
322 }
323
328 boost::optional<const uint8_t> getIcmpCode()
329 {
330 if (isIcmpCodeSet())
331 return (const uint8_t)getObjectInstance().getUInt64(1376269ul);
332 return boost::none;
333 }
334
340 const uint8_t getIcmpCode(const uint8_t defaultValue)
341 {
342 return getIcmpCode().get_value_or(defaultValue);
343 }
344
354 {
355 getTLMutator().modify(getClassId(), getURI())->setUInt64(1376269ul, newValue);
356 return *this;
357 }
358
366 {
367 getTLMutator().modify(getClassId(), getURI())->unset(1376269ul, opflex::modb::PropertyInfo::U64, opflex::modb::PropertyInfo::SCALAR);
368 return *this;
369 }
370
376 {
377 return getObjectInstance().isSet(1376268ul, opflex::modb::PropertyInfo::U64);
378 }
379
384 boost::optional<const uint8_t> getIcmpType()
385 {
386 if (isIcmpTypeSet())
387 return (const uint8_t)getObjectInstance().getUInt64(1376268ul);
388 return boost::none;
389 }
390
396 const uint8_t getIcmpType(const uint8_t defaultValue)
397 {
398 return getIcmpType().get_value_or(defaultValue);
399 }
400
410 {
411 getTLMutator().modify(getClassId(), getURI())->setUInt64(1376268ul, newValue);
412 return *this;
413 }
414
422 {
423 getTLMutator().modify(getClassId(), getURI())->unset(1376268ul, opflex::modb::PropertyInfo::U64, opflex::modb::PropertyInfo::SCALAR);
424 return *this;
425 }
426
432 {
433 return getObjectInstance().isSet(1376257ul, opflex::modb::PropertyInfo::STRING);
434 }
435
440 boost::optional<const std::string&> getName()
441 {
442 if (isNameSet())
443 return getObjectInstance().getString(1376257ul);
444 return boost::none;
445 }
446
452 const std::string& getName(const std::string& defaultValue)
453 {
454 return getName().get_value_or(defaultValue);
455 }
456
465 modelgbp::gbpe::L24Classifier& setName(const std::string& newValue)
466 {
467 getTLMutator().modify(getClassId(), getURI())->setString(1376257ul, newValue);
468 return *this;
469 }
470
478 {
479 getTLMutator().modify(getClassId(), getURI())->unset(1376257ul, opflex::modb::PropertyInfo::STRING, opflex::modb::PropertyInfo::SCALAR);
480 return *this;
481 }
482
488 {
489 return getObjectInstance().isSet(1376258ul, opflex::modb::PropertyInfo::U64);
490 }
491
496 boost::optional<uint32_t> getOrder()
497 {
498 if (isOrderSet())
499 return (uint32_t)getObjectInstance().getUInt64(1376258ul);
500 return boost::none;
501 }
502
508 uint32_t getOrder(uint32_t defaultValue)
509 {
510 return getOrder().get_value_or(defaultValue);
511 }
512
522 {
523 getTLMutator().modify(getClassId(), getURI())->setUInt64(1376258ul, newValue);
524 return *this;
525 }
526
534 {
535 getTLMutator().modify(getClassId(), getURI())->unset(1376258ul, opflex::modb::PropertyInfo::U64, opflex::modb::PropertyInfo::SCALAR);
536 return *this;
537 }
538
544 {
545 return getObjectInstance().isSet(1376262ul, opflex::modb::PropertyInfo::U64);
546 }
547
552 boost::optional<const uint8_t> getProt()
553 {
554 if (isProtSet())
555 return (const uint8_t)getObjectInstance().getUInt64(1376262ul);
556 return boost::none;
557 }
558
564 const uint8_t getProt(const uint8_t defaultValue)
565 {
566 return getProt().get_value_or(defaultValue);
567 }
568
577 modelgbp::gbpe::L24Classifier& setProt(const uint8_t newValue)
578 {
579 getTLMutator().modify(getClassId(), getURI())->setUInt64(1376262ul, newValue);
580 return *this;
581 }
582
590 {
591 getTLMutator().modify(getClassId(), getURI())->unset(1376262ul, opflex::modb::PropertyInfo::U64, opflex::modb::PropertyInfo::SCALAR);
592 return *this;
593 }
594
600 {
601 return getObjectInstance().isSet(1376263ul, opflex::modb::PropertyInfo::U64);
602 }
603
608 boost::optional<uint16_t> getSFromPort()
609 {
610 if (isSFromPortSet())
611 return (uint16_t)getObjectInstance().getUInt64(1376263ul);
612 return boost::none;
613 }
614
620 uint16_t getSFromPort(uint16_t defaultValue)
621 {
622 return getSFromPort().get_value_or(defaultValue);
623 }
624
634 {
635 getTLMutator().modify(getClassId(), getURI())->setUInt64(1376263ul, newValue);
636 return *this;
637 }
638
646 {
647 getTLMutator().modify(getClassId(), getURI())->unset(1376263ul, opflex::modb::PropertyInfo::U64, opflex::modb::PropertyInfo::SCALAR);
648 return *this;
649 }
650
656 {
657 return getObjectInstance().isSet(1376264ul, opflex::modb::PropertyInfo::U64);
658 }
659
664 boost::optional<uint16_t> getSToPort()
665 {
666 if (isSToPortSet())
667 return (uint16_t)getObjectInstance().getUInt64(1376264ul);
668 return boost::none;
669 }
670
676 uint16_t getSToPort(uint16_t defaultValue)
677 {
678 return getSToPort().get_value_or(defaultValue);
679 }
680
690 {
691 getTLMutator().modify(getClassId(), getURI())->setUInt64(1376264ul, newValue);
692 return *this;
693 }
694
702 {
703 getTLMutator().modify(getClassId(), getURI())->unset(1376264ul, opflex::modb::PropertyInfo::U64, opflex::modb::PropertyInfo::SCALAR);
704 return *this;
705 }
706
712 {
713 return getObjectInstance().isSet(1376267ul, opflex::modb::PropertyInfo::U64);
714 }
715
720 boost::optional<uint32_t> getTcpFlags()
721 {
722 if (isTcpFlagsSet())
723 return (uint32_t)getObjectInstance().getUInt64(1376267ul);
724 return boost::none;
725 }
726
732 uint32_t getTcpFlags(uint32_t defaultValue)
733 {
734 return getTcpFlags().get_value_or(defaultValue);
735 }
736
746 {
747 getTLMutator().modify(getClassId(), getURI())->setUInt64(1376267ul, newValue);
748 return *this;
749 }
750
758 {
759 getTLMutator().modify(getClassId(), getURI())->unset(1376267ul, opflex::modb::PropertyInfo::U64, opflex::modb::PropertyInfo::SCALAR);
760 return *this;
761 }
762
774 static boost::optional<OF_SHARED_PTR<modelgbp::gbpe::L24Classifier> > resolve(
775 opflex::ofcore::OFFramework& framework,
776 const opflex::modb::URI& uri)
777 {
778 return opflex::modb::mointernal::MO::resolve<modelgbp::gbpe::L24Classifier>(framework, CLASS_ID, uri);
779 }
780
792 static boost::optional<OF_SHARED_PTR<modelgbp::gbpe::L24Classifier> > resolve(
793 const opflex::modb::URI& uri)
794 {
795 return opflex::modb::mointernal::MO::resolve<modelgbp::gbpe::L24Classifier>(opflex::ofcore::OFFramework::defaultInstance(), CLASS_ID, uri);
796 }
797
816 static boost::optional<OF_SHARED_PTR<modelgbp::gbpe::L24Classifier> > resolve(
817 opflex::ofcore::OFFramework& framework,
818 const std::string& policySpaceName,
819 const std::string& gbpeL24ClassifierName)
820 {
821 return resolve(framework,opflex::modb::URIBuilder().addElement("PolicyUniverse").addElement("PolicySpace").addElement(policySpaceName).addElement("GbpeL24Classifier").addElement(gbpeL24ClassifierName).build());
822 }
823
841 static boost::optional<OF_SHARED_PTR<modelgbp::gbpe::L24Classifier> > resolve(
842 const std::string& policySpaceName,
843 const std::string& gbpeL24ClassifierName)
844 {
845 return resolve(opflex::ofcore::OFFramework::defaultInstance(),policySpaceName,gbpeL24ClassifierName);
846 }
847
859 boost::optional<OF_SHARED_PTR<modelgbp::gbp::RuleFromClassifierRTgt> > resolveGbpRuleFromClassifierRTgt(
860 const std::string& gbpRuleFromClassifierRTgtSource)
861 {
862 return modelgbp::gbp::RuleFromClassifierRTgt::resolve(getFramework(), opflex::modb::URIBuilder(getURI()).addElement("GbpRuleFromClassifierRTgt").addElement(gbpRuleFromClassifierRTgtSource).build());
863 }
864
877 OF_SHARED_PTR<modelgbp::gbp::RuleFromClassifierRTgt> addGbpRuleFromClassifierRTgt(
878 const std::string& gbpRuleFromClassifierRTgtSource)
879 {
880 OF_SHARED_PTR<modelgbp::gbp::RuleFromClassifierRTgt> result = addChild<modelgbp::gbp::RuleFromClassifierRTgt>(
881 CLASS_ID, getURI(), 2148860051ul, 147,
882 opflex::modb::URIBuilder(getURI()).addElement("GbpRuleFromClassifierRTgt").addElement(gbpRuleFromClassifierRTgtSource).build()
883 );
884 result->setSource(gbpRuleFromClassifierRTgtSource);
885 return result;
886 }
887
902 void resolveGbpRuleFromClassifierRTgt(/* out */ std::vector<OF_SHARED_PTR<modelgbp::gbp::RuleFromClassifierRTgt> >& out)
903 {
904 opflex::modb::mointernal::MO::resolveChildren<modelgbp::gbp::RuleFromClassifierRTgt>(
905 getFramework(), CLASS_ID, getURI(), 2148860051ul, 147, out);
906 }
907
916 void remove()
917 {
918 getTLMutator().remove(CLASS_ID, getURI());
919 }
920
931 static void remove(opflex::ofcore::OFFramework& framework,
932 const opflex::modb::URI& uri)
933 {
934 MO::remove(framework, CLASS_ID, uri);
935 }
936
947 static void remove(const opflex::modb::URI& uri)
948 {
949 remove(opflex::ofcore::OFFramework::defaultInstance(), uri);
950 }
951
968 static void remove(
969 opflex::ofcore::OFFramework& framework,
970 const std::string& policySpaceName,
971 const std::string& gbpeL24ClassifierName)
972 {
973 MO::remove(framework, CLASS_ID, opflex::modb::URIBuilder().addElement("PolicyUniverse").addElement("PolicySpace").addElement(policySpaceName).addElement("GbpeL24Classifier").addElement(gbpeL24ClassifierName).build());
974 }
975
992 static void remove(
993 const std::string& policySpaceName,
994 const std::string& gbpeL24ClassifierName)
995 {
996 remove(opflex::ofcore::OFFramework::defaultInstance(),policySpaceName,gbpeL24ClassifierName);
997 }
998
1010 static void registerListener(
1011 opflex::ofcore::OFFramework& framework,
1012 opflex::modb::ObjectListener* listener)
1013 {
1014 opflex::modb::mointernal
1015 ::MO::registerListener(framework, listener, CLASS_ID);
1016 }
1017
1029 static void registerListener(
1030 opflex::modb::ObjectListener* listener)
1031 {
1032 registerListener(opflex::ofcore::OFFramework::defaultInstance(), listener);
1033 }
1034
1042 opflex::ofcore::OFFramework& framework,
1043 opflex::modb::ObjectListener* listener)
1044 {
1045 opflex::modb::mointernal
1046 ::MO::unregisterListener(framework, listener, CLASS_ID);
1047 }
1048
1056 opflex::modb::ObjectListener* listener)
1057 {
1058 unregisterListener(opflex::ofcore::OFFramework::defaultInstance(), listener);
1059 }
1060
1066 opflex::ofcore::OFFramework& framework,
1067 const opflex::modb::URI& uri,
1068 const OF_SHARED_PTR<const opflex::modb::mointernal::ObjectInstance>& oi)
1069 : MO(framework, CLASS_ID, uri, oi) { }
1070}; // class L24Classifier
1071
1072} // namespace gbpe
1073} // namespace modelgbp
1074#endif // GI_GBPE_L24CLASSIFIER_HPP
static boost::optional< OF_SHARED_PTR< modelgbp::gbp::RuleFromClassifierRTgt > > resolve(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri)
Retrieve an instance of RuleFromClassifierRTgt from the managed object store.
Definition RuleFromClassifierRTgt.hpp:210
Definition L24Classifier.hpp:27
uint16_t getSToPort(uint16_t defaultValue)
Get the value of sToPort if set, otherwise the value of default passed in.
Definition L24Classifier.hpp:676
bool isArpOpcSet()
Check whether arpOpc has been set.
Definition L24Classifier.hpp:39
modelgbp::gbpe::L24Classifier & unsetDFromPort()
Unset dFromPort in the currently-active mutator.
Definition L24Classifier.hpp:197
uint16_t getDFromPort(uint16_t defaultValue)
Get the value of dFromPort if set, otherwise the value of default passed in.
Definition L24Classifier.hpp:172
L24Classifier(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri, const OF_SHARED_PTR< const opflex::modb::mointernal::ObjectInstance > &oi)
Construct an instance of L24Classifier.
Definition L24Classifier.hpp:1065
static void unregisterListener(opflex::ofcore::OFFramework &framework, opflex::modb::ObjectListener *listener)
Unregister a listener from updates to this class.
Definition L24Classifier.hpp:1041
bool isSToPortSet()
Check whether sToPort has been set.
Definition L24Classifier.hpp:655
modelgbp::gbpe::L24Classifier & setSToPort(uint16_t newValue)
Set sToPort to the specified value in the currently-active mutator.
Definition L24Classifier.hpp:689
boost::optional< const uint8_t > getIcmpCode()
Get the value of icmpCode if it has been set.
Definition L24Classifier.hpp:328
bool isTcpFlagsSet()
Check whether tcpFlags has been set.
Definition L24Classifier.hpp:711
modelgbp::gbpe::L24Classifier & unsetArpOpc()
Unset arpOpc in the currently-active mutator.
Definition L24Classifier.hpp:85
boost::optional< uint16_t > getSToPort()
Get the value of sToPort if it has been set.
Definition L24Classifier.hpp:664
bool isConnectionTrackingSet()
Check whether connectionTracking has been set.
Definition L24Classifier.hpp:95
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 L24Classifier.hpp:1010
modelgbp::gbpe::L24Classifier & unsetOrder()
Unset order in the currently-active mutator.
Definition L24Classifier.hpp:533
uint32_t getTcpFlags(uint32_t defaultValue)
Get the value of tcpFlags if set, otherwise the value of default passed in.
Definition L24Classifier.hpp:732
modelgbp::gbpe::L24Classifier & unsetTcpFlags()
Unset tcpFlags in the currently-active mutator.
Definition L24Classifier.hpp:757
bool isIcmpTypeSet()
Check whether icmpType has been set.
Definition L24Classifier.hpp:375
modelgbp::gbpe::L24Classifier & setSFromPort(uint16_t newValue)
Set sFromPort to the specified value in the currently-active mutator.
Definition L24Classifier.hpp:633
modelgbp::gbpe::L24Classifier & unsetEtherT()
Unset etherT in the currently-active mutator.
Definition L24Classifier.hpp:309
const uint8_t getIcmpType(const uint8_t defaultValue)
Get the value of icmpType if set, otherwise the value of default passed in.
Definition L24Classifier.hpp:396
bool isIcmpCodeSet()
Check whether icmpCode has been set.
Definition L24Classifier.hpp:319
boost::optional< const uint8_t > getArpOpc()
Get the value of arpOpc if it has been set.
Definition L24Classifier.hpp:48
modelgbp::gbpe::L24Classifier & unsetIcmpType()
Unset icmpType in the currently-active mutator.
Definition L24Classifier.hpp:421
static boost::optional< OF_SHARED_PTR< modelgbp::gbpe::L24Classifier > > resolve(const std::string &policySpaceName, const std::string &gbpeL24ClassifierName)
Retrieve an instance of L24Classifier from the default managed object store by constructing its URI f...
Definition L24Classifier.hpp:841
void resolveGbpRuleFromClassifierRTgt(std::vector< OF_SHARED_PTR< modelgbp::gbp::RuleFromClassifierRTgt > > &out)
Resolve and retrieve all of the immediate children of type modelgbp::gbp::RuleFromClassifierRTgt.
Definition L24Classifier.hpp:902
boost::optional< uint32_t > getTcpFlags()
Get the value of tcpFlags if it has been set.
Definition L24Classifier.hpp:720
modelgbp::gbpe::L24Classifier & setIcmpCode(const uint8_t newValue)
Set icmpCode to the specified value in the currently-active mutator.
Definition L24Classifier.hpp:353
bool isEtherTSet()
Check whether etherT has been set.
Definition L24Classifier.hpp:263
modelgbp::gbpe::L24Classifier & setDFromPort(uint16_t newValue)
Set dFromPort to the specified value in the currently-active mutator.
Definition L24Classifier.hpp:185
boost::optional< const uint8_t > getIcmpType()
Get the value of icmpType if it has been set.
Definition L24Classifier.hpp:384
modelgbp::gbpe::L24Classifier & unsetIcmpCode()
Unset icmpCode in the currently-active mutator.
Definition L24Classifier.hpp:365
static void unregisterListener(opflex::modb::ObjectListener *listener)
Unregister a listener from updates to this class from the default framework instance.
Definition L24Classifier.hpp:1055
modelgbp::gbpe::L24Classifier & unsetName()
Unset name in the currently-active mutator.
Definition L24Classifier.hpp:477
modelgbp::gbpe::L24Classifier & setName(const std::string &newValue)
Set name to the specified value in the currently-active mutator.
Definition L24Classifier.hpp:465
boost::optional< uint16_t > getEtherT()
Get the value of etherT if it has been set.
Definition L24Classifier.hpp:272
const uint8_t getIcmpCode(const uint8_t defaultValue)
Get the value of icmpCode if set, otherwise the value of default passed in.
Definition L24Classifier.hpp:340
const std::string & getName(const std::string &defaultValue)
Get the value of name if set, otherwise the value of default passed in.
Definition L24Classifier.hpp:452
static void remove(const opflex::modb::URI &uri)
Remove the L24Classifier object with the specified URI using the currently-active mutator and the def...
Definition L24Classifier.hpp:947
static boost::optional< OF_SHARED_PTR< modelgbp::gbpe::L24Classifier > > resolve(opflex::ofcore::OFFramework &framework, const std::string &policySpaceName, const std::string &gbpeL24ClassifierName)
Retrieve an instance of L24Classifier from the managed object store by constructing its URI from the ...
Definition L24Classifier.hpp:816
OF_SHARED_PTR< modelgbp::gbp::RuleFromClassifierRTgt > addGbpRuleFromClassifierRTgt(const std::string &gbpRuleFromClassifierRTgtSource)
Create a new child object with the specified naming properties and make it a child of this object in ...
Definition L24Classifier.hpp:877
static const opflex::modb::class_id_t CLASS_ID
The unique class ID for L24Classifier.
Definition L24Classifier.hpp:33
static boost::optional< OF_SHARED_PTR< modelgbp::gbpe::L24Classifier > > resolve(const opflex::modb::URI &uri)
Retrieve an instance of L24Classifier from the managed object store using the default framework insta...
Definition L24Classifier.hpp:792
modelgbp::gbpe::L24Classifier & setDToPort(uint16_t newValue)
Set dToPort to the specified value in the currently-active mutator.
Definition L24Classifier.hpp:241
modelgbp::gbpe::L24Classifier & setConnectionTracking(const uint8_t newValue)
Set connectionTracking to the specified value in the currently-active mutator.
Definition L24Classifier.hpp:129
bool isSFromPortSet()
Check whether sFromPort has been set.
Definition L24Classifier.hpp:599
modelgbp::gbpe::L24Classifier & setOrder(uint32_t newValue)
Set order to the specified value in the currently-active mutator.
Definition L24Classifier.hpp:521
const uint8_t getArpOpc(const uint8_t defaultValue)
Get the value of arpOpc if set, otherwise the value of default passed in.
Definition L24Classifier.hpp:60
const uint8_t getProt(const uint8_t defaultValue)
Get the value of prot if set, otherwise the value of default passed in.
Definition L24Classifier.hpp:564
boost::optional< const uint8_t > getProt()
Get the value of prot if it has been set.
Definition L24Classifier.hpp:552
uint16_t getEtherT(uint16_t defaultValue)
Get the value of etherT if set, otherwise the value of default passed in.
Definition L24Classifier.hpp:284
boost::optional< const std::string & > getName()
Get the value of name if it has been set.
Definition L24Classifier.hpp:440
boost::optional< uint16_t > getSFromPort()
Get the value of sFromPort if it has been set.
Definition L24Classifier.hpp:608
bool isNameSet()
Check whether name has been set.
Definition L24Classifier.hpp:431
modelgbp::gbpe::L24Classifier & setTcpFlags(uint32_t newValue)
Set tcpFlags to the specified value in the currently-active mutator.
Definition L24Classifier.hpp:745
boost::optional< const uint8_t > getConnectionTracking()
Get the value of connectionTracking if it has been set.
Definition L24Classifier.hpp:104
void remove()
Remove this instance using the currently-active mutator.
Definition L24Classifier.hpp:916
modelgbp::gbpe::L24Classifier & unsetSFromPort()
Unset sFromPort in the currently-active mutator.
Definition L24Classifier.hpp:645
static void remove(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri)
Remove the L24Classifier object with the specified URI using the currently-active mutator.
Definition L24Classifier.hpp:931
modelgbp::gbpe::L24Classifier & setEtherT(uint16_t newValue)
Set etherT to the specified value in the currently-active mutator.
Definition L24Classifier.hpp:297
bool isDFromPortSet()
Check whether dFromPort has been set.
Definition L24Classifier.hpp:151
modelgbp::gbpe::L24Classifier & unsetConnectionTracking()
Unset connectionTracking in the currently-active mutator.
Definition L24Classifier.hpp:141
modelgbp::gbpe::L24Classifier & setArpOpc(const uint8_t newValue)
Set arpOpc to the specified value in the currently-active mutator.
Definition L24Classifier.hpp:73
static void remove(const std::string &policySpaceName, const std::string &gbpeL24ClassifierName)
Remove the L24Classifier object with the specified path elements from the managed object store using ...
Definition L24Classifier.hpp:992
boost::optional< uint16_t > getDToPort()
Get the value of dToPort if it has been set.
Definition L24Classifier.hpp:216
modelgbp::gbpe::L24Classifier & unsetProt()
Unset prot in the currently-active mutator.
Definition L24Classifier.hpp:589
bool isOrderSet()
Check whether order has been set.
Definition L24Classifier.hpp:487
boost::optional< uint32_t > getOrder()
Get the value of order if it has been set.
Definition L24Classifier.hpp:496
modelgbp::gbpe::L24Classifier & unsetDToPort()
Unset dToPort in the currently-active mutator.
Definition L24Classifier.hpp:253
bool isProtSet()
Check whether prot has been set.
Definition L24Classifier.hpp:543
modelgbp::gbpe::L24Classifier & unsetSToPort()
Unset sToPort in the currently-active mutator.
Definition L24Classifier.hpp:701
boost::optional< OF_SHARED_PTR< modelgbp::gbp::RuleFromClassifierRTgt > > resolveGbpRuleFromClassifierRTgt(const std::string &gbpRuleFromClassifierRTgtSource)
Retrieve the child object with the specified naming properties.
Definition L24Classifier.hpp:859
uint16_t getSFromPort(uint16_t defaultValue)
Get the value of sFromPort if set, otherwise the value of default passed in.
Definition L24Classifier.hpp:620
static void remove(opflex::ofcore::OFFramework &framework, const std::string &policySpaceName, const std::string &gbpeL24ClassifierName)
Remove the L24Classifier object with the specified path elements from the managed object store.
Definition L24Classifier.hpp:968
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 L24Classifier.hpp:1029
boost::optional< uint16_t > getDFromPort()
Get the value of dFromPort if it has been set.
Definition L24Classifier.hpp:160
static boost::optional< OF_SHARED_PTR< modelgbp::gbpe::L24Classifier > > resolve(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri)
Retrieve an instance of L24Classifier from the managed object store.
Definition L24Classifier.hpp:774
modelgbp::gbpe::L24Classifier & setIcmpType(const uint8_t newValue)
Set icmpType to the specified value in the currently-active mutator.
Definition L24Classifier.hpp:409
uint32_t getOrder(uint32_t defaultValue)
Get the value of order if set, otherwise the value of default passed in.
Definition L24Classifier.hpp:508
const uint8_t getConnectionTracking(const uint8_t defaultValue)
Get the value of connectionTracking if set, otherwise the value of default passed in.
Definition L24Classifier.hpp:116
uint16_t getDToPort(uint16_t defaultValue)
Get the value of dToPort if set, otherwise the value of default passed in.
Definition L24Classifier.hpp:228
modelgbp::gbpe::L24Classifier & setProt(const uint8_t newValue)
Set prot to the specified value in the currently-active mutator.
Definition L24Classifier.hpp:577
bool isDToPortSet()
Check whether dToPort has been set.
Definition L24Classifier.hpp:207
SOME COPYRIGHT.
Definition OpcodeEnumT.hpp:12