modelgbp Generated OpFlex Model  1.7.0
modelgbp::gbpe::EpgMappingCtxFromAttrSetRTgt Class Reference
Inheritance diagram for modelgbp::gbpe::EpgMappingCtxFromAttrSetRTgt:

Public Member Functions

bool isRoleSet ()
 Check whether role has been set. More...
 
boost::optional< const uint8_t > getRole ()
 Get the value of role if it has been set. More...
 
const uint8_t getRole (const uint8_t defaultValue)
 Get the value of role if set, otherwise the value of default passed in. More...
 
modelgbp::gbpe::EpgMappingCtxFromAttrSetRTgtsetRole (const uint8_t newValue)
 Set role to the specified value in the currently-active mutator. More...
 
modelgbp::gbpe::EpgMappingCtxFromAttrSetRTgtunsetRole ()
 Unset role in the currently-active mutator. More...
 
bool isSourceSet ()
 Check whether source has been set. More...
 
boost::optional< const std::string & > getSource ()
 Get the value of source if it has been set. More...
 
const std::string & getSource (const std::string &defaultValue)
 Get the value of source if set, otherwise the value of default passed in. More...
 
modelgbp::gbpe::EpgMappingCtxFromAttrSetRTgtsetSource (const std::string &newValue)
 Set source to the specified value in the currently-active mutator. More...
 
modelgbp::gbpe::EpgMappingCtxFromAttrSetRTgtunsetSource ()
 Unset source in the currently-active mutator. More...
 
bool isTypeSet ()
 Check whether type has been set. More...
 
boost::optional< const uint8_t > getType ()
 Get the value of type if it has been set. More...
 
const uint8_t getType (const uint8_t defaultValue)
 Get the value of type if set, otherwise the value of default passed in. More...
 
modelgbp::gbpe::EpgMappingCtxFromAttrSetRTgtsetType (const uint8_t newValue)
 Set type to the specified value in the currently-active mutator. More...
 
modelgbp::gbpe::EpgMappingCtxFromAttrSetRTgtunsetType ()
 Unset type in the currently-active mutator. More...
 
void remove ()
 Remove this instance using the currently-active mutator. More...
 
 EpgMappingCtxFromAttrSetRTgt (opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri, const OF_SHARED_PTR< const opflex::modb::mointernal::ObjectInstance > &oi)
 Construct an instance of EpgMappingCtxFromAttrSetRTgt. More...
 

Static Public Member Functions

static boost::optional< OF_SHARED_PTR< modelgbp::gbpe::EpgMappingCtxFromAttrSetRTgt > > resolve (opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri)
 Retrieve an instance of EpgMappingCtxFromAttrSetRTgt from the managed object store. More...
 
static boost::optional< OF_SHARED_PTR< modelgbp::gbpe::EpgMappingCtxFromAttrSetRTgt > > resolve (const opflex::modb::URI &uri)
 Retrieve an instance of EpgMappingCtxFromAttrSetRTgt from the managed object store using the default framework instance. More...
 
static boost::optional< OF_SHARED_PTR< modelgbp::gbpe::EpgMappingCtxFromAttrSetRTgt > > resolve (opflex::ofcore::OFFramework &framework, const std::string &gbpeEpAttributeSetUuid, const std::string &gbpeEpgMappingCtxFromAttrSetRTgtSource)
 Retrieve an instance of EpgMappingCtxFromAttrSetRTgt from the managed object store by constructing its URI from the path elements that lead to it. More...
 
static boost::optional< OF_SHARED_PTR< modelgbp::gbpe::EpgMappingCtxFromAttrSetRTgt > > resolve (const std::string &gbpeEpAttributeSetUuid, const std::string &gbpeEpgMappingCtxFromAttrSetRTgtSource)
 Retrieve an instance of EpgMappingCtxFromAttrSetRTgt from the default managed object store by constructing its URI from the path elements that lead to it. More...
 
static void remove (opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri)
 Remove the EpgMappingCtxFromAttrSetRTgt object with the specified URI using the currently-active mutator. More...
 
static void remove (const opflex::modb::URI &uri)
 Remove the EpgMappingCtxFromAttrSetRTgt object with the specified URI using the currently-active mutator and the default framework instance. More...
 
static void remove (opflex::ofcore::OFFramework &framework, const std::string &gbpeEpAttributeSetUuid, const std::string &gbpeEpgMappingCtxFromAttrSetRTgtSource)
 Remove the EpgMappingCtxFromAttrSetRTgt object with the specified path elements from the managed object store. More...
 
static void remove (const std::string &gbpeEpAttributeSetUuid, const std::string &gbpeEpgMappingCtxFromAttrSetRTgtSource)
 Remove the EpgMappingCtxFromAttrSetRTgt object with the specified path elements from the managed object store using the default framework instance. More...
 
static void registerListener (opflex::ofcore::OFFramework &framework, opflex::modb::ObjectListener *listener)
 Register a listener that will get called for changes related to this class. More...
 
static void registerListener (opflex::modb::ObjectListener *listener)
 Register a listener that will get called for changes related to this class with the default framework instance. More...
 
static void unregisterListener (opflex::ofcore::OFFramework &framework, opflex::modb::ObjectListener *listener)
 Unregister a listener from updates to this class. More...
 
static void unregisterListener (opflex::modb::ObjectListener *listener)
 Unregister a listener from updates to this class from the default framework instance. More...
 

Static Public Attributes

static const opflex::modb::class_id_t CLASS_ID = 26
 The unique class ID for EpgMappingCtxFromAttrSetRTgt.
 

Constructor & Destructor Documentation

◆ EpgMappingCtxFromAttrSetRTgt()

modelgbp::gbpe::EpgMappingCtxFromAttrSetRTgt::EpgMappingCtxFromAttrSetRTgt ( opflex::ofcore::OFFramework &  framework,
const opflex::modb::URI &  uri,
const OF_SHARED_PTR< const opflex::modb::mointernal::ObjectInstance > &  oi 
)
inline

Construct an instance of EpgMappingCtxFromAttrSetRTgt.

This should not typically be called from user code.

Member Function Documentation

◆ getRole() [1/2]

boost::optional<const uint8_t> modelgbp::gbpe::EpgMappingCtxFromAttrSetRTgt::getRole ( )
inline

Get the value of role if it has been set.

Returns
the value of role or boost::none if not set

References isRoleSet().

Referenced by getRole().

◆ getRole() [2/2]

const uint8_t modelgbp::gbpe::EpgMappingCtxFromAttrSetRTgt::getRole ( const uint8_t  defaultValue)
inline

Get the value of role if set, otherwise the value of default passed in.

Parameters
defaultValuedefault value returned if the property is not set
Returns
the value of role if set, otherwise the value of default passed in

References getRole().

◆ getSource() [1/2]

boost::optional<const std::string&> modelgbp::gbpe::EpgMappingCtxFromAttrSetRTgt::getSource ( )
inline

Get the value of source if it has been set.

Returns
the value of source or boost::none if not set

References isSourceSet().

Referenced by getSource().

◆ getSource() [2/2]

const std::string& modelgbp::gbpe::EpgMappingCtxFromAttrSetRTgt::getSource ( const std::string &  defaultValue)
inline

Get the value of source if set, otherwise the value of default passed in.

Parameters
defaultValuedefault value returned if the property is not set
Returns
the value of source if set, otherwise the value of default passed in

References getSource().

◆ getType() [1/2]

boost::optional<const uint8_t> modelgbp::gbpe::EpgMappingCtxFromAttrSetRTgt::getType ( )
inline

Get the value of type if it has been set.

Returns
the value of type or boost::none if not set

References isTypeSet().

Referenced by getType().

◆ getType() [2/2]

const uint8_t modelgbp::gbpe::EpgMappingCtxFromAttrSetRTgt::getType ( const uint8_t  defaultValue)
inline

Get the value of type if set, otherwise the value of default passed in.

Parameters
defaultValuedefault value returned if the property is not set
Returns
the value of type if set, otherwise the value of default passed in

References getType().

◆ isRoleSet()

bool modelgbp::gbpe::EpgMappingCtxFromAttrSetRTgt::isRoleSet ( )
inline

Check whether role has been set.

Returns
true if role has been set

Referenced by getRole().

◆ isSourceSet()

bool modelgbp::gbpe::EpgMappingCtxFromAttrSetRTgt::isSourceSet ( )
inline

Check whether source has been set.

Returns
true if source has been set

Referenced by getSource().

◆ isTypeSet()

bool modelgbp::gbpe::EpgMappingCtxFromAttrSetRTgt::isTypeSet ( )
inline

Check whether type has been set.

Returns
true if type has been set

Referenced by getType().

◆ registerListener() [1/2]

static void modelgbp::gbpe::EpgMappingCtxFromAttrSetRTgt::registerListener ( opflex::ofcore::OFFramework &  framework,
opflex::modb::ObjectListener *  listener 
)
inlinestatic

Register a listener that will get called for changes related to this class.

This listener will be called for any modifications of this class or any transitive children of this class.

Parameters
frameworkthe framework instance
listenerthe listener functional object that should be called when changes occur related to the class. This memory is owned by the caller and should be freed only after it has been unregistered.

References CLASS_ID.

Referenced by registerListener().

◆ registerListener() [2/2]

static void modelgbp::gbpe::EpgMappingCtxFromAttrSetRTgt::registerListener ( opflex::modb::ObjectListener *  listener)
inlinestatic

Register a listener that will get called for changes related to this class with the default framework instance.

This listener will be called for any modifications of this class or any transitive children of this class.

Parameters
listenerthe listener functional object that should be called when changes occur related to the class. This memory is owned by the caller and should be freed only after it has been unregistered.

References registerListener().

◆ remove() [1/5]

void modelgbp::gbpe::EpgMappingCtxFromAttrSetRTgt::remove ( )
inline

Remove this instance using the currently-active mutator.

If the object does not exist, then this will be a no-op. If this object has any children, they will be garbage-collected at some future time.

Exceptions
std::logic_errorif no mutator is active

References CLASS_ID.

◆ remove() [2/5]

static void modelgbp::gbpe::EpgMappingCtxFromAttrSetRTgt::remove ( opflex::ofcore::OFFramework &  framework,
const opflex::modb::URI &  uri 
)
inlinestatic

Remove the EpgMappingCtxFromAttrSetRTgt object with the specified URI using the currently-active mutator.

If the object does not exist, then this will be a no-op. If this object has any children, they will be garbage-collected at some future time.

Parameters
frameworkthe framework instance to use
urithe URI of the object to remove
Exceptions
std::logic_errorif no mutator is active

References CLASS_ID.

◆ remove() [3/5]

static void modelgbp::gbpe::EpgMappingCtxFromAttrSetRTgt::remove ( const opflex::modb::URI &  uri)
inlinestatic

Remove the EpgMappingCtxFromAttrSetRTgt object with the specified URI using the currently-active mutator and the default framework instance.

If the object does not exist, then this will be a no-op. If this object has any children, they will be garbage-collected at some future time.

Parameters
urithe URI of the object to remove
Exceptions
std::logic_errorif no mutator is active

◆ remove() [4/5]

static void modelgbp::gbpe::EpgMappingCtxFromAttrSetRTgt::remove ( opflex::ofcore::OFFramework &  framework,
const std::string &  gbpeEpAttributeSetUuid,
const std::string &  gbpeEpgMappingCtxFromAttrSetRTgtSource 
)
inlinestatic

Remove the EpgMappingCtxFromAttrSetRTgt object with the specified path elements from the managed object store.

If the object does not exist, then this will be a no-op. If this object has any children, they will be garbage-collected at some future time.

The object URI generated by this function will take the form: /GbpeVMUniverse/GbpeEpAttributeSet/[gbpeEpAttributeSetUuid]/GbpeEpgMappingCtxFromAttrSetRTgt/[gbpeEpgMappingCtxFromAttrSetRTgtSource]

Parameters
frameworkthe framework instance to use
gbpeEpAttributeSetUuidthe value of gbpeEpAttributeSetUuid, a naming property for EpAttributeSet
gbpeEpgMappingCtxFromAttrSetRTgtSourcethe value of gbpeEpgMappingCtxFromAttrSetRTgtSource, a naming property for EpgMappingCtxFromAttrSetRTgt
Exceptions
std::logic_errorif no mutator is active

References CLASS_ID.

◆ remove() [5/5]

static void modelgbp::gbpe::EpgMappingCtxFromAttrSetRTgt::remove ( const std::string &  gbpeEpAttributeSetUuid,
const std::string &  gbpeEpgMappingCtxFromAttrSetRTgtSource 
)
inlinestatic

Remove the EpgMappingCtxFromAttrSetRTgt object with the specified path elements from the managed object store using the default framework instance.

If the object does not exist, then this will be a no-op. If this object has any children, they will be garbage-collected at some future time.

The object URI generated by this function will take the form: /GbpeVMUniverse/GbpeEpAttributeSet/[gbpeEpAttributeSetUuid]/GbpeEpgMappingCtxFromAttrSetRTgt/[gbpeEpgMappingCtxFromAttrSetRTgtSource]

Parameters
gbpeEpAttributeSetUuidthe value of gbpeEpAttributeSetUuid, a naming property for EpAttributeSet
gbpeEpgMappingCtxFromAttrSetRTgtSourcethe value of gbpeEpgMappingCtxFromAttrSetRTgtSource, a naming property for EpgMappingCtxFromAttrSetRTgt
Exceptions
std::logic_errorif no mutator is active

◆ resolve() [1/4]

static boost::optional<OF_SHARED_PTR<modelgbp::gbpe::EpgMappingCtxFromAttrSetRTgt> > modelgbp::gbpe::EpgMappingCtxFromAttrSetRTgt::resolve ( opflex::ofcore::OFFramework &  framework,
const opflex::modb::URI &  uri 
)
inlinestatic

Retrieve an instance of EpgMappingCtxFromAttrSetRTgt from the managed object store.

If the object does not exist in the local store, returns boost::none. Note that even though it may not exist locally, it may still exist remotely.

Parameters
frameworkthe framework instance to use
urithe URI of the object to retrieve
Returns
a shared pointer to the object or boost::none if it does not exist.

References CLASS_ID.

Referenced by resolve(), and modelgbp::gbpe::EpAttributeSet::resolveGbpeEpgMappingCtxFromAttrSetRTgt().

◆ resolve() [2/4]

static boost::optional<OF_SHARED_PTR<modelgbp::gbpe::EpgMappingCtxFromAttrSetRTgt> > modelgbp::gbpe::EpgMappingCtxFromAttrSetRTgt::resolve ( const opflex::modb::URI &  uri)
inlinestatic

Retrieve an instance of EpgMappingCtxFromAttrSetRTgt from the managed object store using the default framework instance.

If the object does not exist in the local store, returns boost::none. Note that even though it may not exist locally, it may still exist remotely.

Parameters
urithe URI of the object to retrieve
Returns
a shared pointer to the object or boost::none if it does not exist.

References CLASS_ID.

◆ resolve() [3/4]

static boost::optional<OF_SHARED_PTR<modelgbp::gbpe::EpgMappingCtxFromAttrSetRTgt> > modelgbp::gbpe::EpgMappingCtxFromAttrSetRTgt::resolve ( opflex::ofcore::OFFramework &  framework,
const std::string &  gbpeEpAttributeSetUuid,
const std::string &  gbpeEpgMappingCtxFromAttrSetRTgtSource 
)
inlinestatic

Retrieve an instance of EpgMappingCtxFromAttrSetRTgt from the managed object store by constructing its URI from the path elements that lead to it.

If the object does not exist in the local store, returns boost::none. Note that even though it may not exist locally, it may still exist remotely.

The object URI generated by this function will take the form: /GbpeVMUniverse/GbpeEpAttributeSet/[gbpeEpAttributeSetUuid]/GbpeEpgMappingCtxFromAttrSetRTgt/[gbpeEpgMappingCtxFromAttrSetRTgtSource]

Parameters
frameworkthe framework instance to use
gbpeEpAttributeSetUuidthe value of gbpeEpAttributeSetUuid, a naming property for EpAttributeSet
gbpeEpgMappingCtxFromAttrSetRTgtSourcethe value of gbpeEpgMappingCtxFromAttrSetRTgtSource, a naming property for EpgMappingCtxFromAttrSetRTgt
Returns
a shared pointer to the object or boost::none if it does not exist.

References resolve().

◆ resolve() [4/4]

static boost::optional<OF_SHARED_PTR<modelgbp::gbpe::EpgMappingCtxFromAttrSetRTgt> > modelgbp::gbpe::EpgMappingCtxFromAttrSetRTgt::resolve ( const std::string &  gbpeEpAttributeSetUuid,
const std::string &  gbpeEpgMappingCtxFromAttrSetRTgtSource 
)
inlinestatic

Retrieve an instance of EpgMappingCtxFromAttrSetRTgt from the default managed object store by constructing its URI from the path elements that lead to it.

If the object does not exist in the local store, returns boost::none. Note that even though it may not exist locally, it may still exist remotely.

The object URI generated by this function will take the form: /GbpeVMUniverse/GbpeEpAttributeSet/[gbpeEpAttributeSetUuid]/GbpeEpgMappingCtxFromAttrSetRTgt/[gbpeEpgMappingCtxFromAttrSetRTgtSource]

Parameters
gbpeEpAttributeSetUuidthe value of gbpeEpAttributeSetUuid, a naming property for EpAttributeSet
gbpeEpgMappingCtxFromAttrSetRTgtSourcethe value of gbpeEpgMappingCtxFromAttrSetRTgtSource, a naming property for EpgMappingCtxFromAttrSetRTgt
Returns
a shared pointer to the object or boost::none if it does not exist.

References resolve().

◆ setRole()

modelgbp::gbpe::EpgMappingCtxFromAttrSetRTgt& modelgbp::gbpe::EpgMappingCtxFromAttrSetRTgt::setRole ( const uint8_t  newValue)
inline

Set role to the specified value in the currently-active mutator.

Parameters
newValuethe new value to set.
Returns
a reference to the current object
Exceptions
std::logic_errorif no mutator is active
See also
opflex::modb::Mutator

◆ setSource()

modelgbp::gbpe::EpgMappingCtxFromAttrSetRTgt& modelgbp::gbpe::EpgMappingCtxFromAttrSetRTgt::setSource ( const std::string &  newValue)
inline

Set source to the specified value in the currently-active mutator.

Parameters
newValuethe new value to set.
Returns
a reference to the current object
Exceptions
std::logic_errorif no mutator is active
See also
opflex::modb::Mutator

◆ setType()

modelgbp::gbpe::EpgMappingCtxFromAttrSetRTgt& modelgbp::gbpe::EpgMappingCtxFromAttrSetRTgt::setType ( const uint8_t  newValue)
inline

Set type to the specified value in the currently-active mutator.

Parameters
newValuethe new value to set.
Returns
a reference to the current object
Exceptions
std::logic_errorif no mutator is active
See also
opflex::modb::Mutator

◆ unregisterListener() [1/2]

static void modelgbp::gbpe::EpgMappingCtxFromAttrSetRTgt::unregisterListener ( opflex::ofcore::OFFramework &  framework,
opflex::modb::ObjectListener *  listener 
)
inlinestatic

Unregister a listener from updates to this class.

Parameters
frameworkthe framework instance
listenerThe listener to unregister.

References CLASS_ID.

Referenced by unregisterListener().

◆ unregisterListener() [2/2]

static void modelgbp::gbpe::EpgMappingCtxFromAttrSetRTgt::unregisterListener ( opflex::modb::ObjectListener *  listener)
inlinestatic

Unregister a listener from updates to this class from the default framework instance.

Parameters
listenerThe listener to unregister.

References unregisterListener().

◆ unsetRole()

modelgbp::gbpe::EpgMappingCtxFromAttrSetRTgt& modelgbp::gbpe::EpgMappingCtxFromAttrSetRTgt::unsetRole ( )
inline

Unset role in the currently-active mutator.

Exceptions
std::logic_errorif no mutator is active
Returns
a reference to the current object
See also
opflex::modb::Mutator

◆ unsetSource()

modelgbp::gbpe::EpgMappingCtxFromAttrSetRTgt& modelgbp::gbpe::EpgMappingCtxFromAttrSetRTgt::unsetSource ( )
inline

Unset source in the currently-active mutator.

Exceptions
std::logic_errorif no mutator is active
Returns
a reference to the current object
See also
opflex::modb::Mutator

◆ unsetType()

modelgbp::gbpe::EpgMappingCtxFromAttrSetRTgt& modelgbp::gbpe::EpgMappingCtxFromAttrSetRTgt::unsetType ( )
inline

Unset type in the currently-active mutator.

Exceptions
std::logic_errorif no mutator is active
Returns
a reference to the current object
See also
opflex::modb::Mutator

The documentation for this class was generated from the following file: