11#ifndef GI_DCI_EPTOUNIVRSRC_HPP
12#define GI_DCI_EPTOUNIVRSRC_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 = 84;
93 return getObjectInstance().isSet(2752515ul, opflex::modb::PropertyInfo::REFERENCE);
181 getTLMutator().modify(
getClassId(),
getURI())->unset(2752515ul, opflex::modb::PropertyInfo::REFERENCE, opflex::modb::PropertyInfo::SCALAR);
252 static boost::optional<OF_SHARED_PTR<modelgbp::dci::EpToUnivRSrc> >
resolve(
254 const opflex::modb::URI&
uri)
256 return opflex::modb::mointernal::MO::resolve<modelgbp::dci::EpToUnivRSrc>(
framework,
CLASS_ID,
uri);
270 static boost::optional<OF_SHARED_PTR<modelgbp::dci::EpToUnivRSrc> >
resolve(
271 const opflex::modb::URI&
uri)
273 return opflex::modb::mointernal::MO::resolve<modelgbp::dci::EpToUnivRSrc>(opflex::ofcore::OFFramework::defaultInstance(),
CLASS_ID,
uri);
290 static boost::optional<OF_SHARED_PTR<modelgbp::dci::EpToUnivRSrc> >
resolve(
309 static boost::optional<OF_SHARED_PTR<modelgbp::dci::EpToUnivRSrc> >
resolve(
312 return resolve(opflex::ofcore::OFFramework::defaultInstance());
339 const opflex::modb::URI&
uri)
356 remove(opflex::ofcore::OFFramework::defaultInstance(),
uri);
372 opflex::modb::ObjectListener*
listener)
374 opflex::modb::mointernal
390 opflex::modb::ObjectListener*
listener)
403 opflex::modb::ObjectListener*
listener)
405 opflex::modb::mointernal
416 opflex::modb::ObjectListener*
listener)
427 const opflex::modb::URI&
uri,
Definition EpToUnivRSrc.hpp:23
EpToUnivRSrc(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri, const OF_SHARED_PTR< const opflex::modb::mointernal::ObjectInstance > &oi)
Construct an instance of EpToUnivRSrc.
Definition EpToUnivRSrc.hpp:425
static const opflex::modb::class_id_t CLASS_ID
The unique class ID for EpToUnivRSrc.
Definition EpToUnivRSrc.hpp:29
bool isTypeSet()
Check whether type has been set.
Definition EpToUnivRSrc.hpp:189
static void remove(const opflex::modb::URI &uri)
Remove the EpToUnivRSrc object with the specified URI using the currently-active mutator and the defa...
Definition EpToUnivRSrc.hpp:354
modelgbp::dci::EpToUnivRSrc & setTargetUniverse()
Set the reference to point to an instance of Universe in the currently-active mutator by constructing...
Definition EpToUnivRSrc.hpp:166
modelgbp::dci::EpToUnivRSrc & unsetType()
Unset type in the currently-active mutator.
Definition EpToUnivRSrc.hpp:235
const uint8_t getType(const uint8_t defaultValue)
Get the value of type if set, otherwise the value of default passed in.
Definition EpToUnivRSrc.hpp:210
modelgbp::dci::EpToUnivRSrc & unsetTarget()
Unset target in the currently-active mutator.
Definition EpToUnivRSrc.hpp:179
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 EpToUnivRSrc.hpp:370
boost::optional< opflex::modb::class_id_t > getTargetClass()
Get the value of targetClass if it has been set.
Definition EpToUnivRSrc.hpp:100
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 EpToUnivRSrc.hpp:389
boost::optional< const uint8_t > getType()
Get the value of type if it has been set.
Definition EpToUnivRSrc.hpp:198
static void unregisterListener(opflex::modb::ObjectListener *listener)
Unregister a listener from updates to this class from the default framework instance.
Definition EpToUnivRSrc.hpp:415
boost::optional< opflex::modb::URI > getTargetURI()
Get the value of targetURI if it has been set.
Definition EpToUnivRSrc.hpp:111
static void remove(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri)
Remove the EpToUnivRSrc object with the specified URI using the currently-active mutator.
Definition EpToUnivRSrc.hpp:338
opflex::modb::URI getTargetURI(opflex::modb::URI defaultValue)
Get the value of targetURI if set, otherwise the value of default passed in.
Definition EpToUnivRSrc.hpp:133
modelgbp::dci::EpToUnivRSrc & unsetRole()
Unset role in the currently-active mutator.
Definition EpToUnivRSrc.hpp:81
const uint8_t getRole(const uint8_t defaultValue)
Get the value of role if set, otherwise the value of default passed in.
Definition EpToUnivRSrc.hpp:56
static boost::optional< OF_SHARED_PTR< modelgbp::dci::EpToUnivRSrc > > resolve(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri)
Retrieve an instance of EpToUnivRSrc from the managed object store.
Definition EpToUnivRSrc.hpp:252
static boost::optional< OF_SHARED_PTR< modelgbp::dci::EpToUnivRSrc > > resolve(opflex::ofcore::OFFramework &framework)
Retrieve an instance of EpToUnivRSrc from the managed object store by constructing its URI from the p...
Definition EpToUnivRSrc.hpp:290
boost::optional< const uint8_t > getRole()
Get the value of role if it has been set.
Definition EpToUnivRSrc.hpp:44
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 EpToUnivRSrc.hpp:123
static boost::optional< OF_SHARED_PTR< modelgbp::dci::EpToUnivRSrc > > resolve()
Retrieve an instance of EpToUnivRSrc from the default managed object store by constructing its URI fr...
Definition EpToUnivRSrc.hpp:309
static boost::optional< OF_SHARED_PTR< modelgbp::dci::EpToUnivRSrc > > resolve(const opflex::modb::URI &uri)
Retrieve an instance of EpToUnivRSrc from the managed object store using the default framework instan...
Definition EpToUnivRSrc.hpp:270
void remove()
Remove this instance using the currently-active mutator.
Definition EpToUnivRSrc.hpp:323
modelgbp::dci::EpToUnivRSrc & setType(const uint8_t newValue)
Set type to the specified value in the currently-active mutator.
Definition EpToUnivRSrc.hpp:223
bool isRoleSet()
Check whether role has been set.
Definition EpToUnivRSrc.hpp:35
modelgbp::dci::EpToUnivRSrc & setRole(const uint8_t newValue)
Set role to the specified value in the currently-active mutator.
Definition EpToUnivRSrc.hpp:69
bool isTargetSet()
Check whether target has been set.
Definition EpToUnivRSrc.hpp:91
static void unregisterListener(opflex::ofcore::OFFramework &framework, opflex::modb::ObjectListener *listener)
Unregister a listener from updates to this class.
Definition EpToUnivRSrc.hpp:401
modelgbp::dci::EpToUnivRSrc & setTargetUniverse(const opflex::modb::URI &uri)
Set the reference to point to an instance of Universe with the specified URI.
Definition EpToUnivRSrc.hpp:147
SOME COPYRIGHT.
Definition OpcodeEnumT.hpp:12