11#ifndef GI_GBPE_EPGMAPPINGCTXFROMEPGMAPPINGRTGT_HPP
12#define GI_GBPE_EPGMAPPINGCTXFROMEPGMAPPINGRTGT_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 = 23;
210 static boost::optional<OF_SHARED_PTR<modelgbp::gbpe::EpgMappingCtxFromEpgMappingRTgt> >
resolve(
212 const opflex::modb::URI&
uri)
214 return opflex::modb::mointernal::MO::resolve<modelgbp::gbpe::EpgMappingCtxFromEpgMappingRTgt>(
framework,
CLASS_ID,
uri);
228 static boost::optional<OF_SHARED_PTR<modelgbp::gbpe::EpgMappingCtxFromEpgMappingRTgt> >
resolve(
229 const opflex::modb::URI&
uri)
231 return opflex::modb::mointernal::MO::resolve<modelgbp::gbpe::EpgMappingCtxFromEpgMappingRTgt>(opflex::ofcore::OFFramework::defaultInstance(),
CLASS_ID,
uri);
358 const opflex::modb::URI&
uri)
375 remove(opflex::ofcore::OFFramework::defaultInstance(),
uri);
485 opflex::modb::ObjectListener*
listener)
487 opflex::modb::mointernal
503 opflex::modb::ObjectListener*
listener)
516 opflex::modb::ObjectListener*
listener)
518 opflex::modb::mointernal
529 opflex::modb::ObjectListener*
listener)
540 const opflex::modb::URI&
uri,
Definition EpgMappingCtxFromEpgMappingRTgt.hpp:23
const uint8_t getType(const uint8_t defaultValue)
Get the value of type if set, otherwise the value of default passed in.
Definition EpgMappingCtxFromEpgMappingRTgt.hpp:168
static boost::optional< OF_SHARED_PTR< modelgbp::gbpe::EpgMappingCtxFromEpgMappingRTgt > > resolveUnderPolicyUniverseGbpeIndirectEpgMapping(const std::string &gbpeIndirectEpgMappingName, const std::string &gbpeEpgMappingCtxFromEpgMappingRTgtSource)
Retrieve an instance of EpgMappingCtxFromEpgMappingRTgt from the default managed object store by cons...
Definition EpgMappingCtxFromEpgMappingRTgt.hpp:327
boost::optional< const std::string & > getSource()
Get the value of source if it has been set.
Definition EpgMappingCtxFromEpgMappingRTgt.hpp:100
bool isTypeSet()
Check whether type has been set.
Definition EpgMappingCtxFromEpgMappingRTgt.hpp:147
modelgbp::gbpe::EpgMappingCtxFromEpgMappingRTgt & setSource(const std::string &newValue)
Set source to the specified value in the currently-active mutator.
Definition EpgMappingCtxFromEpgMappingRTgt.hpp:125
static void remove(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri)
Remove the EpgMappingCtxFromEpgMappingRTgt object with the specified URI using the currently-active m...
Definition EpgMappingCtxFromEpgMappingRTgt.hpp:357
static const opflex::modb::class_id_t CLASS_ID
The unique class ID for EpgMappingCtxFromEpgMappingRTgt.
Definition EpgMappingCtxFromEpgMappingRTgt.hpp:29
modelgbp::gbpe::EpgMappingCtxFromEpgMappingRTgt & setType(const uint8_t newValue)
Set type to the specified value in the currently-active mutator.
Definition EpgMappingCtxFromEpgMappingRTgt.hpp:181
static void remove(const opflex::modb::URI &uri)
Remove the EpgMappingCtxFromEpgMappingRTgt object with the specified URI using the currently-active m...
Definition EpgMappingCtxFromEpgMappingRTgt.hpp:373
bool isRoleSet()
Check whether role has been set.
Definition EpgMappingCtxFromEpgMappingRTgt.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 EpgMappingCtxFromEpgMappingRTgt.hpp:56
static void removeUnderPolicyUniverseGbpeIndirectEpgMapping(opflex::ofcore::OFFramework &framework, const std::string &gbpeIndirectEpgMappingName, const std::string &gbpeEpgMappingCtxFromEpgMappingRTgtSource)
Remove the EpgMappingCtxFromEpgMappingRTgt object with the specified path elements from the managed o...
Definition EpgMappingCtxFromEpgMappingRTgt.hpp:441
static boost::optional< OF_SHARED_PTR< modelgbp::gbpe::EpgMappingCtxFromEpgMappingRTgt > > resolve(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri)
Retrieve an instance of EpgMappingCtxFromEpgMappingRTgt from the managed object store.
Definition EpgMappingCtxFromEpgMappingRTgt.hpp:210
modelgbp::gbpe::EpgMappingCtxFromEpgMappingRTgt & unsetRole()
Unset role in the currently-active mutator.
Definition EpgMappingCtxFromEpgMappingRTgt.hpp:81
EpgMappingCtxFromEpgMappingRTgt(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri, const OF_SHARED_PTR< const opflex::modb::mointernal::ObjectInstance > &oi)
Construct an instance of EpgMappingCtxFromEpgMappingRTgt.
Definition EpgMappingCtxFromEpgMappingRTgt.hpp:538
const std::string & getSource(const std::string &defaultValue)
Get the value of source if set, otherwise the value of default passed in.
Definition EpgMappingCtxFromEpgMappingRTgt.hpp:112
static void removeUnderPolicyUniverseGbpeEpgMapping(const std::string &gbpeEpgMappingName, const std::string &gbpeEpgMappingCtxFromEpgMappingRTgtSource)
Remove the EpgMappingCtxFromEpgMappingRTgt object with the specified path elements from the managed o...
Definition EpgMappingCtxFromEpgMappingRTgt.hpp:418
modelgbp::gbpe::EpgMappingCtxFromEpgMappingRTgt & unsetType()
Unset type in the currently-active mutator.
Definition EpgMappingCtxFromEpgMappingRTgt.hpp:193
boost::optional< const uint8_t > getType()
Get the value of type if it has been set.
Definition EpgMappingCtxFromEpgMappingRTgt.hpp:156
static void removeUnderPolicyUniverseGbpeIndirectEpgMapping(const std::string &gbpeIndirectEpgMappingName, const std::string &gbpeEpgMappingCtxFromEpgMappingRTgtSource)
Remove the EpgMappingCtxFromEpgMappingRTgt object with the specified path elements from the managed o...
Definition EpgMappingCtxFromEpgMappingRTgt.hpp:465
bool isSourceSet()
Check whether source has been set.
Definition EpgMappingCtxFromEpgMappingRTgt.hpp:91
void remove()
Remove this instance using the currently-active mutator.
Definition EpgMappingCtxFromEpgMappingRTgt.hpp:342
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 EpgMappingCtxFromEpgMappingRTgt.hpp:483
static boost::optional< OF_SHARED_PTR< modelgbp::gbpe::EpgMappingCtxFromEpgMappingRTgt > > resolveUnderPolicyUniverseGbpeEpgMapping(opflex::ofcore::OFFramework &framework, const std::string &gbpeEpgMappingName, const std::string &gbpeEpgMappingCtxFromEpgMappingRTgtSource)
Retrieve an instance of EpgMappingCtxFromEpgMappingRTgt from the managed object store by constructing...
Definition EpgMappingCtxFromEpgMappingRTgt.hpp:252
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 EpgMappingCtxFromEpgMappingRTgt.hpp:502
static boost::optional< OF_SHARED_PTR< modelgbp::gbpe::EpgMappingCtxFromEpgMappingRTgt > > resolveUnderPolicyUniverseGbpeEpgMapping(const std::string &gbpeEpgMappingName, const std::string &gbpeEpgMappingCtxFromEpgMappingRTgtSource)
Retrieve an instance of EpgMappingCtxFromEpgMappingRTgt from the default managed object store by cons...
Definition EpgMappingCtxFromEpgMappingRTgt.hpp:277
static void removeUnderPolicyUniverseGbpeEpgMapping(opflex::ofcore::OFFramework &framework, const std::string &gbpeEpgMappingName, const std::string &gbpeEpgMappingCtxFromEpgMappingRTgtSource)
Remove the EpgMappingCtxFromEpgMappingRTgt object with the specified path elements from the managed o...
Definition EpgMappingCtxFromEpgMappingRTgt.hpp:394
static boost::optional< OF_SHARED_PTR< modelgbp::gbpe::EpgMappingCtxFromEpgMappingRTgt > > resolveUnderPolicyUniverseGbpeIndirectEpgMapping(opflex::ofcore::OFFramework &framework, const std::string &gbpeIndirectEpgMappingName, const std::string &gbpeEpgMappingCtxFromEpgMappingRTgtSource)
Retrieve an instance of EpgMappingCtxFromEpgMappingRTgt from the managed object store by constructing...
Definition EpgMappingCtxFromEpgMappingRTgt.hpp:302
boost::optional< const uint8_t > getRole()
Get the value of role if it has been set.
Definition EpgMappingCtxFromEpgMappingRTgt.hpp:44
modelgbp::gbpe::EpgMappingCtxFromEpgMappingRTgt & setRole(const uint8_t newValue)
Set role to the specified value in the currently-active mutator.
Definition EpgMappingCtxFromEpgMappingRTgt.hpp:69
static void unregisterListener(opflex::modb::ObjectListener *listener)
Unregister a listener from updates to this class from the default framework instance.
Definition EpgMappingCtxFromEpgMappingRTgt.hpp:528
static void unregisterListener(opflex::ofcore::OFFramework &framework, opflex::modb::ObjectListener *listener)
Unregister a listener from updates to this class.
Definition EpgMappingCtxFromEpgMappingRTgt.hpp:514
modelgbp::gbpe::EpgMappingCtxFromEpgMappingRTgt & unsetSource()
Unset source in the currently-active mutator.
Definition EpgMappingCtxFromEpgMappingRTgt.hpp:137
static boost::optional< OF_SHARED_PTR< modelgbp::gbpe::EpgMappingCtxFromEpgMappingRTgt > > resolve(const opflex::modb::URI &uri)
Retrieve an instance of EpgMappingCtxFromEpgMappingRTgt from the managed object store using the defau...
Definition EpgMappingCtxFromEpgMappingRTgt.hpp:228
SOME COPYRIGHT.
Definition OpcodeEnumT.hpp:12