11#ifndef GI_DCI_EPFROMUNIVRTGT_HPP
12#define GI_DCI_EPFROMUNIVRTGT_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 = 85;
139 getTLMutator().modify(
getClassId(),
getURI())->unset(2785283ul, opflex::modb::PropertyInfo::STRING, opflex::modb::PropertyInfo::SCALAR);
210 static boost::optional<OF_SHARED_PTR<modelgbp::dci::EpFromUnivRTgt> >
resolve(
212 const opflex::modb::URI&
uri)
214 return opflex::modb::mointernal::MO::resolve<modelgbp::dci::EpFromUnivRTgt>(
framework,
CLASS_ID,
uri);
228 static boost::optional<OF_SHARED_PTR<modelgbp::dci::EpFromUnivRTgt> >
resolve(
229 const opflex::modb::URI&
uri)
231 return opflex::modb::mointernal::MO::resolve<modelgbp::dci::EpFromUnivRTgt>(opflex::ofcore::OFFramework::defaultInstance(),
CLASS_ID,
uri);
248 static boost::optional<OF_SHARED_PTR<modelgbp::dci::EpFromUnivRTgt> >
resolve(
267 static boost::optional<OF_SHARED_PTR<modelgbp::dci::EpFromUnivRTgt> >
resolve(
270 return resolve(opflex::ofcore::OFFramework::defaultInstance());
297 const opflex::modb::URI&
uri)
314 remove(opflex::ofcore::OFFramework::defaultInstance(),
uri);
330 opflex::modb::ObjectListener*
listener)
332 opflex::modb::mointernal
348 opflex::modb::ObjectListener*
listener)
361 opflex::modb::ObjectListener*
listener)
363 opflex::modb::mointernal
374 opflex::modb::ObjectListener*
listener)
385 const opflex::modb::URI&
uri,
Definition EpFromUnivRTgt.hpp:23
bool isSourceSet()
Check whether source has been set.
Definition EpFromUnivRTgt.hpp:91
static boost::optional< OF_SHARED_PTR< modelgbp::dci::EpFromUnivRTgt > > resolve(opflex::ofcore::OFFramework &framework)
Retrieve an instance of EpFromUnivRTgt from the managed object store by constructing its URI from the...
Definition EpFromUnivRTgt.hpp:248
static boost::optional< OF_SHARED_PTR< modelgbp::dci::EpFromUnivRTgt > > resolve()
Retrieve an instance of EpFromUnivRTgt from the default managed object store by constructing its URI ...
Definition EpFromUnivRTgt.hpp:267
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 EpFromUnivRTgt.hpp:347
const uint8_t getType(const uint8_t defaultValue)
Get the value of type if set, otherwise the value of default passed in.
Definition EpFromUnivRTgt.hpp:168
boost::optional< const uint8_t > getType()
Get the value of type if it has been set.
Definition EpFromUnivRTgt.hpp:156
static void unregisterListener(opflex::ofcore::OFFramework &framework, opflex::modb::ObjectListener *listener)
Unregister a listener from updates to this class.
Definition EpFromUnivRTgt.hpp:359
modelgbp::dci::EpFromUnivRTgt & setSource(const std::string &newValue)
Set source to the specified value in the currently-active mutator.
Definition EpFromUnivRTgt.hpp:125
static boost::optional< OF_SHARED_PTR< modelgbp::dci::EpFromUnivRTgt > > resolve(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri)
Retrieve an instance of EpFromUnivRTgt from the managed object store.
Definition EpFromUnivRTgt.hpp:210
modelgbp::dci::EpFromUnivRTgt & unsetRole()
Unset role in the currently-active mutator.
Definition EpFromUnivRTgt.hpp:81
boost::optional< const std::string & > getSource()
Get the value of source if it has been set.
Definition EpFromUnivRTgt.hpp:100
static void unregisterListener(opflex::modb::ObjectListener *listener)
Unregister a listener from updates to this class from the default framework instance.
Definition EpFromUnivRTgt.hpp:373
boost::optional< const uint8_t > getRole()
Get the value of role if it has been set.
Definition EpFromUnivRTgt.hpp:44
const uint8_t getRole(const uint8_t defaultValue)
Get the value of role if set, otherwise the value of default passed in.
Definition EpFromUnivRTgt.hpp:56
static const opflex::modb::class_id_t CLASS_ID
The unique class ID for EpFromUnivRTgt.
Definition EpFromUnivRTgt.hpp:29
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 EpFromUnivRTgt.hpp:328
modelgbp::dci::EpFromUnivRTgt & unsetSource()
Unset source in the currently-active mutator.
Definition EpFromUnivRTgt.hpp:137
modelgbp::dci::EpFromUnivRTgt & setType(const uint8_t newValue)
Set type to the specified value in the currently-active mutator.
Definition EpFromUnivRTgt.hpp:181
static void remove(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri)
Remove the EpFromUnivRTgt object with the specified URI using the currently-active mutator.
Definition EpFromUnivRTgt.hpp:296
modelgbp::dci::EpFromUnivRTgt & unsetType()
Unset type in the currently-active mutator.
Definition EpFromUnivRTgt.hpp:193
static void remove(const opflex::modb::URI &uri)
Remove the EpFromUnivRTgt object with the specified URI using the currently-active mutator and the de...
Definition EpFromUnivRTgt.hpp:312
modelgbp::dci::EpFromUnivRTgt & setRole(const uint8_t newValue)
Set role to the specified value in the currently-active mutator.
Definition EpFromUnivRTgt.hpp:69
bool isRoleSet()
Check whether role has been set.
Definition EpFromUnivRTgt.hpp:35
const std::string & getSource(const std::string &defaultValue)
Get the value of source if set, otherwise the value of default passed in.
Definition EpFromUnivRTgt.hpp:112
EpFromUnivRTgt(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri, const OF_SHARED_PTR< const opflex::modb::mointernal::ObjectInstance > &oi)
Construct an instance of EpFromUnivRTgt.
Definition EpFromUnivRTgt.hpp:383
void remove()
Remove this instance using the currently-active mutator.
Definition EpFromUnivRTgt.hpp:281
bool isTypeSet()
Check whether type has been set.
Definition EpFromUnivRTgt.hpp:147
static boost::optional< OF_SHARED_PTR< modelgbp::dci::EpFromUnivRTgt > > resolve(const opflex::modb::URI &uri)
Retrieve an instance of EpFromUnivRTgt from the managed object store using the default framework inst...
Definition EpFromUnivRTgt.hpp:228
SOME COPYRIGHT.
Definition OpcodeEnumT.hpp:12