11#ifndef GI_GBPE_EPGMAPPING_HPP
12#define GI_GBPE_EPGMAPPING_HPP
14#include <boost/optional.hpp>
15#include "opflex/modb/URIBuilder.h"
16#include "opflex/modb/mo-internal/MO.h"
20#include "modelgbp/gbpe/EpgMappingToDefaultGroupRSrc.hpp"
24#include "modelgbp/gbpe/EpgMappingCtxFromEpgMappingRTgt.hpp"
28#include "modelgbp/gbpe/AttributeMappingRule.hpp"
34 :
public opflex::modb::mointernal::MO
41 static const opflex::modb::class_id_t
CLASS_ID = 10;
56 boost::optional<const std::string&>
getName()
110 static boost::optional<OF_SHARED_PTR<modelgbp::gbpe::EpgMapping> >
resolve(
112 const opflex::modb::URI&
uri)
114 return opflex::modb::mointernal::MO::resolve<modelgbp::gbpe::EpgMapping>(
framework,
CLASS_ID,
uri);
128 static boost::optional<OF_SHARED_PTR<modelgbp::gbpe::EpgMapping> >
resolve(
129 const opflex::modb::URI&
uri)
131 return opflex::modb::mointernal::MO::resolve<modelgbp::gbpe::EpgMapping>(opflex::ofcore::OFFramework::defaultInstance(),
CLASS_ID,
uri);
150 static boost::optional<OF_SHARED_PTR<modelgbp::gbpe::EpgMapping> >
resolve(
172 static boost::optional<OF_SHARED_PTR<modelgbp::gbpe::EpgMapping> >
resolve(
269 opflex::modb::mointernal::MO::resolveChildren<modelgbp::gbpe::EpgMappingCtxFromEpgMappingRTgt>(
329 opflex::modb::mointernal::MO::resolveChildren<modelgbp::gbpe::AttributeMappingRule>(
357 const opflex::modb::URI&
uri)
374 remove(opflex::ofcore::OFFramework::defaultInstance(),
uri);
431 opflex::modb::ObjectListener*
listener)
433 opflex::modb::mointernal
449 opflex::modb::ObjectListener*
listener)
462 opflex::modb::ObjectListener*
listener)
464 opflex::modb::mointernal
475 opflex::modb::ObjectListener*
listener)
486 const opflex::modb::URI&
uri,
static boost::optional< OF_SHARED_PTR< modelgbp::gbpe::AttributeMappingRule > > resolve(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri)
Retrieve an instance of AttributeMappingRule from the managed object store.
Definition AttributeMappingRule.hpp:382
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
static boost::optional< OF_SHARED_PTR< modelgbp::gbpe::EpgMappingToDefaultGroupRSrc > > resolve(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri)
Retrieve an instance of EpgMappingToDefaultGroupRSrc from the managed object store.
Definition EpgMappingToDefaultGroupRSrc.hpp:257
Definition EpgMapping.hpp:35
OF_SHARED_PTR< modelgbp::gbpe::EpgMappingToDefaultGroupRSrc > addGbpeEpgMappingToDefaultGroupRSrc()
Create a new child object with the specified naming properties and make it a child of this object in ...
Definition EpgMapping.hpp:203
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 EpgMapping.hpp:448
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 EpgMapping.hpp:429
OF_SHARED_PTR< modelgbp::gbpe::AttributeMappingRule > addGbpeAttributeMappingRule(const std::string &gbpeAttributeMappingRuleName)
Create a new child object with the specified naming properties and make it a child of this object in ...
Definition EpgMapping.hpp:302
static boost::optional< OF_SHARED_PTR< modelgbp::gbpe::EpgMapping > > resolve(opflex::ofcore::OFFramework &framework, const std::string &gbpeEpgMappingName)
Retrieve an instance of EpgMapping from the managed object store by constructing its URI from the pat...
Definition EpgMapping.hpp:150
static void unregisterListener(opflex::ofcore::OFFramework &framework, opflex::modb::ObjectListener *listener)
Unregister a listener from updates to this class.
Definition EpgMapping.hpp:460
static boost::optional< OF_SHARED_PTR< modelgbp::gbpe::EpgMapping > > resolve(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri)
Retrieve an instance of EpgMapping from the managed object store.
Definition EpgMapping.hpp:110
boost::optional< OF_SHARED_PTR< modelgbp::gbpe::AttributeMappingRule > > resolveGbpeAttributeMappingRule(const std::string &gbpeAttributeMappingRuleName)
Retrieve the child object with the specified naming properties.
Definition EpgMapping.hpp:284
static void remove(opflex::ofcore::OFFramework &framework, const std::string &gbpeEpgMappingName)
Remove the EpgMapping object with the specified path elements from the managed object store.
Definition EpgMapping.hpp:391
static void remove(const opflex::modb::URI &uri)
Remove the EpgMapping object with the specified URI using the currently-active mutator and the defaul...
Definition EpgMapping.hpp:372
bool isNameSet()
Check whether name has been set.
Definition EpgMapping.hpp:47
boost::optional< const std::string & > getName()
Get the value of name if it has been set.
Definition EpgMapping.hpp:56
static void unregisterListener(opflex::modb::ObjectListener *listener)
Unregister a listener from updates to this class from the default framework instance.
Definition EpgMapping.hpp:474
modelgbp::gbpe::EpgMapping & setName(const std::string &newValue)
Set name to the specified value in the currently-active mutator.
Definition EpgMapping.hpp:81
void resolveGbpeAttributeMappingRule(std::vector< OF_SHARED_PTR< modelgbp::gbpe::AttributeMappingRule > > &out)
Resolve and retrieve all of the immediate children of type modelgbp::gbpe::AttributeMappingRule.
Definition EpgMapping.hpp:327
EpgMapping(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri, const OF_SHARED_PTR< const opflex::modb::mointernal::ObjectInstance > &oi)
Construct an instance of EpgMapping.
Definition EpgMapping.hpp:484
void resolveGbpeEpgMappingCtxFromEpgMappingRTgt(std::vector< OF_SHARED_PTR< modelgbp::gbpe::EpgMappingCtxFromEpgMappingRTgt > > &out)
Resolve and retrieve all of the immediate children of type modelgbp::gbpe::EpgMappingCtxFromEpgMappin...
Definition EpgMapping.hpp:267
OF_SHARED_PTR< modelgbp::gbpe::EpgMappingCtxFromEpgMappingRTgt > addGbpeEpgMappingCtxFromEpgMappingRTgt(const std::string &gbpeEpgMappingCtxFromEpgMappingRTgtSource)
Create a new child object with the specified naming properties and make it a child of this object in ...
Definition EpgMapping.hpp:242
boost::optional< OF_SHARED_PTR< modelgbp::gbpe::EpgMappingToDefaultGroupRSrc > > resolveGbpeEpgMappingToDefaultGroupRSrc()
Retrieve the child object with the specified naming properties.
Definition EpgMapping.hpp:187
static boost::optional< OF_SHARED_PTR< modelgbp::gbpe::EpgMapping > > resolve(const std::string &gbpeEpgMappingName)
Retrieve an instance of EpgMapping from the default managed object store by constructing its URI from...
Definition EpgMapping.hpp:172
boost::optional< OF_SHARED_PTR< modelgbp::gbpe::EpgMappingCtxFromEpgMappingRTgt > > resolveGbpeEpgMappingCtxFromEpgMappingRTgt(const std::string &gbpeEpgMappingCtxFromEpgMappingRTgtSource)
Retrieve the child object with the specified naming properties.
Definition EpgMapping.hpp:224
modelgbp::gbpe::EpgMapping & unsetName()
Unset name in the currently-active mutator.
Definition EpgMapping.hpp:93
static void remove(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri)
Remove the EpgMapping object with the specified URI using the currently-active mutator.
Definition EpgMapping.hpp:356
static const opflex::modb::class_id_t CLASS_ID
The unique class ID for EpgMapping.
Definition EpgMapping.hpp:41
const std::string & getName(const std::string &defaultValue)
Get the value of name if set, otherwise the value of default passed in.
Definition EpgMapping.hpp:68
void remove()
Remove this instance using the currently-active mutator.
Definition EpgMapping.hpp:341
static boost::optional< OF_SHARED_PTR< modelgbp::gbpe::EpgMapping > > resolve(const opflex::modb::URI &uri)
Retrieve an instance of EpgMapping from the managed object store using the default framework instance...
Definition EpgMapping.hpp:128
static void remove(const std::string &gbpeEpgMappingName)
Remove the EpgMapping object with the specified path elements from the managed object store using the...
Definition EpgMapping.hpp:412
SOME COPYRIGHT.
Definition OpcodeEnumT.hpp:12