11#ifndef GI_SPAN_DSTGRP_HPP
12#define GI_SPAN_DSTGRP_HPP
14#include <boost/optional.hpp>
15#include "opflex/modb/URIBuilder.h"
16#include "opflex/modb/mo-internal/MO.h"
20#include "modelgbp/span/SrcMember.hpp"
24#include "modelgbp/span/DstMember.hpp"
30 :
public opflex::modb::mointernal::MO
37 static const opflex::modb::class_id_t
CLASS_ID = 68;
52 boost::optional<const std::string&>
getName()
106 static boost::optional<OF_SHARED_PTR<modelgbp::span::DstGrp> >
resolve(
108 const opflex::modb::URI&
uri)
124 static boost::optional<OF_SHARED_PTR<modelgbp::span::DstGrp> >
resolve(
125 const opflex::modb::URI&
uri)
127 return opflex::modb::mointernal::MO::resolve<modelgbp::span::DstGrp>(opflex::ofcore::OFFramework::defaultInstance(),
CLASS_ID,
uri);
148 static boost::optional<OF_SHARED_PTR<modelgbp::span::DstGrp> >
resolve(
173 static boost::optional<OF_SHARED_PTR<modelgbp::span::DstGrp> >
resolve(
236 opflex::modb::mointernal::MO::resolveChildren<modelgbp::span::SrcMember>(
296 opflex::modb::mointernal::MO::resolveChildren<modelgbp::span::DstMember>(
324 const opflex::modb::URI&
uri)
341 remove(opflex::ofcore::OFFramework::defaultInstance(),
uri);
404 opflex::modb::ObjectListener*
listener)
406 opflex::modb::mointernal
422 opflex::modb::ObjectListener*
listener)
435 opflex::modb::ObjectListener*
listener)
437 opflex::modb::mointernal
448 opflex::modb::ObjectListener*
listener)
459 const opflex::modb::URI&
uri,
static boost::optional< OF_SHARED_PTR< modelgbp::span::DstGrp > > resolve(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri)
Retrieve an instance of DstGrp from the managed object store.
Definition DstGrp.hpp:106
modelgbp::span::DstGrp & unsetName()
Unset name in the currently-active mutator.
Definition DstGrp.hpp:89
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 DstGrp.hpp:421
OF_SHARED_PTR< modelgbp::span::DstMember > addSpanDstMember(const std::string &spanDstMemberName)
Create a new child object with the specified naming properties and make it a child of this object in ...
Definition DstGrp.hpp:269
static void remove(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri)
Remove the DstGrp object with the specified URI using the currently-active mutator.
Definition DstGrp.hpp:323
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 DstGrp.hpp:402
DstGrp(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri, const OF_SHARED_PTR< const opflex::modb::mointernal::ObjectInstance > &oi)
Construct an instance of DstGrp.
Definition DstGrp.hpp:457
bool isNameSet()
Check whether name has been set.
Definition DstGrp.hpp:43
void resolveSpanDstMember(std::vector< OF_SHARED_PTR< modelgbp::span::DstMember > > &out)
Resolve and retrieve all of the immediate children of type modelgbp::span::DstMember.
Definition DstGrp.hpp:294
const std::string & getName(const std::string &defaultValue)
Get the value of name if set, otherwise the value of default passed in.
Definition DstGrp.hpp:64
OF_SHARED_PTR< modelgbp::span::SrcMember > addSpanSrcMember(const std::string &spanSrcMemberName)
Create a new child object with the specified naming properties and make it a child of this object in ...
Definition DstGrp.hpp:209
static void remove(const std::string &platformConfigName, const std::string &spanDstGrpName)
Remove the DstGrp object with the specified path elements from the managed object store using the def...
Definition DstGrp.hpp:384
static boost::optional< OF_SHARED_PTR< modelgbp::span::DstGrp > > resolve(const std::string &platformConfigName, const std::string &spanDstGrpName)
Retrieve an instance of DstGrp from the default managed object store by constructing its URI from the...
Definition DstGrp.hpp:173
static void remove(const opflex::modb::URI &uri)
Remove the DstGrp object with the specified URI using the currently-active mutator and the default fr...
Definition DstGrp.hpp:339
boost::optional< const std::string & > getName()
Get the value of name if it has been set.
Definition DstGrp.hpp:52
static void unregisterListener(opflex::ofcore::OFFramework &framework, opflex::modb::ObjectListener *listener)
Unregister a listener from updates to this class.
Definition DstGrp.hpp:433
static const opflex::modb::class_id_t CLASS_ID
The unique class ID for DstGrp.
Definition DstGrp.hpp:37
void remove()
Remove this instance using the currently-active mutator.
Definition DstGrp.hpp:308
static void remove(opflex::ofcore::OFFramework &framework, const std::string &platformConfigName, const std::string &spanDstGrpName)
Remove the DstGrp object with the specified path elements from the managed object store.
Definition DstGrp.hpp:360
modelgbp::span::DstGrp & setName(const std::string &newValue)
Set name to the specified value in the currently-active mutator.
Definition DstGrp.hpp:77
static boost::optional< OF_SHARED_PTR< modelgbp::span::DstGrp > > resolve(opflex::ofcore::OFFramework &framework, const std::string &platformConfigName, const std::string &spanDstGrpName)
Retrieve an instance of DstGrp from the managed object store by constructing its URI from the path el...
Definition DstGrp.hpp:148
static boost::optional< OF_SHARED_PTR< modelgbp::span::DstGrp > > resolve(const opflex::modb::URI &uri)
Retrieve an instance of DstGrp from the managed object store using the default framework instance.
Definition DstGrp.hpp:124
boost::optional< OF_SHARED_PTR< modelgbp::span::SrcMember > > resolveSpanSrcMember(const std::string &spanSrcMemberName)
Retrieve the child object with the specified naming properties.
Definition DstGrp.hpp:191
void resolveSpanSrcMember(std::vector< OF_SHARED_PTR< modelgbp::span::SrcMember > > &out)
Resolve and retrieve all of the immediate children of type modelgbp::span::SrcMember.
Definition DstGrp.hpp:234
static void unregisterListener(opflex::modb::ObjectListener *listener)
Unregister a listener from updates to this class from the default framework instance.
Definition DstGrp.hpp:447
boost::optional< OF_SHARED_PTR< modelgbp::span::DstMember > > resolveSpanDstMember(const std::string &spanDstMemberName)
Retrieve the child object with the specified naming properties.
Definition DstGrp.hpp:251
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::SrcMember > > resolve(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri)
Retrieve an instance of SrcMember from the managed object store.
Definition SrcMember.hpp:158
SOME COPYRIGHT.
Definition OpcodeEnumT.hpp:12