11#ifndef GI_GBPE_EPGMAPPINGCTXFROMATTRSETRTGT_HPP
12#define GI_GBPE_EPGMAPPINGCTXFROMATTRSETRTGT_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 = 26;
210 static boost::optional<OF_SHARED_PTR<modelgbp::gbpe::EpgMappingCtxFromAttrSetRTgt> >
resolve(
212 const opflex::modb::URI&
uri)
214 return opflex::modb::mointernal::MO::resolve<modelgbp::gbpe::EpgMappingCtxFromAttrSetRTgt>(
framework,
CLASS_ID,
uri);
228 static boost::optional<OF_SHARED_PTR<modelgbp::gbpe::EpgMappingCtxFromAttrSetRTgt> >
resolve(
229 const opflex::modb::URI&
uri)
231 return opflex::modb::mointernal::MO::resolve<modelgbp::gbpe::EpgMappingCtxFromAttrSetRTgt>(opflex::ofcore::OFFramework::defaultInstance(),
CLASS_ID,
uri);
252 static boost::optional<OF_SHARED_PTR<modelgbp::gbpe::EpgMappingCtxFromAttrSetRTgt> >
resolve(
277 static boost::optional<OF_SHARED_PTR<modelgbp::gbpe::EpgMappingCtxFromAttrSetRTgt> >
resolve(
308 const opflex::modb::URI&
uri)
325 remove(opflex::ofcore::OFFramework::defaultInstance(),
uri);
388 opflex::modb::ObjectListener*
listener)
390 opflex::modb::mointernal
406 opflex::modb::ObjectListener*
listener)
419 opflex::modb::ObjectListener*
listener)
421 opflex::modb::mointernal
432 opflex::modb::ObjectListener*
listener)
443 const opflex::modb::URI&
uri,
Definition EpgMappingCtxFromAttrSetRTgt.hpp:23
modelgbp::gbpe::EpgMappingCtxFromAttrSetRTgt & setType(const uint8_t newValue)
Set type to the specified value in the currently-active mutator.
Definition EpgMappingCtxFromAttrSetRTgt.hpp:181
modelgbp::gbpe::EpgMappingCtxFromAttrSetRTgt & setSource(const std::string &newValue)
Set source to the specified value in the currently-active mutator.
Definition EpgMappingCtxFromAttrSetRTgt.hpp:125
static void remove(const std::string &gbpeEpAttributeSetUuid, const std::string &gbpeEpgMappingCtxFromAttrSetRTgtSource)
Remove the EpgMappingCtxFromAttrSetRTgt object with the specified path elements from the managed obje...
Definition EpgMappingCtxFromAttrSetRTgt.hpp:368
static void unregisterListener(opflex::modb::ObjectListener *listener)
Unregister a listener from updates to this class from the default framework instance.
Definition EpgMappingCtxFromAttrSetRTgt.hpp:431
boost::optional< const uint8_t > getType()
Get the value of type if it has been set.
Definition EpgMappingCtxFromAttrSetRTgt.hpp:156
modelgbp::gbpe::EpgMappingCtxFromAttrSetRTgt & setRole(const uint8_t newValue)
Set role to the specified value in the currently-active mutator.
Definition EpgMappingCtxFromAttrSetRTgt.hpp:69
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 EpgMappingCtxFromAttrSetRTgt.hpp:386
bool isSourceSet()
Check whether source has been set.
Definition EpgMappingCtxFromAttrSetRTgt.hpp:91
static boost::optional< OF_SHARED_PTR< modelgbp::gbpe::EpgMappingCtxFromAttrSetRTgt > > resolve(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri)
Retrieve an instance of EpgMappingCtxFromAttrSetRTgt from the managed object store.
Definition EpgMappingCtxFromAttrSetRTgt.hpp:210
boost::optional< const uint8_t > getRole()
Get the value of role if it has been set.
Definition EpgMappingCtxFromAttrSetRTgt.hpp:44
boost::optional< const std::string & > getSource()
Get the value of source if it has been set.
Definition EpgMappingCtxFromAttrSetRTgt.hpp:100
const std::string & getSource(const std::string &defaultValue)
Get the value of source if set, otherwise the value of default passed in.
Definition EpgMappingCtxFromAttrSetRTgt.hpp:112
static void remove(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri)
Remove the EpgMappingCtxFromAttrSetRTgt object with the specified URI using the currently-active muta...
Definition EpgMappingCtxFromAttrSetRTgt.hpp:307
void remove()
Remove this instance using the currently-active mutator.
Definition EpgMappingCtxFromAttrSetRTgt.hpp:292
static boost::optional< OF_SHARED_PTR< modelgbp::gbpe::EpgMappingCtxFromAttrSetRTgt > > resolve(opflex::ofcore::OFFramework &framework, const std::string &gbpeEpAttributeSetUuid, const std::string &gbpeEpgMappingCtxFromAttrSetRTgtSource)
Retrieve an instance of EpgMappingCtxFromAttrSetRTgt from the managed object store by constructing it...
Definition EpgMappingCtxFromAttrSetRTgt.hpp:252
const uint8_t getType(const uint8_t defaultValue)
Get the value of type if set, otherwise the value of default passed in.
Definition EpgMappingCtxFromAttrSetRTgt.hpp:168
EpgMappingCtxFromAttrSetRTgt(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri, const OF_SHARED_PTR< const opflex::modb::mointernal::ObjectInstance > &oi)
Construct an instance of EpgMappingCtxFromAttrSetRTgt.
Definition EpgMappingCtxFromAttrSetRTgt.hpp:441
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 EpgMappingCtxFromAttrSetRTgt.hpp:405
static void unregisterListener(opflex::ofcore::OFFramework &framework, opflex::modb::ObjectListener *listener)
Unregister a listener from updates to this class.
Definition EpgMappingCtxFromAttrSetRTgt.hpp:417
static const opflex::modb::class_id_t CLASS_ID
The unique class ID for EpgMappingCtxFromAttrSetRTgt.
Definition EpgMappingCtxFromAttrSetRTgt.hpp:29
modelgbp::gbpe::EpgMappingCtxFromAttrSetRTgt & unsetType()
Unset type in the currently-active mutator.
Definition EpgMappingCtxFromAttrSetRTgt.hpp:193
static boost::optional< OF_SHARED_PTR< modelgbp::gbpe::EpgMappingCtxFromAttrSetRTgt > > resolve(const std::string &gbpeEpAttributeSetUuid, const std::string &gbpeEpgMappingCtxFromAttrSetRTgtSource)
Retrieve an instance of EpgMappingCtxFromAttrSetRTgt from the default managed object store by constru...
Definition EpgMappingCtxFromAttrSetRTgt.hpp:277
static void remove(const opflex::modb::URI &uri)
Remove the EpgMappingCtxFromAttrSetRTgt object with the specified URI using the currently-active muta...
Definition EpgMappingCtxFromAttrSetRTgt.hpp:323
static void remove(opflex::ofcore::OFFramework &framework, const std::string &gbpeEpAttributeSetUuid, const std::string &gbpeEpgMappingCtxFromAttrSetRTgtSource)
Remove the EpgMappingCtxFromAttrSetRTgt object with the specified path elements from the managed obje...
Definition EpgMappingCtxFromAttrSetRTgt.hpp:344
const uint8_t getRole(const uint8_t defaultValue)
Get the value of role if set, otherwise the value of default passed in.
Definition EpgMappingCtxFromAttrSetRTgt.hpp:56
bool isTypeSet()
Check whether type has been set.
Definition EpgMappingCtxFromAttrSetRTgt.hpp:147
modelgbp::gbpe::EpgMappingCtxFromAttrSetRTgt & unsetSource()
Unset source in the currently-active mutator.
Definition EpgMappingCtxFromAttrSetRTgt.hpp:137
bool isRoleSet()
Check whether role has been set.
Definition EpgMappingCtxFromAttrSetRTgt.hpp:35
static boost::optional< OF_SHARED_PTR< modelgbp::gbpe::EpgMappingCtxFromAttrSetRTgt > > resolve(const opflex::modb::URI &uri)
Retrieve an instance of EpgMappingCtxFromAttrSetRTgt from the managed object store using the default ...
Definition EpgMappingCtxFromAttrSetRTgt.hpp:228
modelgbp::gbpe::EpgMappingCtxFromAttrSetRTgt & unsetRole()
Unset role in the currently-active mutator.
Definition EpgMappingCtxFromAttrSetRTgt.hpp:81
SOME COPYRIGHT.
Definition OpcodeEnumT.hpp:12