modelgbp Generated OpFlex Model
1.3.0
|
Public Member Functions | |
bool | isArpOpcSet () |
Check whether arpOpc has been set. More... | |
boost::optional< const uint8_t > | getArpOpc () |
Get the value of arpOpc if it has been set. More... | |
const uint8_t | getArpOpc (const uint8_t defaultValue) |
Get the value of arpOpc if set, otherwise the value of default passed in. More... | |
modelgbp::gbpe::L24Classifier & | setArpOpc (const uint8_t newValue) |
Set arpOpc to the specified value in the currently-active mutator. More... | |
modelgbp::gbpe::L24Classifier & | unsetArpOpc () |
Unset arpOpc in the currently-active mutator. More... | |
bool | isConnectionTrackingSet () |
Check whether connectionTracking has been set. More... | |
boost::optional< const uint8_t > | getConnectionTracking () |
Get the value of connectionTracking if it has been set. More... | |
const uint8_t | getConnectionTracking (const uint8_t defaultValue) |
Get the value of connectionTracking if set, otherwise the value of default passed in. More... | |
modelgbp::gbpe::L24Classifier & | setConnectionTracking (const uint8_t newValue) |
Set connectionTracking to the specified value in the currently-active mutator. More... | |
modelgbp::gbpe::L24Classifier & | unsetConnectionTracking () |
Unset connectionTracking in the currently-active mutator. More... | |
bool | isDFromPortSet () |
Check whether dFromPort has been set. More... | |
boost::optional< uint16_t > | getDFromPort () |
Get the value of dFromPort if it has been set. More... | |
uint16_t | getDFromPort (uint16_t defaultValue) |
Get the value of dFromPort if set, otherwise the value of default passed in. More... | |
modelgbp::gbpe::L24Classifier & | setDFromPort (uint16_t newValue) |
Set dFromPort to the specified value in the currently-active mutator. More... | |
modelgbp::gbpe::L24Classifier & | unsetDFromPort () |
Unset dFromPort in the currently-active mutator. More... | |
bool | isDToPortSet () |
Check whether dToPort has been set. More... | |
boost::optional< uint16_t > | getDToPort () |
Get the value of dToPort if it has been set. More... | |
uint16_t | getDToPort (uint16_t defaultValue) |
Get the value of dToPort if set, otherwise the value of default passed in. More... | |
modelgbp::gbpe::L24Classifier & | setDToPort (uint16_t newValue) |
Set dToPort to the specified value in the currently-active mutator. More... | |
modelgbp::gbpe::L24Classifier & | unsetDToPort () |
Unset dToPort in the currently-active mutator. More... | |
bool | isEtherTSet () |
Check whether etherT has been set. More... | |
boost::optional< uint16_t > | getEtherT () |
Get the value of etherT if it has been set. More... | |
uint16_t | getEtherT (uint16_t defaultValue) |
Get the value of etherT if set, otherwise the value of default passed in. More... | |
modelgbp::gbpe::L24Classifier & | setEtherT (uint16_t newValue) |
Set etherT to the specified value in the currently-active mutator. More... | |
modelgbp::gbpe::L24Classifier & | unsetEtherT () |
Unset etherT in the currently-active mutator. More... | |
bool | isNameSet () |
Check whether name has been set. More... | |
boost::optional< const std::string & > | getName () |
Get the value of name if it has been set. More... | |
const std::string & | getName (const std::string &defaultValue) |
Get the value of name if set, otherwise the value of default passed in. More... | |
modelgbp::gbpe::L24Classifier & | setName (const std::string &newValue) |
Set name to the specified value in the currently-active mutator. More... | |
modelgbp::gbpe::L24Classifier & | unsetName () |
Unset name in the currently-active mutator. More... | |
bool | isOrderSet () |
Check whether order has been set. More... | |
boost::optional< uint32_t > | getOrder () |
Get the value of order if it has been set. More... | |
uint32_t | getOrder (uint32_t defaultValue) |
Get the value of order if set, otherwise the value of default passed in. More... | |
modelgbp::gbpe::L24Classifier & | setOrder (uint32_t newValue) |
Set order to the specified value in the currently-active mutator. More... | |
modelgbp::gbpe::L24Classifier & | unsetOrder () |
Unset order in the currently-active mutator. More... | |
bool | isProtSet () |
Check whether prot has been set. More... | |
boost::optional< const uint8_t > | getProt () |
Get the value of prot if it has been set. More... | |
const uint8_t | getProt (const uint8_t defaultValue) |
Get the value of prot if set, otherwise the value of default passed in. More... | |
modelgbp::gbpe::L24Classifier & | setProt (const uint8_t newValue) |
Set prot to the specified value in the currently-active mutator. More... | |
modelgbp::gbpe::L24Classifier & | unsetProt () |
Unset prot in the currently-active mutator. More... | |
bool | isSFromPortSet () |
Check whether sFromPort has been set. More... | |
boost::optional< uint16_t > | getSFromPort () |
Get the value of sFromPort if it has been set. More... | |
uint16_t | getSFromPort (uint16_t defaultValue) |
Get the value of sFromPort if set, otherwise the value of default passed in. More... | |
modelgbp::gbpe::L24Classifier & | setSFromPort (uint16_t newValue) |
Set sFromPort to the specified value in the currently-active mutator. More... | |
modelgbp::gbpe::L24Classifier & | unsetSFromPort () |
Unset sFromPort in the currently-active mutator. More... | |
bool | isSToPortSet () |
Check whether sToPort has been set. More... | |
boost::optional< uint16_t > | getSToPort () |
Get the value of sToPort if it has been set. More... | |
uint16_t | getSToPort (uint16_t defaultValue) |
Get the value of sToPort if set, otherwise the value of default passed in. More... | |
modelgbp::gbpe::L24Classifier & | setSToPort (uint16_t newValue) |
Set sToPort to the specified value in the currently-active mutator. More... | |
modelgbp::gbpe::L24Classifier & | unsetSToPort () |
Unset sToPort in the currently-active mutator. More... | |
bool | isTcpFlagsSet () |
Check whether tcpFlags has been set. More... | |
boost::optional< uint32_t > | getTcpFlags () |
Get the value of tcpFlags if it has been set. More... | |
uint32_t | getTcpFlags (uint32_t defaultValue) |
Get the value of tcpFlags if set, otherwise the value of default passed in. More... | |
modelgbp::gbpe::L24Classifier & | setTcpFlags (uint32_t newValue) |
Set tcpFlags to the specified value in the currently-active mutator. More... | |
modelgbp::gbpe::L24Classifier & | unsetTcpFlags () |
Unset tcpFlags in the currently-active mutator. More... | |
boost::optional < boost::shared_ptr < modelgbp::gbp::RuleFromClassifierRTgt > > | resolveGbpRuleFromClassifierRTgt (const std::string &gbpRuleFromClassifierRTgtSource) |
Retrieve the child object with the specified naming properties. More... | |
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 the currently-active mutator. More... | |
void | resolveGbpRuleFromClassifierRTgt (std::vector< boost::shared_ptr< modelgbp::gbp::RuleFromClassifierRTgt > > &out) |
Resolve and retrieve all of the immediate children of type modelgbp::gbp::RuleFromClassifierRTgt. More... | |
void | remove () |
Remove this instance using the currently-active mutator. More... | |
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. More... | |
Static Public Member Functions | |
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. More... | |
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 instance. More... | |
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 path elements that lead to it. More... | |
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 from the path elements that lead to it. More... | |
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. More... | |
static void | remove (const opflex::modb::URI &uri) |
Remove the L24Classifier object with the specified URI using the currently-active mutator and the default framework instance. More... | |
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. More... | |
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 the default framework instance. More... | |
static void | registerListener (opflex::ofcore::OFFramework &framework, opflex::modb::ObjectListener *listener) |
Register a listener that will get called for changes related to this class. More... | |
static void | registerListener (opflex::modb::ObjectListener *listener) |
Register a listener that will get called for changes related to this class with the default framework instance. More... | |
static void | unregisterListener (opflex::ofcore::OFFramework &framework, opflex::modb::ObjectListener *listener) |
Unregister a listener from updates to this class. More... | |
static void | unregisterListener (opflex::modb::ObjectListener *listener) |
Unregister a listener from updates to this class from the default framework instance. More... | |
Static Public Attributes | |
static const opflex::modb::class_id_t | CLASS_ID = 31 |
The unique class ID for L24Classifier. | |
|
inline |
Construct an instance of L24Classifier.
This should not typically be called from user code.
|
inline |
Create a new child object with the specified naming properties and make it a child of this object in the currently-active mutator.
If the object already exists in the store, get a mutable copy of that object. If the object already exists in the mutator, get a reference to the object.
gbpRuleFromClassifierRTgtSource | the value of gbpRuleFromClassifierRTgtSource, a naming property for RuleFromClassifierRTgt |
std::logic_error | if no mutator is active |
References CLASS_ID.
|
inline |
Get the value of arpOpc if it has been set.
References isArpOpcSet().
Referenced by getArpOpc().
|
inline |
Get the value of arpOpc if set, otherwise the value of default passed in.
defaultValue | default value returned if the property is not set |
References getArpOpc().
|
inline |
Get the value of connectionTracking if it has been set.
References isConnectionTrackingSet().
Referenced by getConnectionTracking().
|
inline |
Get the value of connectionTracking if set, otherwise the value of default passed in.
defaultValue | default value returned if the property is not set |
References getConnectionTracking().
|
inline |
Get the value of dFromPort if it has been set.
References isDFromPortSet().
Referenced by getDFromPort().
|
inline |
Get the value of dFromPort if set, otherwise the value of default passed in.
defaultValue | default value returned if the property is not set |
References getDFromPort().
|
inline |
Get the value of dToPort if it has been set.
References isDToPortSet().
Referenced by getDToPort().
|
inline |
Get the value of dToPort if set, otherwise the value of default passed in.
defaultValue | default value returned if the property is not set |
References getDToPort().
|
inline |
Get the value of etherT if it has been set.
References isEtherTSet().
Referenced by getEtherT().
|
inline |
Get the value of etherT if set, otherwise the value of default passed in.
defaultValue | default value returned if the property is not set |
References getEtherT().
|
inline |
Get the value of name if it has been set.
References isNameSet().
Referenced by getName().
|
inline |
Get the value of name if set, otherwise the value of default passed in.
defaultValue | default value returned if the property is not set |
References getName().
|
inline |
Get the value of order if it has been set.
References isOrderSet().
Referenced by getOrder().
|
inline |
Get the value of order if set, otherwise the value of default passed in.
defaultValue | default value returned if the property is not set |
References getOrder().
|
inline |
Get the value of prot if it has been set.
References isProtSet().
Referenced by getProt().
|
inline |
Get the value of prot if set, otherwise the value of default passed in.
defaultValue | default value returned if the property is not set |
References getProt().
|
inline |
Get the value of sFromPort if it has been set.
References isSFromPortSet().
Referenced by getSFromPort().
|
inline |
Get the value of sFromPort if set, otherwise the value of default passed in.
defaultValue | default value returned if the property is not set |
References getSFromPort().
|
inline |
Get the value of sToPort if it has been set.
References isSToPortSet().
Referenced by getSToPort().
|
inline |
Get the value of sToPort if set, otherwise the value of default passed in.
defaultValue | default value returned if the property is not set |
References getSToPort().
|
inline |
Get the value of tcpFlags if it has been set.
References isTcpFlagsSet().
Referenced by getTcpFlags().
|
inline |
Get the value of tcpFlags if set, otherwise the value of default passed in.
defaultValue | default value returned if the property is not set |
References getTcpFlags().
|
inline |
|
inline |
Check whether connectionTracking has been set.
Referenced by getConnectionTracking().
|
inline |
Check whether dFromPort has been set.
Referenced by getDFromPort().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Check whether sFromPort has been set.
Referenced by getSFromPort().
|
inline |
|
inline |
Check whether tcpFlags has been set.
Referenced by getTcpFlags().
|
inlinestatic |
Register a listener that will get called for changes related to this class.
This listener will be called for any modifications of this class or any transitive children of this class.
framework | the framework instance |
listener | the listener functional object that should be called when changes occur related to the class. This memory is owned by the caller and should be freed only after it has been unregistered. |
References CLASS_ID.
Referenced by registerListener().
|
inlinestatic |
Register a listener that will get called for changes related to this class with the default framework instance.
This listener will be called for any modifications of this class or any transitive children of this class.
listener | the listener functional object that should be called when changes occur related to the class. This memory is owned by the caller and should be freed only after it has been unregistered. |
References registerListener().
|
inline |
Remove this instance using the currently-active mutator.
If the object does not exist, then this will be a no-op. If this object has any children, they will be garbage-collected at some future time.
std::logic_error | if no mutator is active |
References CLASS_ID.
|
inlinestatic |
Remove the L24Classifier object with the specified URI using the currently-active mutator.
If the object does not exist, then this will be a no-op. If this object has any children, they will be garbage-collected at some future time.
framework | the framework instance to use |
uri | the URI of the object to remove |
std::logic_error | if no mutator is active |
References CLASS_ID.
|
inlinestatic |
Remove the L24Classifier object with the specified URI using the currently-active mutator and the default framework instance.
If the object does not exist, then this will be a no-op. If this object has any children, they will be garbage-collected at some future time.
uri | the URI of the object to remove |
std::logic_error | if no mutator is active |
|
inlinestatic |
Remove the L24Classifier object with the specified path elements from the managed object store.
If the object does not exist, then this will be a no-op. If this object has any children, they will be garbage-collected at some future time.
The object URI generated by this function will take the form: /PolicyUniverse/PolicySpace/[policySpaceName]/GbpeL24Classifier/[gbpeL24ClassifierName]
framework | the framework instance to use |
policySpaceName | the value of policySpaceName, a naming property for Space |
gbpeL24ClassifierName | the value of gbpeL24ClassifierName, a naming property for L24Classifier |
std::logic_error | if no mutator is active |
References CLASS_ID.
|
inlinestatic |
Remove the L24Classifier object with the specified path elements from the managed object store using the default framework instance.
If the object does not exist, then this will be a no-op. If this object has any children, they will be garbage-collected at some future time.
The object URI generated by this function will take the form: /PolicyUniverse/PolicySpace/[policySpaceName]/GbpeL24Classifier/[gbpeL24ClassifierName]
policySpaceName | the value of policySpaceName, a naming property for Space |
gbpeL24ClassifierName | the value of gbpeL24ClassifierName, a naming property for L24Classifier |
std::logic_error | if no mutator is active |
|
inlinestatic |
Retrieve an instance of L24Classifier from the managed object store.
If the object does not exist in the local store, returns boost::none. Note that even though it may not exist locally, it may still exist remotely.
framework | the framework instance to use |
uri | the URI of the object to retrieve |
References CLASS_ID.
Referenced by resolve(), and modelgbp::policy::Space::resolveGbpeL24Classifier().
|
inlinestatic |
Retrieve an instance of L24Classifier from the managed object store using the default framework instance.
If the object does not exist in the local store, returns boost::none. Note that even though it may not exist locally, it may still exist remotely.
uri | the URI of the object to retrieve |
References CLASS_ID.
|
inlinestatic |
Retrieve an instance of L24Classifier from the managed object store by constructing its URI from the path elements that lead to it.
If the object does not exist in the local store, returns boost::none. Note that even though it may not exist locally, it may still exist remotely.
The object URI generated by this function will take the form: /PolicyUniverse/PolicySpace/[policySpaceName]/GbpeL24Classifier/[gbpeL24ClassifierName]
framework | the framework instance to use |
policySpaceName | the value of policySpaceName, a naming property for Space |
gbpeL24ClassifierName | the value of gbpeL24ClassifierName, a naming property for L24Classifier |
References resolve().
|
inlinestatic |
Retrieve an instance of L24Classifier from the default managed object store by constructing its URI from the path elements that lead to it.
If the object does not exist in the local store, returns boost::none. Note that even though it may not exist locally, it may still exist remotely.
The object URI generated by this function will take the form: /PolicyUniverse/PolicySpace/[policySpaceName]/GbpeL24Classifier/[gbpeL24ClassifierName]
policySpaceName | the value of policySpaceName, a naming property for Space |
gbpeL24ClassifierName | the value of gbpeL24ClassifierName, a naming property for L24Classifier |
References resolve().
|
inline |
Retrieve the child object with the specified naming properties.
If the object does not exist in the local store, returns boost::none. Note that even though it may not exist locally, it may still exist remotely.
gbpRuleFromClassifierRTgtSource | the value of gbpRuleFromClassifierRTgtSource, a naming property for RuleFromClassifierRTgt |
References modelgbp::gbp::RuleFromClassifierRTgt::resolve().
|
inline |
Resolve and retrieve all of the immediate children of type modelgbp::gbp::RuleFromClassifierRTgt.
Note that this retrieves only those children that exist in the local store. It is possible that there are other children that exist remotely.
The resulting managed objects will be added to the result vector provided.
out | a reference to a vector that will receive the child objects. |
References CLASS_ID.
|
inline |
Set arpOpc to the specified value in the currently-active mutator.
newValue | the new value to set. |
std::logic_error | if no mutator is active |
|
inline |
Set connectionTracking to the specified value in the currently-active mutator.
newValue | the new value to set. |
std::logic_error | if no mutator is active |
|
inline |
Set dFromPort to the specified value in the currently-active mutator.
newValue | the new value to set. |
std::logic_error | if no mutator is active |
|
inline |
Set dToPort to the specified value in the currently-active mutator.
newValue | the new value to set. |
std::logic_error | if no mutator is active |
|
inline |
Set etherT to the specified value in the currently-active mutator.
newValue | the new value to set. |
std::logic_error | if no mutator is active |
|
inline |
Set name to the specified value in the currently-active mutator.
newValue | the new value to set. |
std::logic_error | if no mutator is active |
|
inline |
Set order to the specified value in the currently-active mutator.
newValue | the new value to set. |
std::logic_error | if no mutator is active |
|
inline |
Set prot to the specified value in the currently-active mutator.
newValue | the new value to set. |
std::logic_error | if no mutator is active |
|
inline |
Set sFromPort to the specified value in the currently-active mutator.
newValue | the new value to set. |
std::logic_error | if no mutator is active |
|
inline |
Set sToPort to the specified value in the currently-active mutator.
newValue | the new value to set. |
std::logic_error | if no mutator is active |
|
inline |
Set tcpFlags to the specified value in the currently-active mutator.
newValue | the new value to set. |
std::logic_error | if no mutator is active |
|
inlinestatic |
Unregister a listener from updates to this class.
framework | the framework instance |
listener | The listener to unregister. |
References CLASS_ID.
Referenced by unregisterListener().
|
inlinestatic |
Unregister a listener from updates to this class from the default framework instance.
listener | The listener to unregister. |
References unregisterListener().
|
inline |
Unset arpOpc in the currently-active mutator.
std::logic_error | if no mutator is active |
|
inline |
Unset connectionTracking in the currently-active mutator.
std::logic_error | if no mutator is active |
|
inline |
Unset dFromPort in the currently-active mutator.
std::logic_error | if no mutator is active |
|
inline |
Unset dToPort in the currently-active mutator.
std::logic_error | if no mutator is active |
|
inline |
Unset etherT in the currently-active mutator.
std::logic_error | if no mutator is active |
|
inline |
Unset name in the currently-active mutator.
std::logic_error | if no mutator is active |
|
inline |
Unset order in the currently-active mutator.
std::logic_error | if no mutator is active |
|
inline |
Unset prot in the currently-active mutator.
std::logic_error | if no mutator is active |
|
inline |
Unset sFromPort in the currently-active mutator.
std::logic_error | if no mutator is active |
|
inline |
Unset sToPort in the currently-active mutator.
std::logic_error | if no mutator is active |
|
inline |
Unset tcpFlags in the currently-active mutator.
std::logic_error | if no mutator is active |