11#ifndef GI_SPAN_DSTMEMBER_HPP
12#define GI_SPAN_DSTMEMBER_HPP
14#include <boost/optional.hpp>
15#include "opflex/modb/URIBuilder.h"
16#include "opflex/modb/mo-internal/MO.h"
20#include "modelgbp/span/MemberToRefRSrc.hpp"
24#include "modelgbp/span/DstSummary.hpp"
30 :
public opflex::modb::mointernal::MO
37 static const opflex::modb::class_id_t
CLASS_ID = 78;
52 boost::optional<const std::string&>
getName()
106 static boost::optional<OF_SHARED_PTR<modelgbp::span::DstMember> >
resolve(
108 const opflex::modb::URI&
uri)
110 return opflex::modb::mointernal::MO::resolve<modelgbp::span::DstMember>(
framework,
CLASS_ID,
uri);
124 static boost::optional<OF_SHARED_PTR<modelgbp::span::DstMember> >
resolve(
125 const opflex::modb::URI&
uri)
127 return opflex::modb::mointernal::MO::resolve<modelgbp::span::DstMember>(opflex::ofcore::OFFramework::defaultInstance(),
CLASS_ID,
uri);
336 const opflex::modb::URI&
uri)
353 remove(opflex::ofcore::OFFramework::defaultInstance(),
uri);
475 opflex::modb::ObjectListener*
listener)
477 opflex::modb::mointernal
493 opflex::modb::ObjectListener*
listener)
506 opflex::modb::ObjectListener*
listener)
508 opflex::modb::mointernal
519 opflex::modb::ObjectListener*
listener)
530 const opflex::modb::URI&
uri,
Definition DstMember.hpp:31
static void remove(const opflex::modb::URI &uri)
Remove the DstMember object with the specified URI using the currently-active mutator and the default...
Definition DstMember.hpp:351
static boost::optional< OF_SHARED_PTR< modelgbp::span::DstMember > > resolveUnderPolicyUniversePlatformConfigSpanSrcGrp(const std::string &platformConfigName, const std::string &spanSrcGrpName, const std::string &spanDstMemberName)
Retrieve an instance of DstMember from the default managed object store by constructing its URI from ...
Definition DstMember.hpp:178
modelgbp::span::DstMember & unsetName()
Unset name in the currently-active mutator.
Definition DstMember.hpp:89
void remove()
Remove this instance using the currently-active mutator.
Definition DstMember.hpp:320
OF_SHARED_PTR< modelgbp::span::MemberToRefRSrc > addSpanMemberToRefRSrc()
Create a new child object with the specified naming properties and make it a child of this object in ...
Definition DstMember.hpp:267
DstMember(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri, const OF_SHARED_PTR< const opflex::modb::mointernal::ObjectInstance > &oi)
Construct an instance of DstMember.
Definition DstMember.hpp:528
static void removeUnderPolicyUniversePlatformConfigSpanSrcGrp(const std::string &platformConfigName, const std::string &spanSrcGrpName, const std::string &spanDstMemberName)
Remove the DstMember object with the specified path elements from the managed object store using the ...
Definition DstMember.hpp:401
static boost::optional< OF_SHARED_PTR< modelgbp::span::DstMember > > resolve(const opflex::modb::URI &uri)
Retrieve an instance of DstMember from the managed object store using the default framework instance.
Definition DstMember.hpp:124
static void unregisterListener(opflex::modb::ObjectListener *listener)
Unregister a listener from updates to this class from the default framework instance.
Definition DstMember.hpp:518
modelgbp::span::DstMember & setName(const std::string &newValue)
Set name to the specified value in the currently-active mutator.
Definition DstMember.hpp:77
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 DstMember.hpp:473
boost::optional< OF_SHARED_PTR< modelgbp::span::MemberToRefRSrc > > resolveSpanMemberToRefRSrc()
Retrieve the child object with the specified naming properties.
Definition DstMember.hpp:251
static void removeUnderPolicyUniversePlatformConfigSpanSrcGrp(opflex::ofcore::OFFramework &framework, const std::string &platformConfigName, const std::string &spanSrcGrpName, const std::string &spanDstMemberName)
Remove the DstMember object with the specified path elements from the managed object store.
Definition DstMember.hpp:374
static void unregisterListener(opflex::ofcore::OFFramework &framework, opflex::modb::ObjectListener *listener)
Unregister a listener from updates to this class.
Definition DstMember.hpp:504
static void removeUnderPolicyUniversePlatformConfigSpanDstGrp(opflex::ofcore::OFFramework &framework, const std::string &platformConfigName, const std::string &spanDstGrpName, const std::string &spanDstMemberName)
Remove the DstMember object with the specified path elements from the managed object store.
Definition DstMember.hpp:427
static boost::optional< OF_SHARED_PTR< modelgbp::span::DstMember > > resolve(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri)
Retrieve an instance of DstMember from the managed object store.
Definition DstMember.hpp:106
static boost::optional< OF_SHARED_PTR< modelgbp::span::DstMember > > resolveUnderPolicyUniversePlatformConfigSpanSrcGrp(opflex::ofcore::OFFramework &framework, const std::string &platformConfigName, const std::string &spanSrcGrpName, const std::string &spanDstMemberName)
Retrieve an instance of DstMember from the managed object store by constructing its URI from the path...
Definition DstMember.hpp:150
OF_SHARED_PTR< modelgbp::span::DstSummary > addSpanDstSummary()
Create a new child object with the specified naming properties and make it a child of this object in ...
Definition DstMember.hpp:302
boost::optional< const std::string & > getName()
Get the value of name if it has been set.
Definition DstMember.hpp:52
static const opflex::modb::class_id_t CLASS_ID
The unique class ID for DstMember.
Definition DstMember.hpp:37
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 DstMember.hpp:492
static void remove(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri)
Remove the DstMember object with the specified URI using the currently-active mutator.
Definition DstMember.hpp:335
static void removeUnderPolicyUniversePlatformConfigSpanDstGrp(const std::string &platformConfigName, const std::string &spanDstGrpName, const std::string &spanDstMemberName)
Remove the DstMember object with the specified path elements from the managed object store using the ...
Definition DstMember.hpp:454
const std::string & getName(const std::string &defaultValue)
Get the value of name if set, otherwise the value of default passed in.
Definition DstMember.hpp:64
static boost::optional< OF_SHARED_PTR< modelgbp::span::DstMember > > resolveUnderPolicyUniversePlatformConfigSpanDstGrp(const std::string &platformConfigName, const std::string &spanDstGrpName, const std::string &spanDstMemberName)
Retrieve an instance of DstMember from the default managed object store by constructing its URI from ...
Definition DstMember.hpp:234
static boost::optional< OF_SHARED_PTR< modelgbp::span::DstMember > > resolveUnderPolicyUniversePlatformConfigSpanDstGrp(opflex::ofcore::OFFramework &framework, const std::string &platformConfigName, const std::string &spanDstGrpName, const std::string &spanDstMemberName)
Retrieve an instance of DstMember from the managed object store by constructing its URI from the path...
Definition DstMember.hpp:206
boost::optional< OF_SHARED_PTR< modelgbp::span::DstSummary > > resolveSpanDstSummary()
Retrieve the child object with the specified naming properties.
Definition DstMember.hpp:286
bool isNameSet()
Check whether name has been set.
Definition DstMember.hpp:43
static boost::optional< OF_SHARED_PTR< modelgbp::span::DstSummary > > resolve(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri)
Retrieve an instance of DstSummary from the managed object store.
Definition DstSummary.hpp:546
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
SOME COPYRIGHT.
Definition OpcodeEnumT.hpp:12