11#ifndef GI_GBP_L3EXTERNALNETWORKTONATEPGROUPRRES_HPP
12#define GI_GBP_L3EXTERNALNETWORKTONATEPGROUPRRES_HPP
14#include <boost/optional.hpp>
15#include "opflex/modb/URIBuilder.h"
16#include "opflex/modb/mo-internal/MO.h"
22 :
public opflex::modb::mointernal::MO
29 static const opflex::modb::class_id_t
CLASS_ID = 178;
154 static boost::optional<OF_SHARED_PTR<modelgbp::gbp::L3ExternalNetworkToNatEPGroupRRes> >
resolve(
156 const opflex::modb::URI&
uri)
158 return opflex::modb::mointernal::MO::resolve<modelgbp::gbp::L3ExternalNetworkToNatEPGroupRRes>(
framework,
CLASS_ID,
uri);
172 static boost::optional<OF_SHARED_PTR<modelgbp::gbp::L3ExternalNetworkToNatEPGroupRRes> >
resolve(
173 const opflex::modb::URI&
uri)
175 return opflex::modb::mointernal::MO::resolve<modelgbp::gbp::L3ExternalNetworkToNatEPGroupRRes>(opflex::ofcore::OFFramework::defaultInstance(),
CLASS_ID,
uri);
192 static boost::optional<OF_SHARED_PTR<modelgbp::gbp::L3ExternalNetworkToNatEPGroupRRes> >
resolve(
211 static boost::optional<OF_SHARED_PTR<modelgbp::gbp::L3ExternalNetworkToNatEPGroupRRes> >
resolve(
214 return resolve(opflex::ofcore::OFFramework::defaultInstance());
241 const opflex::modb::URI&
uri)
258 remove(opflex::ofcore::OFFramework::defaultInstance(),
uri);
274 opflex::modb::ObjectListener*
listener)
276 opflex::modb::mointernal
292 opflex::modb::ObjectListener*
listener)
305 opflex::modb::ObjectListener*
listener)
307 opflex::modb::mointernal
318 opflex::modb::ObjectListener*
listener)
329 const opflex::modb::URI&
uri,
Definition L3ExternalNetworkToNatEPGroupRRes.hpp:23
static boost::optional< OF_SHARED_PTR< modelgbp::gbp::L3ExternalNetworkToNatEPGroupRRes > > resolve(opflex::ofcore::OFFramework &framework)
Retrieve an instance of L3ExternalNetworkToNatEPGroupRRes from the managed object store by constructi...
Definition L3ExternalNetworkToNatEPGroupRRes.hpp:192
static void remove(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri)
Remove the L3ExternalNetworkToNatEPGroupRRes object with the specified URI using the currently-active...
Definition L3ExternalNetworkToNatEPGroupRRes.hpp:240
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 L3ExternalNetworkToNatEPGroupRRes.hpp:291
static boost::optional< OF_SHARED_PTR< modelgbp::gbp::L3ExternalNetworkToNatEPGroupRRes > > resolve()
Retrieve an instance of L3ExternalNetworkToNatEPGroupRRes from the default managed object store by co...
Definition L3ExternalNetworkToNatEPGroupRRes.hpp:211
boost::optional< const uint8_t > getType()
Get the value of type if it has been set.
Definition L3ExternalNetworkToNatEPGroupRRes.hpp:100
modelgbp::gbp::L3ExternalNetworkToNatEPGroupRRes & unsetType()
Unset type in the currently-active mutator.
Definition L3ExternalNetworkToNatEPGroupRRes.hpp:137
static void remove(const opflex::modb::URI &uri)
Remove the L3ExternalNetworkToNatEPGroupRRes object with the specified URI using the currently-active...
Definition L3ExternalNetworkToNatEPGroupRRes.hpp:256
boost::optional< const uint8_t > getRole()
Get the value of role if it has been set.
Definition L3ExternalNetworkToNatEPGroupRRes.hpp:44
static const opflex::modb::class_id_t CLASS_ID
The unique class ID for L3ExternalNetworkToNatEPGroupRRes.
Definition L3ExternalNetworkToNatEPGroupRRes.hpp:29
modelgbp::gbp::L3ExternalNetworkToNatEPGroupRRes & unsetRole()
Unset role in the currently-active mutator.
Definition L3ExternalNetworkToNatEPGroupRRes.hpp:81
const uint8_t getType(const uint8_t defaultValue)
Get the value of type if set, otherwise the value of default passed in.
Definition L3ExternalNetworkToNatEPGroupRRes.hpp:112
static boost::optional< OF_SHARED_PTR< modelgbp::gbp::L3ExternalNetworkToNatEPGroupRRes > > resolve(const opflex::modb::URI &uri)
Retrieve an instance of L3ExternalNetworkToNatEPGroupRRes from the managed object store using the def...
Definition L3ExternalNetworkToNatEPGroupRRes.hpp:172
bool isTypeSet()
Check whether type has been set.
Definition L3ExternalNetworkToNatEPGroupRRes.hpp:91
L3ExternalNetworkToNatEPGroupRRes(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri, const OF_SHARED_PTR< const opflex::modb::mointernal::ObjectInstance > &oi)
Construct an instance of L3ExternalNetworkToNatEPGroupRRes.
Definition L3ExternalNetworkToNatEPGroupRRes.hpp:327
modelgbp::gbp::L3ExternalNetworkToNatEPGroupRRes & setRole(const uint8_t newValue)
Set role to the specified value in the currently-active mutator.
Definition L3ExternalNetworkToNatEPGroupRRes.hpp:69
static void unregisterListener(opflex::modb::ObjectListener *listener)
Unregister a listener from updates to this class from the default framework instance.
Definition L3ExternalNetworkToNatEPGroupRRes.hpp:317
void remove()
Remove this instance using the currently-active mutator.
Definition L3ExternalNetworkToNatEPGroupRRes.hpp:225
static boost::optional< OF_SHARED_PTR< modelgbp::gbp::L3ExternalNetworkToNatEPGroupRRes > > resolve(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri)
Retrieve an instance of L3ExternalNetworkToNatEPGroupRRes from the managed object store.
Definition L3ExternalNetworkToNatEPGroupRRes.hpp:154
modelgbp::gbp::L3ExternalNetworkToNatEPGroupRRes & setType(const uint8_t newValue)
Set type to the specified value in the currently-active mutator.
Definition L3ExternalNetworkToNatEPGroupRRes.hpp:125
bool isRoleSet()
Check whether role has been set.
Definition L3ExternalNetworkToNatEPGroupRRes.hpp:35
const uint8_t getRole(const uint8_t defaultValue)
Get the value of role if set, otherwise the value of default passed in.
Definition L3ExternalNetworkToNatEPGroupRRes.hpp:56
static void unregisterListener(opflex::ofcore::OFFramework &framework, opflex::modb::ObjectListener *listener)
Unregister a listener from updates to this class.
Definition L3ExternalNetworkToNatEPGroupRRes.hpp:303
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 L3ExternalNetworkToNatEPGroupRRes.hpp:272
SOME COPYRIGHT.
Definition OpcodeEnumT.hpp:12