11#ifndef GI_SPAN_MEMBERTOREFRSRC_HPP
12#define GI_SPAN_MEMBERTOREFRSRC_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 = 74;
93 return getObjectInstance().isSet(2424835ul, opflex::modb::PropertyInfo::REFERENCE);
226 getTLMutator().modify(
getClassId(),
getURI())->unset(2424835ul, opflex::modb::PropertyInfo::REFERENCE, opflex::modb::PropertyInfo::SCALAR);
297 static boost::optional<OF_SHARED_PTR<modelgbp::span::MemberToRefRSrc> >
resolve(
299 const opflex::modb::URI&
uri)
301 return opflex::modb::mointernal::MO::resolve<modelgbp::span::MemberToRefRSrc>(
framework,
CLASS_ID,
uri);
315 static boost::optional<OF_SHARED_PTR<modelgbp::span::MemberToRefRSrc> >
resolve(
316 const opflex::modb::URI&
uri)
318 return opflex::modb::mointernal::MO::resolve<modelgbp::span::MemberToRefRSrc>(opflex::ofcore::OFFramework::defaultInstance(),
CLASS_ID,
uri);
569 const opflex::modb::URI&
uri)
586 remove(opflex::ofcore::OFFramework::defaultInstance(),
uri);
814 opflex::modb::ObjectListener*
listener)
816 opflex::modb::mointernal
832 opflex::modb::ObjectListener*
listener)
845 opflex::modb::ObjectListener*
listener)
847 opflex::modb::mointernal
858 opflex::modb::ObjectListener*
listener)
869 const opflex::modb::URI&
uri,
Definition MemberToRefRSrc.hpp:23
static boost::optional< OF_SHARED_PTR< modelgbp::span::MemberToRefRSrc > > resolveUnderPolicyUniversePlatformConfigSpanDstGrpSpanSrcMember(opflex::ofcore::OFFramework &framework, const std::string &platformConfigName, const std::string &spanDstGrpName, const std::string &spanSrcMemberName)
Retrieve an instance of MemberToRefRSrc from the managed object store by constructing its URI from th...
Definition MemberToRefRSrc.hpp:397
bool isTypeSet()
Check whether type has been set.
Definition MemberToRefRSrc.hpp:234
static void remove(const opflex::modb::URI &uri)
Remove the MemberToRefRSrc object with the specified URI using the currently-active mutator and the d...
Definition MemberToRefRSrc.hpp:584
modelgbp::span::MemberToRefRSrc & unsetTarget()
Unset target in the currently-active mutator.
Definition MemberToRefRSrc.hpp:224
modelgbp::span::MemberToRefRSrc & unsetType()
Unset type in the currently-active mutator.
Definition MemberToRefRSrc.hpp:280
boost::optional< opflex::modb::class_id_t > getTargetClass()
Get the value of targetClass if it has been set.
Definition MemberToRefRSrc.hpp:100
static boost::optional< OF_SHARED_PTR< modelgbp::span::MemberToRefRSrc > > resolveUnderPolicyUniversePlatformConfigSpanSrcGrpSpanDstMember(opflex::ofcore::OFFramework &framework, const std::string &platformConfigName, const std::string &spanSrcGrpName, const std::string &spanDstMemberName)
Retrieve an instance of MemberToRefRSrc from the managed object store by constructing its URI from th...
Definition MemberToRefRSrc.hpp:453
opflex::modb::URI getTargetURI(opflex::modb::URI defaultValue)
Get the value of targetURI if set, otherwise the value of default passed in.
Definition MemberToRefRSrc.hpp:133
modelgbp::span::MemberToRefRSrc & setType(const uint8_t newValue)
Set type to the specified value in the currently-active mutator.
Definition MemberToRefRSrc.hpp:268
static void removeUnderPolicyUniversePlatformConfigSpanSrcGrpSpanDstMember(opflex::ofcore::OFFramework &framework, const std::string &platformConfigName, const std::string &spanSrcGrpName, const std::string &spanDstMemberName)
Remove the MemberToRefRSrc object with the specified path elements from the managed object store.
Definition MemberToRefRSrc.hpp:713
modelgbp::span::MemberToRefRSrc & setTargetEpGroup(const std::string &policySpaceName, const std::string &gbpEpGroupName)
Set the reference to point to an instance of EpGroup in the currently-active mutator by constructing ...
Definition MemberToRefRSrc.hpp:170
static boost::optional< OF_SHARED_PTR< modelgbp::span::MemberToRefRSrc > > resolveUnderPolicyUniversePlatformConfigSpanDstGrpSpanDstMember(opflex::ofcore::OFFramework &framework, const std::string &platformConfigName, const std::string &spanDstGrpName, const std::string &spanDstMemberName)
Retrieve an instance of MemberToRefRSrc from the managed object store by constructing its URI from th...
Definition MemberToRefRSrc.hpp:509
const uint8_t getRole(const uint8_t defaultValue)
Get the value of role if set, otherwise the value of default passed in.
Definition MemberToRefRSrc.hpp:56
const uint8_t getType(const uint8_t defaultValue)
Get the value of type if set, otherwise the value of default passed in.
Definition MemberToRefRSrc.hpp:255
static void removeUnderPolicyUniversePlatformConfigSpanSrcGrpSpanDstMember(const std::string &platformConfigName, const std::string &spanSrcGrpName, const std::string &spanDstMemberName)
Remove the MemberToRefRSrc object with the specified path elements from the managed object store usin...
Definition MemberToRefRSrc.hpp:740
boost::optional< const uint8_t > getRole()
Get the value of role if it has been set.
Definition MemberToRefRSrc.hpp:44
static void removeUnderPolicyUniversePlatformConfigSpanDstGrpSpanDstMember(const std::string &platformConfigName, const std::string &spanDstGrpName, const std::string &spanDstMemberName)
Remove the MemberToRefRSrc object with the specified path elements from the managed object store usin...
Definition MemberToRefRSrc.hpp:793
MemberToRefRSrc(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri, const OF_SHARED_PTR< const opflex::modb::mointernal::ObjectInstance > &oi)
Construct an instance of MemberToRefRSrc.
Definition MemberToRefRSrc.hpp:867
static void removeUnderPolicyUniversePlatformConfigSpanDstGrpSpanDstMember(opflex::ofcore::OFFramework &framework, const std::string &platformConfigName, const std::string &spanDstGrpName, const std::string &spanDstMemberName)
Remove the MemberToRefRSrc object with the specified path elements from the managed object store.
Definition MemberToRefRSrc.hpp:766
static void unregisterListener(opflex::modb::ObjectListener *listener)
Unregister a listener from updates to this class from the default framework instance.
Definition MemberToRefRSrc.hpp:857
boost::optional< opflex::modb::URI > getTargetURI()
Get the value of targetURI if it has been set.
Definition MemberToRefRSrc.hpp:111
static boost::optional< OF_SHARED_PTR< modelgbp::span::MemberToRefRSrc > > resolveUnderPolicyUniversePlatformConfigSpanDstGrpSpanDstMember(const std::string &platformConfigName, const std::string &spanDstGrpName, const std::string &spanDstMemberName)
Retrieve an instance of MemberToRefRSrc from the default managed object store by constructing its URI...
Definition MemberToRefRSrc.hpp:537
bool isTargetSet()
Check whether target has been set.
Definition MemberToRefRSrc.hpp:91
bool isRoleSet()
Check whether role has been set.
Definition MemberToRefRSrc.hpp:35
static boost::optional< OF_SHARED_PTR< modelgbp::span::MemberToRefRSrc > > resolve(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri)
Retrieve an instance of MemberToRefRSrc from the managed object store.
Definition MemberToRefRSrc.hpp:297
modelgbp::span::MemberToRefRSrc & setTargetLocalEp(const opflex::modb::URI &uri)
Set the reference to point to an instance of LocalEp with the specified URI.
Definition MemberToRefRSrc.hpp:187
modelgbp::span::MemberToRefRSrc & unsetRole()
Unset role in the currently-active mutator.
Definition MemberToRefRSrc.hpp:81
modelgbp::span::MemberToRefRSrc & setTargetLocalEp(const std::string &platformConfigName, const std::string &spanLocalEpName)
Set the reference to point to an instance of LocalEp in the currently-active mutator by constructing ...
Definition MemberToRefRSrc.hpp:210
static const opflex::modb::class_id_t CLASS_ID
The unique class ID for MemberToRefRSrc.
Definition MemberToRefRSrc.hpp:29
static boost::optional< OF_SHARED_PTR< modelgbp::span::MemberToRefRSrc > > resolveUnderPolicyUniversePlatformConfigSpanSrcGrpSpanSrcMember(const std::string &platformConfigName, const std::string &spanSrcGrpName, const std::string &spanSrcMemberName)
Retrieve an instance of MemberToRefRSrc from the default managed object store by constructing its URI...
Definition MemberToRefRSrc.hpp:369
modelgbp::span::MemberToRefRSrc & setRole(const uint8_t newValue)
Set role to the specified value in the currently-active mutator.
Definition MemberToRefRSrc.hpp:69
opflex::modb::class_id_t getTargetClass(opflex::modb::class_id_t defaultValue)
Get the value of targetClass if set, otherwise the value of default passed in.
Definition MemberToRefRSrc.hpp:123
static void unregisterListener(opflex::ofcore::OFFramework &framework, opflex::modb::ObjectListener *listener)
Unregister a listener from updates to this class.
Definition MemberToRefRSrc.hpp:843
static void removeUnderPolicyUniversePlatformConfigSpanSrcGrpSpanSrcMember(const std::string &platformConfigName, const std::string &spanSrcGrpName, const std::string &spanSrcMemberName)
Remove the MemberToRefRSrc object with the specified path elements from the managed object store usin...
Definition MemberToRefRSrc.hpp:634
static boost::optional< OF_SHARED_PTR< modelgbp::span::MemberToRefRSrc > > resolveUnderPolicyUniversePlatformConfigSpanSrcGrpSpanSrcMember(opflex::ofcore::OFFramework &framework, const std::string &platformConfigName, const std::string &spanSrcGrpName, const std::string &spanSrcMemberName)
Retrieve an instance of MemberToRefRSrc from the managed object store by constructing its URI from th...
Definition MemberToRefRSrc.hpp:341
static boost::optional< OF_SHARED_PTR< modelgbp::span::MemberToRefRSrc > > resolveUnderPolicyUniversePlatformConfigSpanSrcGrpSpanDstMember(const std::string &platformConfigName, const std::string &spanSrcGrpName, const std::string &spanDstMemberName)
Retrieve an instance of MemberToRefRSrc from the default managed object store by constructing its URI...
Definition MemberToRefRSrc.hpp:481
static void removeUnderPolicyUniversePlatformConfigSpanDstGrpSpanSrcMember(opflex::ofcore::OFFramework &framework, const std::string &platformConfigName, const std::string &spanDstGrpName, const std::string &spanSrcMemberName)
Remove the MemberToRefRSrc object with the specified path elements from the managed object store.
Definition MemberToRefRSrc.hpp:660
static boost::optional< OF_SHARED_PTR< modelgbp::span::MemberToRefRSrc > > resolve(const opflex::modb::URI &uri)
Retrieve an instance of MemberToRefRSrc from the managed object store using the default framework ins...
Definition MemberToRefRSrc.hpp:315
static void remove(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri)
Remove the MemberToRefRSrc object with the specified URI using the currently-active mutator.
Definition MemberToRefRSrc.hpp:568
boost::optional< const uint8_t > getType()
Get the value of type if it has been set.
Definition MemberToRefRSrc.hpp:243
void remove()
Remove this instance using the currently-active mutator.
Definition MemberToRefRSrc.hpp:553
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 MemberToRefRSrc.hpp:831
static void removeUnderPolicyUniversePlatformConfigSpanDstGrpSpanSrcMember(const std::string &platformConfigName, const std::string &spanDstGrpName, const std::string &spanSrcMemberName)
Remove the MemberToRefRSrc object with the specified path elements from the managed object store usin...
Definition MemberToRefRSrc.hpp:687
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 MemberToRefRSrc.hpp:812
static boost::optional< OF_SHARED_PTR< modelgbp::span::MemberToRefRSrc > > resolveUnderPolicyUniversePlatformConfigSpanDstGrpSpanSrcMember(const std::string &platformConfigName, const std::string &spanDstGrpName, const std::string &spanSrcMemberName)
Retrieve an instance of MemberToRefRSrc from the default managed object store by constructing its URI...
Definition MemberToRefRSrc.hpp:425
static void removeUnderPolicyUniversePlatformConfigSpanSrcGrpSpanSrcMember(opflex::ofcore::OFFramework &framework, const std::string &platformConfigName, const std::string &spanSrcGrpName, const std::string &spanSrcMemberName)
Remove the MemberToRefRSrc object with the specified path elements from the managed object store.
Definition MemberToRefRSrc.hpp:607
modelgbp::span::MemberToRefRSrc & setTargetEpGroup(const opflex::modb::URI &uri)
Set the reference to point to an instance of EpGroup with the specified URI.
Definition MemberToRefRSrc.hpp:147
SOME COPYRIGHT.
Definition OpcodeEnumT.hpp:12