11#ifndef GI_GBPE_MAPPINGRULETOGROUPRRES_HPP
12#define GI_GBPE_MAPPINGRULETOGROUPRRES_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 = 32;
154 static boost::optional<OF_SHARED_PTR<modelgbp::gbpe::MappingRuleToGroupRRes> >
resolve(
156 const opflex::modb::URI&
uri)
158 return opflex::modb::mointernal::MO::resolve<modelgbp::gbpe::MappingRuleToGroupRRes>(
framework,
CLASS_ID,
uri);
172 static boost::optional<OF_SHARED_PTR<modelgbp::gbpe::MappingRuleToGroupRRes> >
resolve(
173 const opflex::modb::URI&
uri)
175 return opflex::modb::mointernal::MO::resolve<modelgbp::gbpe::MappingRuleToGroupRRes>(opflex::ofcore::OFFramework::defaultInstance(),
CLASS_ID,
uri);
192 static boost::optional<OF_SHARED_PTR<modelgbp::gbpe::MappingRuleToGroupRRes> >
resolve(
211 static boost::optional<OF_SHARED_PTR<modelgbp::gbpe::MappingRuleToGroupRRes> >
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 MappingRuleToGroupRRes.hpp:23
void remove()
Remove this instance using the currently-active mutator.
Definition MappingRuleToGroupRRes.hpp:225
static void unregisterListener(opflex::ofcore::OFFramework &framework, opflex::modb::ObjectListener *listener)
Unregister a listener from updates to this class.
Definition MappingRuleToGroupRRes.hpp:303
boost::optional< const uint8_t > getRole()
Get the value of role if it has been set.
Definition MappingRuleToGroupRRes.hpp:44
boost::optional< const uint8_t > getType()
Get the value of type if it has been set.
Definition MappingRuleToGroupRRes.hpp:100
static void remove(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri)
Remove the MappingRuleToGroupRRes object with the specified URI using the currently-active mutator.
Definition MappingRuleToGroupRRes.hpp:240
const uint8_t getRole(const uint8_t defaultValue)
Get the value of role if set, otherwise the value of default passed in.
Definition MappingRuleToGroupRRes.hpp:56
static boost::optional< OF_SHARED_PTR< modelgbp::gbpe::MappingRuleToGroupRRes > > resolve()
Retrieve an instance of MappingRuleToGroupRRes from the default managed object store by constructing ...
Definition MappingRuleToGroupRRes.hpp:211
modelgbp::gbpe::MappingRuleToGroupRRes & unsetRole()
Unset role in the currently-active mutator.
Definition MappingRuleToGroupRRes.hpp:81
bool isTypeSet()
Check whether type has been set.
Definition MappingRuleToGroupRRes.hpp:91
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 MappingRuleToGroupRRes.hpp:291
static const opflex::modb::class_id_t CLASS_ID
The unique class ID for MappingRuleToGroupRRes.
Definition MappingRuleToGroupRRes.hpp:29
modelgbp::gbpe::MappingRuleToGroupRRes & unsetType()
Unset type in the currently-active mutator.
Definition MappingRuleToGroupRRes.hpp:137
static void unregisterListener(opflex::modb::ObjectListener *listener)
Unregister a listener from updates to this class from the default framework instance.
Definition MappingRuleToGroupRRes.hpp:317
modelgbp::gbpe::MappingRuleToGroupRRes & setRole(const uint8_t newValue)
Set role to the specified value in the currently-active mutator.
Definition MappingRuleToGroupRRes.hpp:69
static boost::optional< OF_SHARED_PTR< modelgbp::gbpe::MappingRuleToGroupRRes > > resolve(const opflex::modb::URI &uri)
Retrieve an instance of MappingRuleToGroupRRes from the managed object store using the default framew...
Definition MappingRuleToGroupRRes.hpp:172
modelgbp::gbpe::MappingRuleToGroupRRes & setType(const uint8_t newValue)
Set type to the specified value in the currently-active mutator.
Definition MappingRuleToGroupRRes.hpp:125
static void remove(const opflex::modb::URI &uri)
Remove the MappingRuleToGroupRRes object with the specified URI using the currently-active mutator an...
Definition MappingRuleToGroupRRes.hpp:256
MappingRuleToGroupRRes(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri, const OF_SHARED_PTR< const opflex::modb::mointernal::ObjectInstance > &oi)
Construct an instance of MappingRuleToGroupRRes.
Definition MappingRuleToGroupRRes.hpp:327
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 MappingRuleToGroupRRes.hpp:272
bool isRoleSet()
Check whether role has been set.
Definition MappingRuleToGroupRRes.hpp:35
const uint8_t getType(const uint8_t defaultValue)
Get the value of type if set, otherwise the value of default passed in.
Definition MappingRuleToGroupRRes.hpp:112
static boost::optional< OF_SHARED_PTR< modelgbp::gbpe::MappingRuleToGroupRRes > > resolve(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri)
Retrieve an instance of MappingRuleToGroupRRes from the managed object store.
Definition MappingRuleToGroupRRes.hpp:154
static boost::optional< OF_SHARED_PTR< modelgbp::gbpe::MappingRuleToGroupRRes > > resolve(opflex::ofcore::OFFramework &framework)
Retrieve an instance of MappingRuleToGroupRRes from the managed object store by constructing its URI ...
Definition MappingRuleToGroupRRes.hpp:192
SOME COPYRIGHT.
Definition OpcodeEnumT.hpp:12