11#ifndef GI_DOMAIN_CONFIGFROMCONFIGRTGT_HPP
12#define GI_DOMAIN_CONFIGFROMCONFIGRTGT_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 = 58;
139 getTLMutator().modify(
getClassId(),
getURI())->unset(1900547ul, opflex::modb::PropertyInfo::STRING, opflex::modb::PropertyInfo::SCALAR);
210 static boost::optional<OF_SHARED_PTR<modelgbp::domain::ConfigFromConfigRTgt> >
resolve(
212 const opflex::modb::URI&
uri)
214 return opflex::modb::mointernal::MO::resolve<modelgbp::domain::ConfigFromConfigRTgt>(
framework,
CLASS_ID,
uri);
228 static boost::optional<OF_SHARED_PTR<modelgbp::domain::ConfigFromConfigRTgt> >
resolve(
229 const opflex::modb::URI&
uri)
231 return opflex::modb::mointernal::MO::resolve<modelgbp::domain::ConfigFromConfigRTgt>(opflex::ofcore::OFFramework::defaultInstance(),
CLASS_ID,
uri);
252 static boost::optional<OF_SHARED_PTR<modelgbp::domain::ConfigFromConfigRTgt> >
resolve(
277 static boost::optional<OF_SHARED_PTR<modelgbp::domain::ConfigFromConfigRTgt> >
resolve(
308 const opflex::modb::URI&
uri)
325 remove(opflex::ofcore::OFFramework::defaultInstance(),
uri);
388 opflex::modb::ObjectListener*
listener)
390 opflex::modb::mointernal
406 opflex::modb::ObjectListener*
listener)
419 opflex::modb::ObjectListener*
listener)
421 opflex::modb::mointernal
432 opflex::modb::ObjectListener*
listener)
443 const opflex::modb::URI&
uri,
Definition ConfigFromConfigRTgt.hpp:23
static boost::optional< OF_SHARED_PTR< modelgbp::domain::ConfigFromConfigRTgt > > resolve(const std::string &platformConfigName, const std::string &domainConfigFromConfigRTgtSource)
Retrieve an instance of ConfigFromConfigRTgt from the default managed object store by constructing it...
Definition ConfigFromConfigRTgt.hpp:277
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 ConfigFromConfigRTgt.hpp:386
modelgbp::domain::ConfigFromConfigRTgt & setRole(const uint8_t newValue)
Set role to the specified value in the currently-active mutator.
Definition ConfigFromConfigRTgt.hpp:69
const uint8_t getRole(const uint8_t defaultValue)
Get the value of role if set, otherwise the value of default passed in.
Definition ConfigFromConfigRTgt.hpp:56
void remove()
Remove this instance using the currently-active mutator.
Definition ConfigFromConfigRTgt.hpp:292
modelgbp::domain::ConfigFromConfigRTgt & unsetRole()
Unset role in the currently-active mutator.
Definition ConfigFromConfigRTgt.hpp:81
static void unregisterListener(opflex::ofcore::OFFramework &framework, opflex::modb::ObjectListener *listener)
Unregister a listener from updates to this class.
Definition ConfigFromConfigRTgt.hpp:417
bool isTypeSet()
Check whether type has been set.
Definition ConfigFromConfigRTgt.hpp:147
modelgbp::domain::ConfigFromConfigRTgt & unsetSource()
Unset source in the currently-active mutator.
Definition ConfigFromConfigRTgt.hpp:137
boost::optional< const uint8_t > getRole()
Get the value of role if it has been set.
Definition ConfigFromConfigRTgt.hpp:44
modelgbp::domain::ConfigFromConfigRTgt & setSource(const std::string &newValue)
Set source to the specified value in the currently-active mutator.
Definition ConfigFromConfigRTgt.hpp:125
boost::optional< const uint8_t > getType()
Get the value of type if it has been set.
Definition ConfigFromConfigRTgt.hpp:156
static boost::optional< OF_SHARED_PTR< modelgbp::domain::ConfigFromConfigRTgt > > resolve(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri)
Retrieve an instance of ConfigFromConfigRTgt from the managed object store.
Definition ConfigFromConfigRTgt.hpp:210
static boost::optional< OF_SHARED_PTR< modelgbp::domain::ConfigFromConfigRTgt > > resolve(opflex::ofcore::OFFramework &framework, const std::string &platformConfigName, const std::string &domainConfigFromConfigRTgtSource)
Retrieve an instance of ConfigFromConfigRTgt from the managed object store by constructing its URI fr...
Definition ConfigFromConfigRTgt.hpp:252
static void remove(const opflex::modb::URI &uri)
Remove the ConfigFromConfigRTgt object with the specified URI using the currently-active mutator and ...
Definition ConfigFromConfigRTgt.hpp:323
static void remove(const std::string &platformConfigName, const std::string &domainConfigFromConfigRTgtSource)
Remove the ConfigFromConfigRTgt object with the specified path elements from the managed object store...
Definition ConfigFromConfigRTgt.hpp:368
bool isRoleSet()
Check whether role has been set.
Definition ConfigFromConfigRTgt.hpp:35
static boost::optional< OF_SHARED_PTR< modelgbp::domain::ConfigFromConfigRTgt > > resolve(const opflex::modb::URI &uri)
Retrieve an instance of ConfigFromConfigRTgt from the managed object store using the default framewor...
Definition ConfigFromConfigRTgt.hpp:228
static void remove(opflex::ofcore::OFFramework &framework, const std::string &platformConfigName, const std::string &domainConfigFromConfigRTgtSource)
Remove the ConfigFromConfigRTgt object with the specified path elements from the managed object store...
Definition ConfigFromConfigRTgt.hpp:344
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 ConfigFromConfigRTgt.hpp:405
static void remove(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri)
Remove the ConfigFromConfigRTgt object with the specified URI using the currently-active mutator.
Definition ConfigFromConfigRTgt.hpp:307
boost::optional< const std::string & > getSource()
Get the value of source if it has been set.
Definition ConfigFromConfigRTgt.hpp:100
static void unregisterListener(opflex::modb::ObjectListener *listener)
Unregister a listener from updates to this class from the default framework instance.
Definition ConfigFromConfigRTgt.hpp:431
const std::string & getSource(const std::string &defaultValue)
Get the value of source if set, otherwise the value of default passed in.
Definition ConfigFromConfigRTgt.hpp:112
bool isSourceSet()
Check whether source has been set.
Definition ConfigFromConfigRTgt.hpp:91
const uint8_t getType(const uint8_t defaultValue)
Get the value of type if set, otherwise the value of default passed in.
Definition ConfigFromConfigRTgt.hpp:168
modelgbp::domain::ConfigFromConfigRTgt & setType(const uint8_t newValue)
Set type to the specified value in the currently-active mutator.
Definition ConfigFromConfigRTgt.hpp:181
ConfigFromConfigRTgt(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri, const OF_SHARED_PTR< const opflex::modb::mointernal::ObjectInstance > &oi)
Construct an instance of ConfigFromConfigRTgt.
Definition ConfigFromConfigRTgt.hpp:441
modelgbp::domain::ConfigFromConfigRTgt & unsetType()
Unset type in the currently-active mutator.
Definition ConfigFromConfigRTgt.hpp:193
static const opflex::modb::class_id_t CLASS_ID
The unique class ID for ConfigFromConfigRTgt.
Definition ConfigFromConfigRTgt.hpp:29
SOME COPYRIGHT.
Definition OpcodeEnumT.hpp:12