modelgbp Generated OpFlex Model  1.3.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 
22 namespace modelgbp {
23 namespace gbpe {
24 
26  : public opflex::modb::mointernal::MO
27 {
28 public:
29 
33  static const opflex::modb::class_id_t CLASS_ID = 31;
34 
39  bool isArpOpcSet()
40  {
41  return getObjectInstance().isSet(1015812ul, opflex::modb::PropertyInfo::ENUM8);
42  }
43 
48  boost::optional<const uint8_t> getArpOpc()
49  {
50  if (isArpOpcSet())
51  return (const uint8_t)getObjectInstance().getUInt64(1015812ul);
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 
73  modelgbp::gbpe::L24Classifier& setArpOpc(const uint8_t newValue)
74  {
75  getTLMutator().modify(getClassId(), getURI())->setUInt64(1015812ul, newValue);
76  return *this;
77  }
78 
86  {
87  getTLMutator().modify(getClassId(), getURI())->unset(1015812ul, opflex::modb::PropertyInfo::ENUM8, opflex::modb::PropertyInfo::SCALAR);
88  return *this;
89  }
90 
96  {
97  return getObjectInstance().isSet(1015811ul, opflex::modb::PropertyInfo::ENUM8);
98  }
99 
104  boost::optional<const uint8_t> getConnectionTracking()
105  {
107  return (const uint8_t)getObjectInstance().getUInt64(1015811ul);
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(1015811ul, newValue);
132  return *this;
133  }
134 
142  {
143  getTLMutator().modify(getClassId(), getURI())->unset(1015811ul, opflex::modb::PropertyInfo::ENUM8, opflex::modb::PropertyInfo::SCALAR);
144  return *this;
145  }
146 
152  {
153  return getObjectInstance().isSet(1015817ul, opflex::modb::PropertyInfo::U64);
154  }
155 
160  boost::optional<uint16_t> getDFromPort()
161  {
162  if (isDFromPortSet())
163  return (uint16_t)getObjectInstance().getUInt64(1015817ul);
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(1015817ul, newValue);
188  return *this;
189  }
190 
198  {
199  getTLMutator().modify(getClassId(), getURI())->unset(1015817ul, opflex::modb::PropertyInfo::U64, opflex::modb::PropertyInfo::SCALAR);
200  return *this;
201  }
202 
208  {
209  return getObjectInstance().isSet(1015818ul, opflex::modb::PropertyInfo::U64);
210  }
211 
216  boost::optional<uint16_t> getDToPort()
217  {
218  if (isDToPortSet())
219  return (uint16_t)getObjectInstance().getUInt64(1015818ul);
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(1015818ul, newValue);
244  return *this;
245  }
246 
254  {
255  getTLMutator().modify(getClassId(), getURI())->unset(1015818ul, opflex::modb::PropertyInfo::U64, opflex::modb::PropertyInfo::SCALAR);
256  return *this;
257  }
258 
263  bool isEtherTSet()
264  {
265  return getObjectInstance().isSet(1015813ul, opflex::modb::PropertyInfo::ENUM16);
266  }
267 
272  boost::optional<uint16_t> getEtherT()
273  {
274  if (isEtherTSet())
275  return (uint16_t)getObjectInstance().getUInt64(1015813ul);
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(1015813ul, newValue);
300  return *this;
301  }
302 
310  {
311  getTLMutator().modify(getClassId(), getURI())->unset(1015813ul, opflex::modb::PropertyInfo::ENUM16, opflex::modb::PropertyInfo::SCALAR);
312  return *this;
313  }
314 
319  bool isNameSet()
320  {
321  return getObjectInstance().isSet(1015809ul, opflex::modb::PropertyInfo::STRING);
322  }
323 
328  boost::optional<const std::string&> getName()
329  {
330  if (isNameSet())
331  return getObjectInstance().getString(1015809ul);
332  return boost::none;
333  }
334 
340  const std::string& getName(const std::string& defaultValue)
341  {
342  return getName().get_value_or(defaultValue);
343  }
344 
353  modelgbp::gbpe::L24Classifier& setName(const std::string& newValue)
354  {
355  getTLMutator().modify(getClassId(), getURI())->setString(1015809ul, newValue);
356  return *this;
357  }
358 
366  {
367  getTLMutator().modify(getClassId(), getURI())->unset(1015809ul, opflex::modb::PropertyInfo::STRING, opflex::modb::PropertyInfo::SCALAR);
368  return *this;
369  }
370 
375  bool isOrderSet()
376  {
377  return getObjectInstance().isSet(1015810ul, opflex::modb::PropertyInfo::U64);
378  }
379 
384  boost::optional<uint32_t> getOrder()
385  {
386  if (isOrderSet())
387  return (uint32_t)getObjectInstance().getUInt64(1015810ul);
388  return boost::none;
389  }
390 
396  uint32_t getOrder(uint32_t defaultValue)
397  {
398  return getOrder().get_value_or(defaultValue);
399  }
400 
410  {
411  getTLMutator().modify(getClassId(), getURI())->setUInt64(1015810ul, newValue);
412  return *this;
413  }
414 
422  {
423  getTLMutator().modify(getClassId(), getURI())->unset(1015810ul, opflex::modb::PropertyInfo::U64, opflex::modb::PropertyInfo::SCALAR);
424  return *this;
425  }
426 
431  bool isProtSet()
432  {
433  return getObjectInstance().isSet(1015814ul, opflex::modb::PropertyInfo::U64);
434  }
435 
440  boost::optional<const uint8_t> getProt()
441  {
442  if (isProtSet())
443  return (const uint8_t)getObjectInstance().getUInt64(1015814ul);
444  return boost::none;
445  }
446 
452  const uint8_t getProt(const uint8_t defaultValue)
453  {
454  return getProt().get_value_or(defaultValue);
455  }
456 
465  modelgbp::gbpe::L24Classifier& setProt(const uint8_t newValue)
466  {
467  getTLMutator().modify(getClassId(), getURI())->setUInt64(1015814ul, newValue);
468  return *this;
469  }
470 
478  {
479  getTLMutator().modify(getClassId(), getURI())->unset(1015814ul, opflex::modb::PropertyInfo::U64, opflex::modb::PropertyInfo::SCALAR);
480  return *this;
481  }
482 
488  {
489  return getObjectInstance().isSet(1015815ul, opflex::modb::PropertyInfo::U64);
490  }
491 
496  boost::optional<uint16_t> getSFromPort()
497  {
498  if (isSFromPortSet())
499  return (uint16_t)getObjectInstance().getUInt64(1015815ul);
500  return boost::none;
501  }
502 
508  uint16_t getSFromPort(uint16_t defaultValue)
509  {
510  return getSFromPort().get_value_or(defaultValue);
511  }
512 
522  {
523  getTLMutator().modify(getClassId(), getURI())->setUInt64(1015815ul, newValue);
524  return *this;
525  }
526 
534  {
535  getTLMutator().modify(getClassId(), getURI())->unset(1015815ul, opflex::modb::PropertyInfo::U64, opflex::modb::PropertyInfo::SCALAR);
536  return *this;
537  }
538 
544  {
545  return getObjectInstance().isSet(1015816ul, opflex::modb::PropertyInfo::U64);
546  }
547 
552  boost::optional<uint16_t> getSToPort()
553  {
554  if (isSToPortSet())
555  return (uint16_t)getObjectInstance().getUInt64(1015816ul);
556  return boost::none;
557  }
558 
564  uint16_t getSToPort(uint16_t defaultValue)
565  {
566  return getSToPort().get_value_or(defaultValue);
567  }
568 
578  {
579  getTLMutator().modify(getClassId(), getURI())->setUInt64(1015816ul, newValue);
580  return *this;
581  }
582 
590  {
591  getTLMutator().modify(getClassId(), getURI())->unset(1015816ul, opflex::modb::PropertyInfo::U64, opflex::modb::PropertyInfo::SCALAR);
592  return *this;
593  }
594 
600  {
601  return getObjectInstance().isSet(1015819ul, opflex::modb::PropertyInfo::U64);
602  }
603 
608  boost::optional<uint32_t> getTcpFlags()
609  {
610  if (isTcpFlagsSet())
611  return (uint32_t)getObjectInstance().getUInt64(1015819ul);
612  return boost::none;
613  }
614 
620  uint32_t getTcpFlags(uint32_t defaultValue)
621  {
622  return getTcpFlags().get_value_or(defaultValue);
623  }
624 
634  {
635  getTLMutator().modify(getClassId(), getURI())->setUInt64(1015819ul, newValue);
636  return *this;
637  }
638 
646  {
647  getTLMutator().modify(getClassId(), getURI())->unset(1015819ul, opflex::modb::PropertyInfo::U64, opflex::modb::PropertyInfo::SCALAR);
648  return *this;
649  }
650 
662  static boost::optional<boost::shared_ptr<modelgbp::gbpe::L24Classifier> > resolve(
663  opflex::ofcore::OFFramework& framework,
664  const opflex::modb::URI& uri)
665  {
666  return opflex::modb::mointernal::MO::resolve<modelgbp::gbpe::L24Classifier>(framework, CLASS_ID, uri);
667  }
668 
680  static boost::optional<boost::shared_ptr<modelgbp::gbpe::L24Classifier> > resolve(
681  const opflex::modb::URI& uri)
682  {
683  return opflex::modb::mointernal::MO::resolve<modelgbp::gbpe::L24Classifier>(opflex::ofcore::OFFramework::defaultInstance(), CLASS_ID, uri);
684  }
685 
704  static boost::optional<boost::shared_ptr<modelgbp::gbpe::L24Classifier> > resolve(
705  opflex::ofcore::OFFramework& framework,
706  const std::string& policySpaceName,
707  const std::string& gbpeL24ClassifierName)
708  {
709  return resolve(framework,opflex::modb::URIBuilder().addElement("PolicyUniverse").addElement("PolicySpace").addElement(policySpaceName).addElement("GbpeL24Classifier").addElement(gbpeL24ClassifierName).build());
710  }
711 
729  static boost::optional<boost::shared_ptr<modelgbp::gbpe::L24Classifier> > resolve(
730  const std::string& policySpaceName,
731  const std::string& gbpeL24ClassifierName)
732  {
733  return resolve(opflex::ofcore::OFFramework::defaultInstance(),policySpaceName,gbpeL24ClassifierName);
734  }
735 
747  boost::optional<boost::shared_ptr<modelgbp::gbp::RuleFromClassifierRTgt> > resolveGbpRuleFromClassifierRTgt(
748  const std::string& gbpRuleFromClassifierRTgtSource)
749  {
750  return modelgbp::gbp::RuleFromClassifierRTgt::resolve(getFramework(), opflex::modb::URIBuilder(getURI()).addElement("GbpRuleFromClassifierRTgt").addElement(gbpRuleFromClassifierRTgtSource).build());
751  }
752 
765  boost::shared_ptr<modelgbp::gbp::RuleFromClassifierRTgt> addGbpRuleFromClassifierRTgt(
766  const std::string& gbpRuleFromClassifierRTgtSource)
767  {
768  boost::shared_ptr<modelgbp::gbp::RuleFromClassifierRTgt> result = addChild<modelgbp::gbp::RuleFromClassifierRTgt>(
769  CLASS_ID, getURI(), 2148499562ul, 106,
770  opflex::modb::URIBuilder(getURI()).addElement("GbpRuleFromClassifierRTgt").addElement(gbpRuleFromClassifierRTgtSource).build()
771  );
772  result->setSource(gbpRuleFromClassifierRTgtSource);
773  return result;
774  }
775 
790  void resolveGbpRuleFromClassifierRTgt(/* out */ std::vector<boost::shared_ptr<modelgbp::gbp::RuleFromClassifierRTgt> >& out)
791  {
792  opflex::modb::mointernal::MO::resolveChildren<modelgbp::gbp::RuleFromClassifierRTgt>(
793  getFramework(), CLASS_ID, getURI(), 2148499562ul, 106, out);
794  }
795 
804  void remove()
805  {
806  getTLMutator().remove(CLASS_ID, getURI());
807  }
808 
819  static void remove(opflex::ofcore::OFFramework& framework,
820  const opflex::modb::URI& uri)
821  {
822  MO::remove(framework, CLASS_ID, uri);
823  }
824 
835  static void remove(const opflex::modb::URI& uri)
836  {
837  remove(opflex::ofcore::OFFramework::defaultInstance(), uri);
838  }
839 
856  static void remove(
857  opflex::ofcore::OFFramework& framework,
858  const std::string& policySpaceName,
859  const std::string& gbpeL24ClassifierName)
860  {
861  MO::remove(framework, CLASS_ID, opflex::modb::URIBuilder().addElement("PolicyUniverse").addElement("PolicySpace").addElement(policySpaceName).addElement("GbpeL24Classifier").addElement(gbpeL24ClassifierName).build());
862  }
863 
880  static void remove(
881  const std::string& policySpaceName,
882  const std::string& gbpeL24ClassifierName)
883  {
884  remove(opflex::ofcore::OFFramework::defaultInstance(),policySpaceName,gbpeL24ClassifierName);
885  }
886 
898  static void registerListener(
899  opflex::ofcore::OFFramework& framework,
900  opflex::modb::ObjectListener* listener)
901  {
902  opflex::modb::mointernal
903  ::MO::registerListener(framework, listener, CLASS_ID);
904  }
905 
917  static void registerListener(
918  opflex::modb::ObjectListener* listener)
919  {
920  registerListener(opflex::ofcore::OFFramework::defaultInstance(), listener);
921  }
922 
929  static void unregisterListener(
930  opflex::ofcore::OFFramework& framework,
931  opflex::modb::ObjectListener* listener)
932  {
933  opflex::modb::mointernal
934  ::MO::unregisterListener(framework, listener, CLASS_ID);
935  }
936 
943  static void unregisterListener(
944  opflex::modb::ObjectListener* listener)
945  {
946  unregisterListener(opflex::ofcore::OFFramework::defaultInstance(), listener);
947  }
948 
954  opflex::ofcore::OFFramework& framework,
955  const opflex::modb::URI& uri,
956  const boost::shared_ptr<const opflex::modb::mointernal::ObjectInstance>& oi)
957  : MO(framework, CLASS_ID, uri, oi) { }
958 }; // class L24Classifier
959 
960 } // namespace gbpe
961 } // namespace modelgbp
962 #endif // GI_GBPE_L24CLASSIFIER_HPP
modelgbp::gbpe::L24Classifier & unsetOrder()
Unset order in the currently-active mutator.
Definition: L24Classifier.hpp:421
boost::optional< const uint8_t > getConnectionTracking()
Get the value of connectionTracking if it has been set.
Definition: L24Classifier.hpp:104
modelgbp::gbpe::L24Classifier & unsetDToPort()
Unset dToPort in the currently-active mutator.
Definition: L24Classifier.hpp:253
bool isArpOpcSet()
Check whether arpOpc has been set.
Definition: L24Classifier.hpp:39
modelgbp::gbpe::L24Classifier & unsetSFromPort()
Unset sFromPort in the currently-active mutator.
Definition: L24Classifier.hpp:533
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:452
boost::optional< uint32_t > getTcpFlags()
Get the value of tcpFlags if it has been set.
Definition: L24Classifier.hpp:608
static boost::optional< boost::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:680
boost::optional< uint16_t > getDToPort()
Get the value of dToPort if it has been set.
Definition: L24Classifier.hpp:216
modelgbp::gbpe::L24Classifier & setName(const std::string &newValue)
Set name to the specified value in the currently-active mutator.
Definition: L24Classifier.hpp:353
bool isSFromPortSet()
Check whether sFromPort 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:384
bool isOrderSet()
Check whether order has been set.
Definition: L24Classifier.hpp:375
modelgbp::gbpe::L24Classifier & setDFromPort(uint16_t newValue)
Set dFromPort to the specified value in the currently-active mutator.
Definition: L24Classifier.hpp:185
modelgbp::gbpe::L24Classifier & setOrder(uint32_t newValue)
Set order to the specified value in the currently-active mutator.
Definition: L24Classifier.hpp:409
modelgbp::gbpe::L24Classifier & unsetName()
Unset name in the currently-active mutator.
Definition: L24Classifier.hpp:365
boost::optional< uint16_t > getSToPort()
Get the value of sToPort if it has been set.
Definition: L24Classifier.hpp:552
modelgbp::gbpe::L24Classifier & setArpOpc(const uint8_t newValue)
Set arpOpc to the specified value in the currently-active mutator.
Definition: L24Classifier.hpp:73
modelgbp::gbpe::L24Classifier & setSFromPort(uint16_t newValue)
Set sFromPort to the specified value in the currently-active mutator.
Definition: L24Classifier.hpp:521
Definition: L24Classifier.hpp:25
boost::optional< const std::string & > getName()
Get the value of name if it has been set.
Definition: L24Classifier.hpp:328
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
bool isDToPortSet()
Check whether dToPort has been set.
Definition: L24Classifier.hpp:207
modelgbp::gbpe::L24Classifier & unsetTcpFlags()
Unset tcpFlags in the currently-active mutator.
Definition: L24Classifier.hpp:645
modelgbp::gbpe::L24Classifier & setConnectionTracking(const uint8_t newValue)
Set connectionTracking to the specified value in the currently-active mutator.
Definition: L24Classifier.hpp:129
bool isTcpFlagsSet()
Check whether tcpFlags has been set.
Definition: L24Classifier.hpp:599
static void unregisterListener(opflex::modb::ObjectListener *listener)
Unregister a listener from updates to this class from the default framework instance.
Definition: L24Classifier.hpp:943
static boost::optional< boost::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:729
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
modelgbp::gbpe::L24Classifier & setDToPort(uint16_t newValue)
Set dToPort to the specified value in the currently-active mutator.
Definition: L24Classifier.hpp:241
uint16_t getDToPort(uint16_t defaultValue)
Get the value of dToPort if set, otherwise the value of default passed in.
Definition: L24Classifier.hpp:228
static boost::optional< boost::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:662
static const opflex::modb::class_id_t CLASS_ID
The unique class ID for L24Classifier.
Definition: L24Classifier.hpp:33
boost::optional< const uint8_t > getProt()
Get the value of prot 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:496
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:898
boost::optional< uint16_t > getEtherT()
Get the value of etherT if it has been set.
Definition: L24Classifier.hpp:272
modelgbp::gbpe::L24Classifier & unsetDFromPort()
Unset dFromPort in the currently-active mutator.
Definition: L24Classifier.hpp:197
bool isDFromPortSet()
Check whether dFromPort has been set.
Definition: L24Classifier.hpp:151
modelgbp::gbpe::L24Classifier & unsetSToPort()
Unset sToPort in the currently-active mutator.
Definition: L24Classifier.hpp:589
modelgbp::gbpe::L24Classifier & setTcpFlags(uint32_t newValue)
Set tcpFlags to the specified value in the currently-active mutator.
Definition: L24Classifier.hpp:633
boost::optional< uint16_t > getDFromPort()
Get the value of dFromPort if it has been set.
Definition: L24Classifier.hpp:160
modelgbp::gbpe::L24Classifier & unsetArpOpc()
Unset arpOpc in the currently-active mutator.
Definition: L24Classifier.hpp:85
static boost::optional< boost::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
modelgbp::gbpe::L24Classifier & unsetProt()
Unset prot in the currently-active mutator.
Definition: L24Classifier.hpp:477
L24Classifier(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri, const boost::shared_ptr< const opflex::modb::mointernal::ObjectInstance > &oi)
Construct an instance of L24Classifier.
Definition: L24Classifier.hpp:953
uint16_t getSFromPort(uint16_t defaultValue)
Get the value of sFromPort if set, otherwise the value of default passed in.
Definition: L24Classifier.hpp:508
modelgbp::gbpe::L24Classifier & setProt(const uint8_t newValue)
Set prot to the specified value in the currently-active mutator.
Definition: L24Classifier.hpp:465
uint32_t getOrder(uint32_t defaultValue)
Get the value of order if set, otherwise the value of default passed in.
Definition: L24Classifier.hpp:396
boost::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:765
static boost::optional< boost::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:704
uint32_t getTcpFlags(uint32_t defaultValue)
Get the value of tcpFlags if set, otherwise the value of default passed in.
Definition: L24Classifier.hpp:620
static void unregisterListener(opflex::ofcore::OFFramework &framework, opflex::modb::ObjectListener *listener)
Unregister a listener from updates to this class.
Definition: L24Classifier.hpp:929
uint16_t getSToPort(uint16_t defaultValue)
Get the value of sToPort if set, otherwise the value of default passed in.
Definition: L24Classifier.hpp:564
void resolveGbpRuleFromClassifierRTgt(std::vector< boost::shared_ptr< modelgbp::gbp::RuleFromClassifierRTgt > > &out)
Resolve and retrieve all of the immediate children of type modelgbp::gbp::RuleFromClassifierRTgt.
Definition: L24Classifier.hpp:790
modelgbp::gbpe::L24Classifier & setEtherT(uint16_t newValue)
Set etherT to the specified value in the currently-active mutator.
Definition: L24Classifier.hpp:297
boost::optional< boost::shared_ptr< modelgbp::gbp::RuleFromClassifierRTgt > > resolveGbpRuleFromClassifierRTgt(const std::string &gbpRuleFromClassifierRTgtSource)
Retrieve the child object with the specified naming properties.
Definition: L24Classifier.hpp:747
bool isConnectionTrackingSet()
Check whether connectionTracking has been set.
Definition: L24Classifier.hpp:95
modelgbp::gbpe::L24Classifier & unsetConnectionTracking()
Unset connectionTracking in the currently-active mutator.
Definition: L24Classifier.hpp:141
uint16_t getDFromPort(uint16_t defaultValue)
Get the value of dFromPort if set, otherwise the value of default passed in.
Definition: L24Classifier.hpp:172
bool isEtherTSet()
Check whether etherT has been set.
Definition: L24Classifier.hpp:263
modelgbp::gbpe::L24Classifier & setSToPort(uint16_t newValue)
Set sToPort to the specified value in the currently-active mutator.
Definition: L24Classifier.hpp:577
bool isProtSet()
Check whether prot has been set.
Definition: L24Classifier.hpp:431
boost::optional< const uint8_t > getArpOpc()
Get the value of arpOpc if it has been set.
Definition: L24Classifier.hpp:48
bool isSToPortSet()
Check whether sToPort has been set.
Definition: L24Classifier.hpp:543
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:917
bool isNameSet()
Check whether name has been set.
Definition: L24Classifier.hpp:319
modelgbp::gbpe::L24Classifier & unsetEtherT()
Unset etherT in the currently-active mutator.
Definition: L24Classifier.hpp:309
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:340
uint16_t getEtherT(uint16_t defaultValue)
Get the value of etherT if set, otherwise the value of default passed in.
Definition: L24Classifier.hpp:284