11#ifndef GI_GBPE_EPGMAPPINGFROMDEFAULTGROUPRTGT_HPP
12#define GI_GBPE_EPGMAPPINGFROMDEFAULTGROUPRTGT_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 = 12;
210 static boost::optional<OF_SHARED_PTR<modelgbp::gbpe::EpgMappingFromDefaultGroupRTgt> >
resolve(
212 const opflex::modb::URI&
uri)
214 return opflex::modb::mointernal::MO::resolve<modelgbp::gbpe::EpgMappingFromDefaultGroupRTgt>(
framework,
CLASS_ID,
uri);
228 static boost::optional<OF_SHARED_PTR<modelgbp::gbpe::EpgMappingFromDefaultGroupRTgt> >
resolve(
229 const opflex::modb::URI&
uri)
231 return opflex::modb::mointernal::MO::resolve<modelgbp::gbpe::EpgMappingFromDefaultGroupRTgt>(opflex::ofcore::OFFramework::defaultInstance(),
CLASS_ID,
uri);
254 static boost::optional<OF_SHARED_PTR<modelgbp::gbpe::EpgMappingFromDefaultGroupRTgt> >
resolve(
282 static boost::optional<OF_SHARED_PTR<modelgbp::gbpe::EpgMappingFromDefaultGroupRTgt> >
resolve(
314 const opflex::modb::URI&
uri)
331 remove(opflex::ofcore::OFFramework::defaultInstance(),
uri);
400 opflex::modb::ObjectListener*
listener)
402 opflex::modb::mointernal
418 opflex::modb::ObjectListener*
listener)
431 opflex::modb::ObjectListener*
listener)
433 opflex::modb::mointernal
444 opflex::modb::ObjectListener*
listener)
455 const opflex::modb::URI&
uri,
Definition EpgMappingFromDefaultGroupRTgt.hpp:23
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 EpgMappingFromDefaultGroupRTgt.hpp:417
static boost::optional< OF_SHARED_PTR< modelgbp::gbpe::EpgMappingFromDefaultGroupRTgt > > resolve(opflex::ofcore::OFFramework &framework, const std::string &policySpaceName, const std::string &gbpEpGroupName, const std::string &gbpeEpgMappingFromDefaultGroupRTgtSource)
Retrieve an instance of EpgMappingFromDefaultGroupRTgt from the managed object store by constructing ...
Definition EpgMappingFromDefaultGroupRTgt.hpp:254
static const opflex::modb::class_id_t CLASS_ID
The unique class ID for EpgMappingFromDefaultGroupRTgt.
Definition EpgMappingFromDefaultGroupRTgt.hpp:29
modelgbp::gbpe::EpgMappingFromDefaultGroupRTgt & setSource(const std::string &newValue)
Set source to the specified value in the currently-active mutator.
Definition EpgMappingFromDefaultGroupRTgt.hpp:125
static void unregisterListener(opflex::ofcore::OFFramework &framework, opflex::modb::ObjectListener *listener)
Unregister a listener from updates to this class.
Definition EpgMappingFromDefaultGroupRTgt.hpp:429
static void remove(const opflex::modb::URI &uri)
Remove the EpgMappingFromDefaultGroupRTgt object with the specified URI using the currently-active mu...
Definition EpgMappingFromDefaultGroupRTgt.hpp:329
boost::optional< const uint8_t > getType()
Get the value of type if it has been set.
Definition EpgMappingFromDefaultGroupRTgt.hpp:156
modelgbp::gbpe::EpgMappingFromDefaultGroupRTgt & setRole(const uint8_t newValue)
Set role to the specified value in the currently-active mutator.
Definition EpgMappingFromDefaultGroupRTgt.hpp:69
const std::string & getSource(const std::string &defaultValue)
Get the value of source if set, otherwise the value of default passed in.
Definition EpgMappingFromDefaultGroupRTgt.hpp:112
modelgbp::gbpe::EpgMappingFromDefaultGroupRTgt & setType(const uint8_t newValue)
Set type to the specified value in the currently-active mutator.
Definition EpgMappingFromDefaultGroupRTgt.hpp:181
modelgbp::gbpe::EpgMappingFromDefaultGroupRTgt & unsetSource()
Unset source in the currently-active mutator.
Definition EpgMappingFromDefaultGroupRTgt.hpp:137
void remove()
Remove this instance using the currently-active mutator.
Definition EpgMappingFromDefaultGroupRTgt.hpp:298
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 EpgMappingFromDefaultGroupRTgt.hpp:398
boost::optional< const uint8_t > getRole()
Get the value of role if it has been set.
Definition EpgMappingFromDefaultGroupRTgt.hpp:44
static boost::optional< OF_SHARED_PTR< modelgbp::gbpe::EpgMappingFromDefaultGroupRTgt > > resolve(const opflex::modb::URI &uri)
Retrieve an instance of EpgMappingFromDefaultGroupRTgt from the managed object store using the defaul...
Definition EpgMappingFromDefaultGroupRTgt.hpp:228
static void remove(opflex::ofcore::OFFramework &framework, const std::string &policySpaceName, const std::string &gbpEpGroupName, const std::string &gbpeEpgMappingFromDefaultGroupRTgtSource)
Remove the EpgMappingFromDefaultGroupRTgt object with the specified path elements from the managed ob...
Definition EpgMappingFromDefaultGroupRTgt.hpp:352
EpgMappingFromDefaultGroupRTgt(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri, const OF_SHARED_PTR< const opflex::modb::mointernal::ObjectInstance > &oi)
Construct an instance of EpgMappingFromDefaultGroupRTgt.
Definition EpgMappingFromDefaultGroupRTgt.hpp:453
static void unregisterListener(opflex::modb::ObjectListener *listener)
Unregister a listener from updates to this class from the default framework instance.
Definition EpgMappingFromDefaultGroupRTgt.hpp:443
modelgbp::gbpe::EpgMappingFromDefaultGroupRTgt & unsetRole()
Unset role in the currently-active mutator.
Definition EpgMappingFromDefaultGroupRTgt.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 EpgMappingFromDefaultGroupRTgt.hpp:168
bool isSourceSet()
Check whether source has been set.
Definition EpgMappingFromDefaultGroupRTgt.hpp:91
static void remove(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri)
Remove the EpgMappingFromDefaultGroupRTgt object with the specified URI using the currently-active mu...
Definition EpgMappingFromDefaultGroupRTgt.hpp:313
static void remove(const std::string &policySpaceName, const std::string &gbpEpGroupName, const std::string &gbpeEpgMappingFromDefaultGroupRTgtSource)
Remove the EpgMappingFromDefaultGroupRTgt object with the specified path elements from the managed ob...
Definition EpgMappingFromDefaultGroupRTgt.hpp:379
bool isRoleSet()
Check whether role has been set.
Definition EpgMappingFromDefaultGroupRTgt.hpp:35
static boost::optional< OF_SHARED_PTR< modelgbp::gbpe::EpgMappingFromDefaultGroupRTgt > > resolve(const std::string &policySpaceName, const std::string &gbpEpGroupName, const std::string &gbpeEpgMappingFromDefaultGroupRTgtSource)
Retrieve an instance of EpgMappingFromDefaultGroupRTgt from the default managed object store by const...
Definition EpgMappingFromDefaultGroupRTgt.hpp:282
static boost::optional< OF_SHARED_PTR< modelgbp::gbpe::EpgMappingFromDefaultGroupRTgt > > resolve(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri)
Retrieve an instance of EpgMappingFromDefaultGroupRTgt from the managed object store.
Definition EpgMappingFromDefaultGroupRTgt.hpp:210
boost::optional< const std::string & > getSource()
Get the value of source if it has been set.
Definition EpgMappingFromDefaultGroupRTgt.hpp:100
modelgbp::gbpe::EpgMappingFromDefaultGroupRTgt & unsetType()
Unset type in the currently-active mutator.
Definition EpgMappingFromDefaultGroupRTgt.hpp:193
const uint8_t getRole(const uint8_t defaultValue)
Get the value of role if set, otherwise the value of default passed in.
Definition EpgMappingFromDefaultGroupRTgt.hpp:56
bool isTypeSet()
Check whether type has been set.
Definition EpgMappingFromDefaultGroupRTgt.hpp:147
SOME COPYRIGHT.
Definition OpcodeEnumT.hpp:12