modelgbp Generated OpFlex Model
1.7.0
|
Public Member Functions | |
bool | isEncapIdSet () |
Check whether encapId has been set. More... | |
boost::optional< uint32_t > | getEncapId () |
Get the value of encapId if it has been set. More... | |
uint32_t | getEncapId (uint32_t defaultValue) |
Get the value of encapId if set, otherwise the value of default passed in. More... | |
modelgbp::gbpe::TunnelEp & | setEncapId (uint32_t newValue) |
Set encapId to the specified value in the currently-active mutator. More... | |
modelgbp::gbpe::TunnelEp & | unsetEncapId () |
Unset encapId in the currently-active mutator. More... | |
bool | isEncapTypeSet () |
Check whether encapType has been set. More... | |
boost::optional< const uint8_t > | getEncapType () |
Get the value of encapType if it has been set. More... | |
const uint8_t | getEncapType (const uint8_t defaultValue) |
Get the value of encapType if set, otherwise the value of default passed in. More... | |
modelgbp::gbpe::TunnelEp & | setEncapType (const uint8_t newValue) |
Set encapType to the specified value in the currently-active mutator. More... | |
modelgbp::gbpe::TunnelEp & | unsetEncapType () |
Unset encapType in the currently-active mutator. More... | |
bool | isMacSet () |
Check whether mac has been set. More... | |
boost::optional< const opflex::modb::MAC & > | getMac () |
Get the value of mac if it has been set. More... | |
const opflex::modb::MAC & | getMac (const opflex::modb::MAC &defaultValue) |
Get the value of mac if set, otherwise the value of default passed in. More... | |
modelgbp::gbpe::TunnelEp & | setMac (const opflex::modb::MAC &newValue) |
Set mac to the specified value in the currently-active mutator. More... | |
modelgbp::gbpe::TunnelEp & | unsetMac () |
Unset mac in the currently-active mutator. More... | |
bool | isTerminatorIpSet () |
Check whether terminatorIp has been set. More... | |
boost::optional< const std::string & > | getTerminatorIp () |
Get the value of terminatorIp if it has been set. More... | |
const std::string & | getTerminatorIp (const std::string &defaultValue) |
Get the value of terminatorIp if set, otherwise the value of default passed in. More... | |
modelgbp::gbpe::TunnelEp & | setTerminatorIp (const std::string &newValue) |
Set terminatorIp to the specified value in the currently-active mutator. More... | |
modelgbp::gbpe::TunnelEp & | unsetTerminatorIp () |
Unset terminatorIp in the currently-active mutator. More... | |
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::TunnelEp & | setUuid (const std::string &newValue) |
Set uuid to the specified value in the currently-active mutator. More... | |
modelgbp::gbpe::TunnelEp & | unsetUuid () |
Unset uuid in the currently-active mutator. More... | |
boost::optional< OF_SHARED_PTR< modelgbp::gbpe::Attestation > > | resolveGbpeAttestation (const std::string &gbpeAttestationName) |
Retrieve the child object with the specified naming properties. More... | |
OF_SHARED_PTR< modelgbp::gbpe::Attestation > | addGbpeAttestation (const std::string &gbpeAttestationName) |
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 | resolveGbpeAttestation (std::vector< OF_SHARED_PTR< modelgbp::gbpe::Attestation > > &out) |
Resolve and retrieve all of the immediate children of type modelgbp::gbpe::Attestation. More... | |
void | remove () |
Remove this instance using the currently-active mutator. More... | |
TunnelEp (opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri, const OF_SHARED_PTR< const opflex::modb::mointernal::ObjectInstance > &oi) | |
Construct an instance of TunnelEp. More... | |
Static Public Member Functions | |
static boost::optional< OF_SHARED_PTR< modelgbp::gbpe::TunnelEp > > | resolve (opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri) |
Retrieve an instance of TunnelEp from the managed object store. More... | |
static boost::optional< OF_SHARED_PTR< modelgbp::gbpe::TunnelEp > > | resolve (const opflex::modb::URI &uri) |
Retrieve an instance of TunnelEp from the managed object store using the default framework instance. More... | |
static boost::optional< OF_SHARED_PTR< modelgbp::gbpe::TunnelEp > > | resolve (opflex::ofcore::OFFramework &framework, const std::string &gbpeTunnelEpUuid) |
Retrieve an instance of TunnelEp 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::TunnelEp > > | resolve (const std::string &gbpeTunnelEpUuid) |
Retrieve an instance of TunnelEp 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 TunnelEp object with the specified URI using the currently-active mutator. More... | |
static void | remove (const opflex::modb::URI &uri) |
Remove the TunnelEp 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 &gbpeTunnelEpUuid) |
Remove the TunnelEp object with the specified path elements from the managed object store. More... | |
static void | remove (const std::string &gbpeTunnelEpUuid) |
Remove the TunnelEp 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 = 45 |
The unique class ID for TunnelEp. | |
|
inline |
Construct an instance of TunnelEp.
This should not typically be called from user code.
|
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.
gbpeAttestationName | the value of gbpeAttestationName, a naming property for Attestation |
std::logic_error | if no mutator is active |
References CLASS_ID.
|
inline |
Get the value of encapId if it has been set.
References isEncapIdSet().
Referenced by getEncapId().
|
inline |
Get the value of encapId if set, otherwise the value of default passed in.
defaultValue | default value returned if the property is not set |
References getEncapId().
|
inline |
Get the value of encapType if it has been set.
References isEncapTypeSet().
Referenced by getEncapType().
|
inline |
Get the value of encapType if set, otherwise the value of default passed in.
defaultValue | default value returned if the property is not set |
References getEncapType().
|
inline |
Get the value of mac if it has been set.
References isMacSet().
Referenced by getMac().
|
inline |
Get the value of mac if set, otherwise the value of default passed in.
defaultValue | default value returned if the property is not set |
References getMac().
|
inline |
Get the value of terminatorIp if it has been set.
References isTerminatorIpSet().
Referenced by getTerminatorIp().
|
inline |
Get the value of terminatorIp if set, otherwise the value of default passed in.
defaultValue | default value returned if the property is not set |
References getTerminatorIp().
|
inline |
Get the value of uuid if it has been set.
References isUuidSet().
Referenced by getUuid().
|
inline |
Get the value of uuid if set, otherwise the value of default passed in.
defaultValue | default value returned if the property is not set |
References getUuid().
|
inline |
|
inline |
Check whether encapType has been set.
Referenced by getEncapType().
|
inline |
|
inline |
Check whether terminatorIp has been set.
Referenced by getTerminatorIp().
|
inline |
|
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.
framework | the framework instance |
listener | the 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().
|
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.
listener | the 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().
|
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.
std::logic_error | if no mutator is active |
References CLASS_ID.
|
inlinestatic |
Remove the TunnelEp 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.
framework | the framework instance to use |
uri | the URI of the object to remove |
std::logic_error | if no mutator is active |
References CLASS_ID.
|
inlinestatic |
Remove the TunnelEp 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.
uri | the URI of the object to remove |
std::logic_error | if no mutator is active |
|
inlinestatic |
Remove the TunnelEp 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: /GbpeTunnelEpUniverse/GbpeTunnelEp/[gbpeTunnelEpUuid]
framework | the framework instance to use |
gbpeTunnelEpUuid | the value of gbpeTunnelEpUuid, a naming property for TunnelEp |
std::logic_error | if no mutator is active |
References CLASS_ID.
|
inlinestatic |
Remove the TunnelEp 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: /GbpeTunnelEpUniverse/GbpeTunnelEp/[gbpeTunnelEpUuid]
gbpeTunnelEpUuid | the value of gbpeTunnelEpUuid, a naming property for TunnelEp |
std::logic_error | if no mutator is active |
|
inlinestatic |
Retrieve an instance of TunnelEp 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.
framework | the framework instance to use |
uri | the URI of the object to retrieve |
References CLASS_ID.
Referenced by resolve(), and modelgbp::gbpe::TunnelEpUniverse::resolveGbpeTunnelEp().
|
inlinestatic |
Retrieve an instance of TunnelEp 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.
uri | the URI of the object to retrieve |
References CLASS_ID.
|
inlinestatic |
Retrieve an instance of TunnelEp 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: /GbpeTunnelEpUniverse/GbpeTunnelEp/[gbpeTunnelEpUuid]
framework | the framework instance to use |
gbpeTunnelEpUuid | the value of gbpeTunnelEpUuid, a naming property for TunnelEp |
References resolve().
|
inlinestatic |
Retrieve an instance of TunnelEp 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: /GbpeTunnelEpUniverse/GbpeTunnelEp/[gbpeTunnelEpUuid]
gbpeTunnelEpUuid | the value of gbpeTunnelEpUuid, a naming property for TunnelEp |
References resolve().
|
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.
gbpeAttestationName | the value of gbpeAttestationName, a naming property for Attestation |
References modelgbp::gbpe::Attestation::resolve().
|
inline |
Resolve and retrieve all of the immediate children of type modelgbp::gbpe::Attestation.
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.
out | a reference to a vector that will receive the child objects. |
References CLASS_ID.
|
inline |
Set encapId to the specified value in the currently-active mutator.
newValue | the new value to set. |
std::logic_error | if no mutator is active |
|
inline |
Set encapType to the specified value in the currently-active mutator.
newValue | the new value to set. |
std::logic_error | if no mutator is active |
|
inline |
Set mac to the specified value in the currently-active mutator.
newValue | the new value to set. |
std::logic_error | if no mutator is active |
|
inline |
Set terminatorIp to the specified value in the currently-active mutator.
newValue | the new value to set. |
std::logic_error | if no mutator is active |
|
inline |
Set uuid to the specified value in the currently-active mutator.
newValue | the new value to set. |
std::logic_error | if no mutator is active |
|
inlinestatic |
Unregister a listener from updates to this class.
framework | the framework instance |
listener | The listener to unregister. |
References CLASS_ID.
Referenced by unregisterListener().
|
inlinestatic |
Unregister a listener from updates to this class from the default framework instance.
listener | The listener to unregister. |
References unregisterListener().
|
inline |
Unset encapId in the currently-active mutator.
std::logic_error | if no mutator is active |
|
inline |
Unset encapType in the currently-active mutator.
std::logic_error | if no mutator is active |
|
inline |
Unset mac in the currently-active mutator.
std::logic_error | if no mutator is active |
|
inline |
Unset terminatorIp in the currently-active mutator.
std::logic_error | if no mutator is active |
|
inline |
Unset uuid in the currently-active mutator.
std::logic_error | if no mutator is active |