modelgbp Generated OpFlex Model  1.3.0
modelgbp::gbpe::L24Classifier Class Reference
Inheritance diagram for modelgbp::gbpe::L24Classifier:

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::L24ClassifiersetArpOpc (const uint8_t newValue)
 Set arpOpc to the specified value in the currently-active mutator. More...
 
modelgbp::gbpe::L24ClassifierunsetArpOpc ()
 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::L24ClassifiersetConnectionTracking (const uint8_t newValue)
 Set connectionTracking to the specified value in the currently-active mutator. More...
 
modelgbp::gbpe::L24ClassifierunsetConnectionTracking ()
 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::L24ClassifiersetDFromPort (uint16_t newValue)
 Set dFromPort to the specified value in the currently-active mutator. More...
 
modelgbp::gbpe::L24ClassifierunsetDFromPort ()
 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::L24ClassifiersetDToPort (uint16_t newValue)
 Set dToPort to the specified value in the currently-active mutator. More...
 
modelgbp::gbpe::L24ClassifierunsetDToPort ()
 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::L24ClassifiersetEtherT (uint16_t newValue)
 Set etherT to the specified value in the currently-active mutator. More...
 
modelgbp::gbpe::L24ClassifierunsetEtherT ()
 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::L24ClassifiersetName (const std::string &newValue)
 Set name to the specified value in the currently-active mutator. More...
 
modelgbp::gbpe::L24ClassifierunsetName ()
 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::L24ClassifiersetOrder (uint32_t newValue)
 Set order to the specified value in the currently-active mutator. More...
 
modelgbp::gbpe::L24ClassifierunsetOrder ()
 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::L24ClassifiersetProt (const uint8_t newValue)
 Set prot to the specified value in the currently-active mutator. More...
 
modelgbp::gbpe::L24ClassifierunsetProt ()
 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::L24ClassifiersetSFromPort (uint16_t newValue)
 Set sFromPort to the specified value in the currently-active mutator. More...
 
modelgbp::gbpe::L24ClassifierunsetSFromPort ()
 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::L24ClassifiersetSToPort (uint16_t newValue)
 Set sToPort to the specified value in the currently-active mutator. More...
 
modelgbp::gbpe::L24ClassifierunsetSToPort ()
 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::L24ClassifiersetTcpFlags (uint32_t newValue)
 Set tcpFlags to the specified value in the currently-active mutator. More...
 
modelgbp::gbpe::L24ClassifierunsetTcpFlags ()
 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.
 

Constructor & Destructor Documentation

modelgbp::gbpe::L24Classifier::L24Classifier ( opflex::ofcore::OFFramework &  framework,
const opflex::modb::URI &  uri,
const boost::shared_ptr< const opflex::modb::mointernal::ObjectInstance > &  oi 
)
inline

Construct an instance of L24Classifier.

This should not typically be called from user code.

Member Function Documentation

boost::shared_ptr<modelgbp::gbp::RuleFromClassifierRTgt> modelgbp::gbpe::L24Classifier::addGbpRuleFromClassifierRTgt ( const std::string &  gbpRuleFromClassifierRTgtSource)
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.

Parameters
gbpRuleFromClassifierRTgtSourcethe value of gbpRuleFromClassifierRTgtSource, a naming property for RuleFromClassifierRTgt
Exceptions
std::logic_errorif no mutator is active
Returns
a shared pointer to the (possibly new) object

References CLASS_ID.

boost::optional<const uint8_t> modelgbp::gbpe::L24Classifier::getArpOpc ( )
inline

Get the value of arpOpc if it has been set.

Returns
the value of arpOpc or boost::none if not set

References isArpOpcSet().

Referenced by getArpOpc().

const uint8_t modelgbp::gbpe::L24Classifier::getArpOpc ( const uint8_t  defaultValue)
inline

Get the value of arpOpc if set, otherwise the value of default passed in.

Parameters
defaultValuedefault value returned if the property is not set
Returns
the value of arpOpc if set, otherwise the value of default passed in

References getArpOpc().

boost::optional<const uint8_t> modelgbp::gbpe::L24Classifier::getConnectionTracking ( )
inline

Get the value of connectionTracking if it has been set.

Returns
the value of connectionTracking or boost::none if not set

References isConnectionTrackingSet().

Referenced by getConnectionTracking().

const uint8_t modelgbp::gbpe::L24Classifier::getConnectionTracking ( const uint8_t  defaultValue)
inline

Get the value of connectionTracking if set, otherwise the value of default passed in.

Parameters
defaultValuedefault value returned if the property is not set
Returns
the value of connectionTracking if set, otherwise the value of default passed in

References getConnectionTracking().

boost::optional<uint16_t> modelgbp::gbpe::L24Classifier::getDFromPort ( )
inline

Get the value of dFromPort if it has been set.

Returns
the value of dFromPort or boost::none if not set

References isDFromPortSet().

Referenced by getDFromPort().

uint16_t modelgbp::gbpe::L24Classifier::getDFromPort ( uint16_t  defaultValue)
inline

Get the value of dFromPort if set, otherwise the value of default passed in.

Parameters
defaultValuedefault value returned if the property is not set
Returns
the value of dFromPort if set, otherwise the value of default passed in

References getDFromPort().

boost::optional<uint16_t> modelgbp::gbpe::L24Classifier::getDToPort ( )
inline

Get the value of dToPort if it has been set.

Returns
the value of dToPort or boost::none if not set

References isDToPortSet().

Referenced by getDToPort().

uint16_t modelgbp::gbpe::L24Classifier::getDToPort ( uint16_t  defaultValue)
inline

Get the value of dToPort if set, otherwise the value of default passed in.

Parameters
defaultValuedefault value returned if the property is not set
Returns
the value of dToPort if set, otherwise the value of default passed in

References getDToPort().

boost::optional<uint16_t> modelgbp::gbpe::L24Classifier::getEtherT ( )
inline

Get the value of etherT if it has been set.

Returns
the value of etherT or boost::none if not set

References isEtherTSet().

Referenced by getEtherT().

uint16_t modelgbp::gbpe::L24Classifier::getEtherT ( uint16_t  defaultValue)
inline

Get the value of etherT if set, otherwise the value of default passed in.

Parameters
defaultValuedefault value returned if the property is not set
Returns
the value of etherT if set, otherwise the value of default passed in

References getEtherT().

boost::optional<const std::string&> modelgbp::gbpe::L24Classifier::getName ( )
inline

Get the value of name if it has been set.

Returns
the value of name or boost::none if not set

References isNameSet().

Referenced by getName().

const std::string& modelgbp::gbpe::L24Classifier::getName ( const std::string &  defaultValue)
inline

Get the value of name if set, otherwise the value of default passed in.

Parameters
defaultValuedefault value returned if the property is not set
Returns
the value of name if set, otherwise the value of default passed in

References getName().

boost::optional<uint32_t> modelgbp::gbpe::L24Classifier::getOrder ( )
inline

Get the value of order if it has been set.

Returns
the value of order or boost::none if not set

References isOrderSet().

Referenced by getOrder().

uint32_t modelgbp::gbpe::L24Classifier::getOrder ( uint32_t  defaultValue)
inline

Get the value of order if set, otherwise the value of default passed in.

Parameters
defaultValuedefault value returned if the property is not set
Returns
the value of order if set, otherwise the value of default passed in

References getOrder().

boost::optional<const uint8_t> modelgbp::gbpe::L24Classifier::getProt ( )
inline

Get the value of prot if it has been set.

Returns
the value of prot or boost::none if not set

References isProtSet().

Referenced by getProt().

const uint8_t modelgbp::gbpe::L24Classifier::getProt ( const uint8_t  defaultValue)
inline

Get the value of prot if set, otherwise the value of default passed in.

Parameters
defaultValuedefault value returned if the property is not set
Returns
the value of prot if set, otherwise the value of default passed in

References getProt().

boost::optional<uint16_t> modelgbp::gbpe::L24Classifier::getSFromPort ( )
inline

Get the value of sFromPort if it has been set.

Returns
the value of sFromPort or boost::none if not set

References isSFromPortSet().

Referenced by getSFromPort().

uint16_t modelgbp::gbpe::L24Classifier::getSFromPort ( uint16_t  defaultValue)
inline

Get the value of sFromPort if set, otherwise the value of default passed in.

Parameters
defaultValuedefault value returned if the property is not set
Returns
the value of sFromPort if set, otherwise the value of default passed in

References getSFromPort().

boost::optional<uint16_t> modelgbp::gbpe::L24Classifier::getSToPort ( )
inline

Get the value of sToPort if it has been set.

Returns
the value of sToPort or boost::none if not set

References isSToPortSet().

Referenced by getSToPort().

uint16_t modelgbp::gbpe::L24Classifier::getSToPort ( uint16_t  defaultValue)
inline

Get the value of sToPort if set, otherwise the value of default passed in.

Parameters
defaultValuedefault value returned if the property is not set
Returns
the value of sToPort if set, otherwise the value of default passed in

References getSToPort().

boost::optional<uint32_t> modelgbp::gbpe::L24Classifier::getTcpFlags ( )
inline

Get the value of tcpFlags if it has been set.

Returns
the value of tcpFlags or boost::none if not set

References isTcpFlagsSet().

Referenced by getTcpFlags().

uint32_t modelgbp::gbpe::L24Classifier::getTcpFlags ( uint32_t  defaultValue)
inline

Get the value of tcpFlags if set, otherwise the value of default passed in.

Parameters
defaultValuedefault value returned if the property is not set
Returns
the value of tcpFlags if set, otherwise the value of default passed in

References getTcpFlags().

bool modelgbp::gbpe::L24Classifier::isArpOpcSet ( )
inline

Check whether arpOpc has been set.

Returns
true if arpOpc has been set

Referenced by getArpOpc().

bool modelgbp::gbpe::L24Classifier::isConnectionTrackingSet ( )
inline

Check whether connectionTracking has been set.

Returns
true if connectionTracking has been set

Referenced by getConnectionTracking().

bool modelgbp::gbpe::L24Classifier::isDFromPortSet ( )
inline

Check whether dFromPort has been set.

Returns
true if dFromPort has been set

Referenced by getDFromPort().

bool modelgbp::gbpe::L24Classifier::isDToPortSet ( )
inline

Check whether dToPort has been set.

Returns
true if dToPort has been set

Referenced by getDToPort().

bool modelgbp::gbpe::L24Classifier::isEtherTSet ( )
inline

Check whether etherT has been set.

Returns
true if etherT has been set

Referenced by getEtherT().

bool modelgbp::gbpe::L24Classifier::isNameSet ( )
inline

Check whether name has been set.

Returns
true if name has been set

Referenced by getName().

bool modelgbp::gbpe::L24Classifier::isOrderSet ( )
inline

Check whether order has been set.

Returns
true if order has been set

Referenced by getOrder().

bool modelgbp::gbpe::L24Classifier::isProtSet ( )
inline

Check whether prot has been set.

Returns
true if prot has been set

Referenced by getProt().

bool modelgbp::gbpe::L24Classifier::isSFromPortSet ( )
inline

Check whether sFromPort has been set.

Returns
true if sFromPort has been set

Referenced by getSFromPort().

bool modelgbp::gbpe::L24Classifier::isSToPortSet ( )
inline

Check whether sToPort has been set.

Returns
true if sToPort has been set

Referenced by getSToPort().

bool modelgbp::gbpe::L24Classifier::isTcpFlagsSet ( )
inline

Check whether tcpFlags has been set.

Returns
true if tcpFlags has been set

Referenced by getTcpFlags().

static void modelgbp::gbpe::L24Classifier::registerListener ( opflex::ofcore::OFFramework &  framework,
opflex::modb::ObjectListener *  listener 
)
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.

Parameters
frameworkthe framework instance
listenerthe 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().

static void modelgbp::gbpe::L24Classifier::registerListener ( opflex::modb::ObjectListener *  listener)
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.

Parameters
listenerthe 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().

void modelgbp::gbpe::L24Classifier::remove ( )
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.

Exceptions
std::logic_errorif no mutator is active

References CLASS_ID.

static void modelgbp::gbpe::L24Classifier::remove ( opflex::ofcore::OFFramework &  framework,
const opflex::modb::URI &  uri 
)
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.

Parameters
frameworkthe framework instance to use
urithe URI of the object to remove
Exceptions
std::logic_errorif no mutator is active

References CLASS_ID.

static void modelgbp::gbpe::L24Classifier::remove ( const opflex::modb::URI &  uri)
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.

Parameters
urithe URI of the object to remove
Exceptions
std::logic_errorif no mutator is active
static void modelgbp::gbpe::L24Classifier::remove ( opflex::ofcore::OFFramework &  framework,
const std::string &  policySpaceName,
const std::string &  gbpeL24ClassifierName 
)
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]

Parameters
frameworkthe framework instance to use
policySpaceNamethe value of policySpaceName, a naming property for Space
gbpeL24ClassifierNamethe value of gbpeL24ClassifierName, a naming property for L24Classifier
Exceptions
std::logic_errorif no mutator is active

References CLASS_ID.

static void modelgbp::gbpe::L24Classifier::remove ( const std::string &  policySpaceName,
const std::string &  gbpeL24ClassifierName 
)
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]

Parameters
policySpaceNamethe value of policySpaceName, a naming property for Space
gbpeL24ClassifierNamethe value of gbpeL24ClassifierName, a naming property for L24Classifier
Exceptions
std::logic_errorif no mutator is active
static boost::optional<boost::shared_ptr<modelgbp::gbpe::L24Classifier> > modelgbp::gbpe::L24Classifier::resolve ( opflex::ofcore::OFFramework &  framework,
const opflex::modb::URI &  uri 
)
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.

Parameters
frameworkthe framework instance to use
urithe URI of the object to retrieve
Returns
a shared pointer to the object or boost::none if it does not exist.

References CLASS_ID.

Referenced by resolve(), and modelgbp::policy::Space::resolveGbpeL24Classifier().

static boost::optional<boost::shared_ptr<modelgbp::gbpe::L24Classifier> > modelgbp::gbpe::L24Classifier::resolve ( const opflex::modb::URI &  uri)
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.

Parameters
urithe URI of the object to retrieve
Returns
a shared pointer to the object or boost::none if it does not exist.

References CLASS_ID.

static boost::optional<boost::shared_ptr<modelgbp::gbpe::L24Classifier> > modelgbp::gbpe::L24Classifier::resolve ( opflex::ofcore::OFFramework &  framework,
const std::string &  policySpaceName,
const std::string &  gbpeL24ClassifierName 
)
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]

Parameters
frameworkthe framework instance to use
policySpaceNamethe value of policySpaceName, a naming property for Space
gbpeL24ClassifierNamethe value of gbpeL24ClassifierName, a naming property for L24Classifier
Returns
a shared pointer to the object or boost::none if it does not exist.

References resolve().

static boost::optional<boost::shared_ptr<modelgbp::gbpe::L24Classifier> > modelgbp::gbpe::L24Classifier::resolve ( const std::string &  policySpaceName,
const std::string &  gbpeL24ClassifierName 
)
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]

Parameters
policySpaceNamethe value of policySpaceName, a naming property for Space
gbpeL24ClassifierNamethe value of gbpeL24ClassifierName, a naming property for L24Classifier
Returns
a shared pointer to the object or boost::none if it does not exist.

References resolve().

boost::optional<boost::shared_ptr<modelgbp::gbp::RuleFromClassifierRTgt> > modelgbp::gbpe::L24Classifier::resolveGbpRuleFromClassifierRTgt ( const std::string &  gbpRuleFromClassifierRTgtSource)
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.

Parameters
gbpRuleFromClassifierRTgtSourcethe value of gbpRuleFromClassifierRTgtSource, a naming property for RuleFromClassifierRTgt
Returns
a shared pointer to the object or boost::none if it does not exist.

References modelgbp::gbp::RuleFromClassifierRTgt::resolve().

void modelgbp::gbpe::L24Classifier::resolveGbpRuleFromClassifierRTgt ( std::vector< boost::shared_ptr< modelgbp::gbp::RuleFromClassifierRTgt > > &  out)
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.

Parameters
outa reference to a vector that will receive the child objects.

References CLASS_ID.

modelgbp::gbpe::L24Classifier& modelgbp::gbpe::L24Classifier::setArpOpc ( const uint8_t  newValue)
inline

Set arpOpc to the specified value in the currently-active mutator.

Parameters
newValuethe new value to set.
Returns
a reference to the current object
Exceptions
std::logic_errorif no mutator is active
See Also
opflex::modb::Mutator
modelgbp::gbpe::L24Classifier& modelgbp::gbpe::L24Classifier::setConnectionTracking ( const uint8_t  newValue)
inline

Set connectionTracking to the specified value in the currently-active mutator.

Parameters
newValuethe new value to set.
Returns
a reference to the current object
Exceptions
std::logic_errorif no mutator is active
See Also
opflex::modb::Mutator
modelgbp::gbpe::L24Classifier& modelgbp::gbpe::L24Classifier::setDFromPort ( uint16_t  newValue)
inline

Set dFromPort to the specified value in the currently-active mutator.

Parameters
newValuethe new value to set.
Returns
a reference to the current object
Exceptions
std::logic_errorif no mutator is active
See Also
opflex::modb::Mutator
modelgbp::gbpe::L24Classifier& modelgbp::gbpe::L24Classifier::setDToPort ( uint16_t  newValue)
inline

Set dToPort to the specified value in the currently-active mutator.

Parameters
newValuethe new value to set.
Returns
a reference to the current object
Exceptions
std::logic_errorif no mutator is active
See Also
opflex::modb::Mutator
modelgbp::gbpe::L24Classifier& modelgbp::gbpe::L24Classifier::setEtherT ( uint16_t  newValue)
inline

Set etherT to the specified value in the currently-active mutator.

Parameters
newValuethe new value to set.
Returns
a reference to the current object
Exceptions
std::logic_errorif no mutator is active
See Also
opflex::modb::Mutator
modelgbp::gbpe::L24Classifier& modelgbp::gbpe::L24Classifier::setName ( const std::string &  newValue)
inline

Set name to the specified value in the currently-active mutator.

Parameters
newValuethe new value to set.
Returns
a reference to the current object
Exceptions
std::logic_errorif no mutator is active
See Also
opflex::modb::Mutator
modelgbp::gbpe::L24Classifier& modelgbp::gbpe::L24Classifier::setOrder ( uint32_t  newValue)
inline

Set order to the specified value in the currently-active mutator.

Parameters
newValuethe new value to set.
Returns
a reference to the current object
Exceptions
std::logic_errorif no mutator is active
See Also
opflex::modb::Mutator
modelgbp::gbpe::L24Classifier& modelgbp::gbpe::L24Classifier::setProt ( const uint8_t  newValue)
inline

Set prot to the specified value in the currently-active mutator.

Parameters
newValuethe new value to set.
Returns
a reference to the current object
Exceptions
std::logic_errorif no mutator is active
See Also
opflex::modb::Mutator
modelgbp::gbpe::L24Classifier& modelgbp::gbpe::L24Classifier::setSFromPort ( uint16_t  newValue)
inline

Set sFromPort to the specified value in the currently-active mutator.

Parameters
newValuethe new value to set.
Returns
a reference to the current object
Exceptions
std::logic_errorif no mutator is active
See Also
opflex::modb::Mutator
modelgbp::gbpe::L24Classifier& modelgbp::gbpe::L24Classifier::setSToPort ( uint16_t  newValue)
inline

Set sToPort to the specified value in the currently-active mutator.

Parameters
newValuethe new value to set.
Returns
a reference to the current object
Exceptions
std::logic_errorif no mutator is active
See Also
opflex::modb::Mutator
modelgbp::gbpe::L24Classifier& modelgbp::gbpe::L24Classifier::setTcpFlags ( uint32_t  newValue)
inline

Set tcpFlags to the specified value in the currently-active mutator.

Parameters
newValuethe new value to set.
Returns
a reference to the current object
Exceptions
std::logic_errorif no mutator is active
See Also
opflex::modb::Mutator
static void modelgbp::gbpe::L24Classifier::unregisterListener ( opflex::ofcore::OFFramework &  framework,
opflex::modb::ObjectListener *  listener 
)
inlinestatic

Unregister a listener from updates to this class.

Parameters
frameworkthe framework instance
listenerThe listener to unregister.

References CLASS_ID.

Referenced by unregisterListener().

static void modelgbp::gbpe::L24Classifier::unregisterListener ( opflex::modb::ObjectListener *  listener)
inlinestatic

Unregister a listener from updates to this class from the default framework instance.

Parameters
listenerThe listener to unregister.

References unregisterListener().

modelgbp::gbpe::L24Classifier& modelgbp::gbpe::L24Classifier::unsetArpOpc ( )
inline

Unset arpOpc in the currently-active mutator.

Exceptions
std::logic_errorif no mutator is active
Returns
a reference to the current object
See Also
opflex::modb::Mutator
modelgbp::gbpe::L24Classifier& modelgbp::gbpe::L24Classifier::unsetConnectionTracking ( )
inline

Unset connectionTracking in the currently-active mutator.

Exceptions
std::logic_errorif no mutator is active
Returns
a reference to the current object
See Also
opflex::modb::Mutator
modelgbp::gbpe::L24Classifier& modelgbp::gbpe::L24Classifier::unsetDFromPort ( )
inline

Unset dFromPort in the currently-active mutator.

Exceptions
std::logic_errorif no mutator is active
Returns
a reference to the current object
See Also
opflex::modb::Mutator
modelgbp::gbpe::L24Classifier& modelgbp::gbpe::L24Classifier::unsetDToPort ( )
inline

Unset dToPort in the currently-active mutator.

Exceptions
std::logic_errorif no mutator is active
Returns
a reference to the current object
See Also
opflex::modb::Mutator
modelgbp::gbpe::L24Classifier& modelgbp::gbpe::L24Classifier::unsetEtherT ( )
inline

Unset etherT in the currently-active mutator.

Exceptions
std::logic_errorif no mutator is active
Returns
a reference to the current object
See Also
opflex::modb::Mutator
modelgbp::gbpe::L24Classifier& modelgbp::gbpe::L24Classifier::unsetName ( )
inline

Unset name in the currently-active mutator.

Exceptions
std::logic_errorif no mutator is active
Returns
a reference to the current object
See Also
opflex::modb::Mutator
modelgbp::gbpe::L24Classifier& modelgbp::gbpe::L24Classifier::unsetOrder ( )
inline

Unset order in the currently-active mutator.

Exceptions
std::logic_errorif no mutator is active
Returns
a reference to the current object
See Also
opflex::modb::Mutator
modelgbp::gbpe::L24Classifier& modelgbp::gbpe::L24Classifier::unsetProt ( )
inline

Unset prot in the currently-active mutator.

Exceptions
std::logic_errorif no mutator is active
Returns
a reference to the current object
See Also
opflex::modb::Mutator
modelgbp::gbpe::L24Classifier& modelgbp::gbpe::L24Classifier::unsetSFromPort ( )
inline

Unset sFromPort in the currently-active mutator.

Exceptions
std::logic_errorif no mutator is active
Returns
a reference to the current object
See Also
opflex::modb::Mutator
modelgbp::gbpe::L24Classifier& modelgbp::gbpe::L24Classifier::unsetSToPort ( )
inline

Unset sToPort in the currently-active mutator.

Exceptions
std::logic_errorif no mutator is active
Returns
a reference to the current object
See Also
opflex::modb::Mutator
modelgbp::gbpe::L24Classifier& modelgbp::gbpe::L24Classifier::unsetTcpFlags ( )
inline

Unset tcpFlags in the currently-active mutator.

Exceptions
std::logic_errorif no mutator is active
Returns
a reference to the current object
See Also
opflex::modb::Mutator

The documentation for this class was generated from the following file: