modelgbp Generated OpFlex Model  1.3.0
modelgbp::gbpe::EpAttributeSet Class Reference
Inheritance diagram for modelgbp::gbpe::EpAttributeSet:

Public Member Functions

bool isUuidSet ()
 Check whether uuid has been set. More...
 
boost::optional< const
std::string & > 
getUuid ()
 Get the value of uuid if it has been set. More...
 
const std::string & getUuid (const std::string &defaultValue)
 Get the value of uuid if set, otherwise the value of default passed in. More...
 
modelgbp::gbpe::EpAttributeSetsetUuid (const std::string &newValue)
 Set uuid to the specified value in the currently-active mutator. More...
 
modelgbp::gbpe::EpAttributeSetunsetUuid ()
 Unset uuid in the currently-active mutator. More...
 
boost::optional
< boost::shared_ptr
< modelgbp::gbpe::EpgMappingCtxFromAttrSetRTgt > > 
resolveGbpeEpgMappingCtxFromAttrSetRTgt (const std::string &gbpeEpgMappingCtxFromAttrSetRTgtSource)
 Retrieve the child object with the specified naming properties. More...
 
boost::shared_ptr
< modelgbp::gbpe::EpgMappingCtxFromAttrSetRTgt
addGbpeEpgMappingCtxFromAttrSetRTgt (const std::string &gbpeEpgMappingCtxFromAttrSetRTgtSource)
 Create a new child object with the specified naming properties and make it a child of this object in the currently-active mutator. More...
 
void resolveGbpeEpgMappingCtxFromAttrSetRTgt (std::vector< boost::shared_ptr< modelgbp::gbpe::EpgMappingCtxFromAttrSetRTgt > > &out)
 Resolve and retrieve all of the immediate children of type modelgbp::gbpe::EpgMappingCtxFromAttrSetRTgt. More...
 
boost::optional
< boost::shared_ptr
< modelgbp::gbpe::EpAttribute > > 
resolveGbpeEpAttribute (const std::string &gbpeEpAttributeName)
 Retrieve the child object with the specified naming properties. More...
 
boost::shared_ptr
< modelgbp::gbpe::EpAttribute
addGbpeEpAttribute (const std::string &gbpeEpAttributeName)
 Create a new child object with the specified naming properties and make it a child of this object in the currently-active mutator. More...
 
void resolveGbpeEpAttribute (std::vector< boost::shared_ptr< modelgbp::gbpe::EpAttribute > > &out)
 Resolve and retrieve all of the immediate children of type modelgbp::gbpe::EpAttribute. More...
 
void remove ()
 Remove this instance using the currently-active mutator. More...
 
 EpAttributeSet (opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri, const boost::shared_ptr< const opflex::modb::mointernal::ObjectInstance > &oi)
 Construct an instance of EpAttributeSet. More...
 

Static Public Member Functions

static boost::optional
< boost::shared_ptr
< modelgbp::gbpe::EpAttributeSet > > 
resolve (opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri)
 Retrieve an instance of EpAttributeSet from the managed object store. More...
 
static boost::optional
< boost::shared_ptr
< modelgbp::gbpe::EpAttributeSet > > 
resolve (const opflex::modb::URI &uri)
 Retrieve an instance of EpAttributeSet from the managed object store using the default framework instance. More...
 
static boost::optional
< boost::shared_ptr
< modelgbp::gbpe::EpAttributeSet > > 
resolve (opflex::ofcore::OFFramework &framework, const std::string &gbpeEpAttributeSetUuid)
 Retrieve an instance of EpAttributeSet from the managed object store by constructing its URI from the path elements that lead to it. More...
 
static boost::optional
< boost::shared_ptr
< modelgbp::gbpe::EpAttributeSet > > 
resolve (const std::string &gbpeEpAttributeSetUuid)
 Retrieve an instance of EpAttributeSet 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 EpAttributeSet object with the specified URI using the currently-active mutator. More...
 
static void remove (const opflex::modb::URI &uri)
 Remove the EpAttributeSet 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)
 Remove the EpAttributeSet object with the specified path elements from the managed object store. More...
 
static void remove (const std::string &gbpeEpAttributeSetUuid)
 Remove the EpAttributeSet 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 = 27
 The unique class ID for EpAttributeSet.
 

Constructor & Destructor Documentation

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

Construct an instance of EpAttributeSet.

This should not typically be called from user code.

Member Function Documentation

boost::shared_ptr<modelgbp::gbpe::EpAttribute> modelgbp::gbpe::EpAttributeSet::addGbpeEpAttribute ( const std::string &  gbpeEpAttributeName)
inline

Create a new child object with the specified naming properties and make it a child of this object in the currently-active mutator.

If the object already exists in the store, get a mutable copy of that object. If the object already exists in the mutator, get a reference to the object.

Parameters
gbpeEpAttributeNamethe value of gbpeEpAttributeName, a naming property for EpAttribute
Exceptions
std::logic_errorif no mutator is active
Returns
a shared pointer to the (possibly new) object

References CLASS_ID.

boost::shared_ptr<modelgbp::gbpe::EpgMappingCtxFromAttrSetRTgt> modelgbp::gbpe::EpAttributeSet::addGbpeEpgMappingCtxFromAttrSetRTgt ( const std::string &  gbpeEpgMappingCtxFromAttrSetRTgtSource)
inline

Create a new child object with the specified naming properties and make it a child of this object in the currently-active mutator.

If the object already exists in the store, get a mutable copy of that object. If the object already exists in the mutator, get a reference to the object.

Parameters
gbpeEpgMappingCtxFromAttrSetRTgtSourcethe value of gbpeEpgMappingCtxFromAttrSetRTgtSource, a naming property for EpgMappingCtxFromAttrSetRTgt
Exceptions
std::logic_errorif no mutator is active
Returns
a shared pointer to the (possibly new) object

References CLASS_ID.

boost::optional<const std::string&> modelgbp::gbpe::EpAttributeSet::getUuid ( )
inline

Get the value of uuid if it has been set.

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

References isUuidSet().

Referenced by getUuid().

const std::string& modelgbp::gbpe::EpAttributeSet::getUuid ( const std::string &  defaultValue)
inline

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

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

References getUuid().

bool modelgbp::gbpe::EpAttributeSet::isUuidSet ( )
inline

Check whether uuid has been set.

Returns
true if uuid has been set

Referenced by getUuid().

static void modelgbp::gbpe::EpAttributeSet::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().

static void modelgbp::gbpe::EpAttributeSet::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().

void modelgbp::gbpe::EpAttributeSet::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.

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

Remove the EpAttributeSet 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.

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

Remove the EpAttributeSet 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
static void modelgbp::gbpe::EpAttributeSet::remove ( opflex::ofcore::OFFramework &  framework,
const std::string &  gbpeEpAttributeSetUuid 
)
inlinestatic

Remove the EpAttributeSet 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]

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

References CLASS_ID.

static void modelgbp::gbpe::EpAttributeSet::remove ( const std::string &  gbpeEpAttributeSetUuid)
inlinestatic

Remove the EpAttributeSet 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]

Parameters
gbpeEpAttributeSetUuidthe value of gbpeEpAttributeSetUuid, a naming property for EpAttributeSet
Exceptions
std::logic_errorif no mutator is active
static boost::optional<boost::shared_ptr<modelgbp::gbpe::EpAttributeSet> > modelgbp::gbpe::EpAttributeSet::resolve ( opflex::ofcore::OFFramework &  framework,
const opflex::modb::URI &  uri 
)
inlinestatic

Retrieve an instance of EpAttributeSet 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::VMUniverse::resolveGbpeEpAttributeSet().

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

Retrieve an instance of EpAttributeSet 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.

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

Retrieve an instance of EpAttributeSet 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]

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

References resolve().

static boost::optional<boost::shared_ptr<modelgbp::gbpe::EpAttributeSet> > modelgbp::gbpe::EpAttributeSet::resolve ( const std::string &  gbpeEpAttributeSetUuid)
inlinestatic

Retrieve an instance of EpAttributeSet 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]

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

References resolve().

boost::optional<boost::shared_ptr<modelgbp::gbpe::EpAttribute> > modelgbp::gbpe::EpAttributeSet::resolveGbpeEpAttribute ( const std::string &  gbpeEpAttributeName)
inline

Retrieve the child object with the specified naming properties.

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
gbpeEpAttributeNamethe value of gbpeEpAttributeName, a naming property for EpAttribute
Returns
a shared pointer to the object or boost::none if it does not exist.

References modelgbp::gbpe::EpAttribute::resolve().

void modelgbp::gbpe::EpAttributeSet::resolveGbpeEpAttribute ( std::vector< boost::shared_ptr< modelgbp::gbpe::EpAttribute > > &  out)
inline

Resolve and retrieve all of the immediate children of type modelgbp::gbpe::EpAttribute.

Note that this retrieves only those children that exist in the local store. It is possible that there are other children that exist remotely.

The resulting managed objects will be added to the result vector provided.

Parameters
outa reference to a vector that will receive the child objects.

References CLASS_ID.

boost::optional<boost::shared_ptr<modelgbp::gbpe::EpgMappingCtxFromAttrSetRTgt> > modelgbp::gbpe::EpAttributeSet::resolveGbpeEpgMappingCtxFromAttrSetRTgt ( const std::string &  gbpeEpgMappingCtxFromAttrSetRTgtSource)
inline

Retrieve the child object with the specified naming properties.

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
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 modelgbp::gbpe::EpgMappingCtxFromAttrSetRTgt::resolve().

void modelgbp::gbpe::EpAttributeSet::resolveGbpeEpgMappingCtxFromAttrSetRTgt ( std::vector< boost::shared_ptr< modelgbp::gbpe::EpgMappingCtxFromAttrSetRTgt > > &  out)
inline

Resolve and retrieve all of the immediate children of type modelgbp::gbpe::EpgMappingCtxFromAttrSetRTgt.

Note that this retrieves only those children that exist in the local store. It is possible that there are other children that exist remotely.

The resulting managed objects will be added to the result vector provided.

Parameters
outa reference to a vector that will receive the child objects.

References CLASS_ID.

modelgbp::gbpe::EpAttributeSet& modelgbp::gbpe::EpAttributeSet::setUuid ( const std::string &  newValue)
inline

Set uuid 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
static void modelgbp::gbpe::EpAttributeSet::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().

static void modelgbp::gbpe::EpAttributeSet::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().

modelgbp::gbpe::EpAttributeSet& modelgbp::gbpe::EpAttributeSet::unsetUuid ( )
inline

Unset uuid 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: