|
modelgbp Generated OpFlex Model 1.7.0
|
Public Member Functions | |
| bool | isDestSet () |
| Check whether dest has been set. | |
| boost::optional< const std::string & > | getDest () |
| Get the value of dest if it has been set. | |
| const std::string & | getDest (const std::string &defaultValue) |
| Get the value of dest if set, otherwise the value of default passed in. | |
| modelgbp::span::DstSummary & | setDest (const std::string &newValue) |
| Set dest to the specified value in the currently-active mutator. | |
| modelgbp::span::DstSummary & | unsetDest () |
| Unset dest in the currently-active mutator. | |
| bool | isDscpSet () |
| Check whether dscp has been set. | |
| boost::optional< const uint8_t > | getDscp () |
| Get the value of dscp if it has been set. | |
| const uint8_t | getDscp (const uint8_t defaultValue) |
| Get the value of dscp if set, otherwise the value of default passed in. | |
| modelgbp::span::DstSummary & | setDscp (const uint8_t newValue) |
| Set dscp to the specified value in the currently-active mutator. | |
| modelgbp::span::DstSummary & | unsetDscp () |
| Unset dscp in the currently-active mutator. | |
| bool | isFlowIdSet () |
| Check whether flowId has been set. | |
| boost::optional< uint16_t > | getFlowId () |
| Get the value of flowId if it has been set. | |
| uint16_t | getFlowId (uint16_t defaultValue) |
| Get the value of flowId if set, otherwise the value of default passed in. | |
| modelgbp::span::DstSummary & | setFlowId (uint16_t newValue) |
| Set flowId to the specified value in the currently-active mutator. | |
| modelgbp::span::DstSummary & | unsetFlowId () |
| Unset flowId in the currently-active mutator. | |
| bool | isModeSet () |
| Check whether mode has been set. | |
| boost::optional< const uint8_t > | getMode () |
| Get the value of mode if it has been set. | |
| const uint8_t | getMode (const uint8_t defaultValue) |
| Get the value of mode if set, otherwise the value of default passed in. | |
| modelgbp::span::DstSummary & | setMode (const uint8_t newValue) |
| Set mode to the specified value in the currently-active mutator. | |
| modelgbp::span::DstSummary & | unsetMode () |
| Unset mode in the currently-active mutator. | |
| bool | isMtuSet () |
| Check whether mtu has been set. | |
| boost::optional< uint32_t > | getMtu () |
| Get the value of mtu if it has been set. | |
| uint32_t | getMtu (uint32_t defaultValue) |
| Get the value of mtu if set, otherwise the value of default passed in. | |
| modelgbp::span::DstSummary & | setMtu (uint32_t newValue) |
| Set mtu to the specified value in the currently-active mutator. | |
| modelgbp::span::DstSummary & | unsetMtu () |
| Unset mtu in the currently-active mutator. | |
| bool | isSrcPrefixSet () |
| Check whether srcPrefix has been set. | |
| boost::optional< const std::string & > | getSrcPrefix () |
| Get the value of srcPrefix if it has been set. | |
| const std::string & | getSrcPrefix (const std::string &defaultValue) |
| Get the value of srcPrefix if set, otherwise the value of default passed in. | |
| modelgbp::span::DstSummary & | setSrcPrefix (const std::string &newValue) |
| Set srcPrefix to the specified value in the currently-active mutator. | |
| modelgbp::span::DstSummary & | unsetSrcPrefix () |
| Unset srcPrefix in the currently-active mutator. | |
| bool | isTtlSet () |
| Check whether ttl has been set. | |
| boost::optional< const uint8_t > | getTtl () |
| Get the value of ttl if it has been set. | |
| const uint8_t | getTtl (const uint8_t defaultValue) |
| Get the value of ttl if set, otherwise the value of default passed in. | |
| modelgbp::span::DstSummary & | setTtl (const uint8_t newValue) |
| Set ttl to the specified value in the currently-active mutator. | |
| modelgbp::span::DstSummary & | unsetTtl () |
| Unset ttl in the currently-active mutator. | |
| bool | isVersionSet () |
| Check whether version has been set. | |
| boost::optional< const uint8_t > | getVersion () |
| Get the value of version if it has been set. | |
| const uint8_t | getVersion (const uint8_t defaultValue) |
| Get the value of version if set, otherwise the value of default passed in. | |
| modelgbp::span::DstSummary & | setVersion (const uint8_t newValue) |
| Set version to the specified value in the currently-active mutator. | |
| modelgbp::span::DstSummary & | unsetVersion () |
| Unset version in the currently-active mutator. | |
| bool | isVrfNameSet () |
| Check whether vrfName has been set. | |
| boost::optional< const std::string & > | getVrfName () |
| Get the value of vrfName if it has been set. | |
| const std::string & | getVrfName (const std::string &defaultValue) |
| Get the value of vrfName if set, otherwise the value of default passed in. | |
| modelgbp::span::DstSummary & | setVrfName (const std::string &newValue) |
| Set vrfName to the specified value in the currently-active mutator. | |
| modelgbp::span::DstSummary & | unsetVrfName () |
| Unset vrfName in the currently-active mutator. | |
| void | remove () |
| Remove this instance using the currently-active mutator. | |
| DstSummary (opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri, const OF_SHARED_PTR< const opflex::modb::mointernal::ObjectInstance > &oi) | |
| Construct an instance of DstSummary. | |
Static Public Member Functions | |
| static boost::optional< OF_SHARED_PTR< modelgbp::span::DstSummary > > | resolve (opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri) |
| Retrieve an instance of DstSummary from the managed object store. | |
| static boost::optional< OF_SHARED_PTR< modelgbp::span::DstSummary > > | resolve (const opflex::modb::URI &uri) |
| Retrieve an instance of DstSummary from the managed object store using the default framework instance. | |
| static boost::optional< OF_SHARED_PTR< modelgbp::span::DstSummary > > | resolveUnderPolicyUniversePlatformConfigSpanSrcGrpSpanDstMember (opflex::ofcore::OFFramework &framework, const std::string &platformConfigName, const std::string &spanSrcGrpName, const std::string &spanDstMemberName) |
| Retrieve an instance of DstSummary from the managed object store by constructing its URI from the path elements that lead to it. | |
| static boost::optional< OF_SHARED_PTR< modelgbp::span::DstSummary > > | resolveUnderPolicyUniversePlatformConfigSpanSrcGrpSpanDstMember (const std::string &platformConfigName, const std::string &spanSrcGrpName, const std::string &spanDstMemberName) |
| Retrieve an instance of DstSummary from the default managed object store by constructing its URI from the path elements that lead to it. | |
| static boost::optional< OF_SHARED_PTR< modelgbp::span::DstSummary > > | resolveUnderPolicyUniversePlatformConfigSpanDstGrpSpanDstMember (opflex::ofcore::OFFramework &framework, const std::string &platformConfigName, const std::string &spanDstGrpName, const std::string &spanDstMemberName) |
| Retrieve an instance of DstSummary from the managed object store by constructing its URI from the path elements that lead to it. | |
| static boost::optional< OF_SHARED_PTR< modelgbp::span::DstSummary > > | resolveUnderPolicyUniversePlatformConfigSpanDstGrpSpanDstMember (const std::string &platformConfigName, const std::string &spanDstGrpName, const std::string &spanDstMemberName) |
| Retrieve an instance of DstSummary from the default managed object store by constructing its URI from the path elements that lead to it. | |
| static void | remove (opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri) |
| Remove the DstSummary object with the specified URI using the currently-active mutator. | |
| static void | remove (const opflex::modb::URI &uri) |
| Remove the DstSummary object with the specified URI using the currently-active mutator and the default framework instance. | |
| static void | removeUnderPolicyUniversePlatformConfigSpanSrcGrpSpanDstMember (opflex::ofcore::OFFramework &framework, const std::string &platformConfigName, const std::string &spanSrcGrpName, const std::string &spanDstMemberName) |
| Remove the DstSummary object with the specified path elements from the managed object store. | |
| static void | removeUnderPolicyUniversePlatformConfigSpanSrcGrpSpanDstMember (const std::string &platformConfigName, const std::string &spanSrcGrpName, const std::string &spanDstMemberName) |
| Remove the DstSummary object with the specified path elements from the managed object store using the default framework instance. | |
| static void | removeUnderPolicyUniversePlatformConfigSpanDstGrpSpanDstMember (opflex::ofcore::OFFramework &framework, const std::string &platformConfigName, const std::string &spanDstGrpName, const std::string &spanDstMemberName) |
| Remove the DstSummary object with the specified path elements from the managed object store. | |
| static void | removeUnderPolicyUniversePlatformConfigSpanDstGrpSpanDstMember (const std::string &platformConfigName, const std::string &spanDstGrpName, const std::string &spanDstMemberName) |
| Remove the DstSummary object with the specified path elements from the managed object store using the default framework instance. | |
| static void | registerListener (opflex::ofcore::OFFramework &framework, opflex::modb::ObjectListener *listener) |
| Register a listener that will get called for changes related to this class. | |
| 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. | |
| static void | unregisterListener (opflex::ofcore::OFFramework &framework, opflex::modb::ObjectListener *listener) |
| Unregister a listener from updates to this class. | |
| static void | unregisterListener (opflex::modb::ObjectListener *listener) |
| Unregister a listener from updates to this class from the default framework instance. | |
Static Public Attributes | |
| static const opflex::modb::class_id_t | CLASS_ID = 79 |
| The unique class ID for DstSummary. | |
|
inline |
Construct an instance of DstSummary.
This should not typically be called from user code.
|
inline |
Get the value of dest if it has been set.
References isDestSet(), and resolve().
Referenced by getDest().
Get the value of dscp if it has been set.
References isDscpSet(), and resolve().
Referenced by getDscp().
|
inline |
Get the value of flowId if it has been set.
References isFlowIdSet(), and resolve().
Referenced by getFlowId().
Get the value of flowId if set, otherwise the value of default passed in.
| defaultValue | default value returned if the property is not set |
References getFlowId(), and resolve().
Get the value of mode if it has been set.
References isModeSet(), and resolve().
Referenced by getMode().
|
inline |
Get the value of mtu if it has been set.
References isMtuSet(), and resolve().
Referenced by getMtu().
|
inline |
Get the value of srcPrefix if it has been set.
References isSrcPrefixSet(), and resolve().
Referenced by getSrcPrefix().
|
inline |
Get the value of srcPrefix if set, otherwise the value of default passed in.
| defaultValue | default value returned if the property is not set |
References getSrcPrefix(), and resolve().
Get the value of ttl if it has been set.
References isTtlSet(), and resolve().
Referenced by getTtl().
Get the value of version if it has been set.
References isVersionSet(), and resolve().
Referenced by getVersion().
Get the value of version if set, otherwise the value of default passed in.
| defaultValue | default value returned if the property is not set |
References getVersion(), and resolve().
|
inline |
Get the value of vrfName if it has been set.
References isVrfNameSet(), and resolve().
Referenced by getVrfName().
|
inline |
Get the value of vrfName if set, otherwise the value of default passed in.
| defaultValue | default value returned if the property is not set |
References getVrfName(), and resolve().
|
inline |
|
inline |
|
inline |
Check whether flowId has been set.
References resolve().
Referenced by getFlowId().
|
inline |
|
inline |
|
inline |
Check whether srcPrefix has been set.
References resolve().
Referenced by getSrcPrefix().
|
inline |
|
inline |
Check whether version has been set.
References resolve().
Referenced by getVersion().
|
inline |
Check whether vrfName has been set.
References resolve().
Referenced by getVrfName().
|
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(), and resolve().
|
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, and resolve().
Referenced by 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, and resolve().
Referenced by remove().
Remove the DstSummary 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 DstSummary 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 |
|
inlinestatic |
Remove the DstSummary 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: /PolicyUniverse/PlatformConfig/[platformConfigName]/SpanDstGrp/[spanDstGrpName]/SpanDstMember/[spanDstMemberName]/SpanDstSummary
| platformConfigName | the value of platformConfigName, a naming property for Config |
| spanDstGrpName | the value of spanDstGrpName, a naming property for DstGrp |
| spanDstMemberName | the value of spanDstMemberName, a naming property for DstMember |
| std::logic_error | if no mutator is active |
References removeUnderPolicyUniversePlatformConfigSpanDstGrpSpanDstMember(), and resolve().
|
inlinestatic |
Remove the DstSummary 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: /PolicyUniverse/PlatformConfig/[platformConfigName]/SpanDstGrp/[spanDstGrpName]/SpanDstMember/[spanDstMemberName]/SpanDstSummary
| framework | the framework instance to use |
| platformConfigName | the value of platformConfigName, a naming property for Config |
| spanDstGrpName | the value of spanDstGrpName, a naming property for DstGrp |
| spanDstMemberName | the value of spanDstMemberName, a naming property for DstMember |
| std::logic_error | if no mutator is active |
References CLASS_ID, and resolve().
Referenced by removeUnderPolicyUniversePlatformConfigSpanDstGrpSpanDstMember().
|
inlinestatic |
Remove the DstSummary 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: /PolicyUniverse/PlatformConfig/[platformConfigName]/SpanSrcGrp/[spanSrcGrpName]/SpanDstMember/[spanDstMemberName]/SpanDstSummary
| platformConfigName | the value of platformConfigName, a naming property for Config |
| spanSrcGrpName | the value of spanSrcGrpName, a naming property for SrcGrp |
| spanDstMemberName | the value of spanDstMemberName, a naming property for DstMember |
| std::logic_error | if no mutator is active |
References removeUnderPolicyUniversePlatformConfigSpanSrcGrpSpanDstMember(), and resolve().
|
inlinestatic |
Remove the DstSummary 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: /PolicyUniverse/PlatformConfig/[platformConfigName]/SpanSrcGrp/[spanSrcGrpName]/SpanDstMember/[spanDstMemberName]/SpanDstSummary
| framework | the framework instance to use |
| platformConfigName | the value of platformConfigName, a naming property for Config |
| spanSrcGrpName | the value of spanSrcGrpName, a naming property for SrcGrp |
| spanDstMemberName | the value of spanDstMemberName, a naming property for DstMember |
| std::logic_error | if no mutator is active |
References CLASS_ID, and resolve().
Referenced by removeUnderPolicyUniversePlatformConfigSpanSrcGrpSpanDstMember().
|
inlinestatic |
Retrieve an instance of DstSummary 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 |
|
inlinestatic |
Retrieve an instance of DstSummary 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, and resolve().
Referenced by getDest(), getDest(), getDscp(), getDscp(), getFlowId(), getFlowId(), getMode(), getMode(), getMtu(), getMtu(), getSrcPrefix(), getSrcPrefix(), getTtl(), getTtl(), getVersion(), getVersion(), getVrfName(), getVrfName(), isDestSet(), isDscpSet(), isFlowIdSet(), isModeSet(), isMtuSet(), isSrcPrefixSet(), isTtlSet(), isVersionSet(), isVrfNameSet(), registerListener(), registerListener(), remove(), remove(), remove(), removeUnderPolicyUniversePlatformConfigSpanDstGrpSpanDstMember(), removeUnderPolicyUniversePlatformConfigSpanDstGrpSpanDstMember(), removeUnderPolicyUniversePlatformConfigSpanSrcGrpSpanDstMember(), removeUnderPolicyUniversePlatformConfigSpanSrcGrpSpanDstMember(), resolve(), resolve(), modelgbp::span::DstMember::resolveSpanDstSummary(), resolveUnderPolicyUniversePlatformConfigSpanDstGrpSpanDstMember(), resolveUnderPolicyUniversePlatformConfigSpanDstGrpSpanDstMember(), resolveUnderPolicyUniversePlatformConfigSpanSrcGrpSpanDstMember(), resolveUnderPolicyUniversePlatformConfigSpanSrcGrpSpanDstMember(), setDest(), setDscp(), setFlowId(), setMode(), setMtu(), setSrcPrefix(), setTtl(), setVersion(), setVrfName(), unregisterListener(), unregisterListener(), unsetDest(), unsetDscp(), unsetFlowId(), unsetMode(), unsetMtu(), unsetSrcPrefix(), unsetTtl(), unsetVersion(), and unsetVrfName().
|
inlinestatic |
Retrieve an instance of DstSummary 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: /PolicyUniverse/PlatformConfig/[platformConfigName]/SpanDstGrp/[spanDstGrpName]/SpanDstMember/[spanDstMemberName]/SpanDstSummary
| platformConfigName | the value of platformConfigName, a naming property for Config |
| spanDstGrpName | the value of spanDstGrpName, a naming property for DstGrp |
| spanDstMemberName | the value of spanDstMemberName, a naming property for DstMember |
References resolve(), and resolveUnderPolicyUniversePlatformConfigSpanDstGrpSpanDstMember().
|
inlinestatic |
Retrieve an instance of DstSummary 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: /PolicyUniverse/PlatformConfig/[platformConfigName]/SpanDstGrp/[spanDstGrpName]/SpanDstMember/[spanDstMemberName]/SpanDstSummary
| framework | the framework instance to use |
| platformConfigName | the value of platformConfigName, a naming property for Config |
| spanDstGrpName | the value of spanDstGrpName, a naming property for DstGrp |
| spanDstMemberName | the value of spanDstMemberName, a naming property for DstMember |
References resolve().
Referenced by resolveUnderPolicyUniversePlatformConfigSpanDstGrpSpanDstMember().
|
inlinestatic |
Retrieve an instance of DstSummary 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: /PolicyUniverse/PlatformConfig/[platformConfigName]/SpanSrcGrp/[spanSrcGrpName]/SpanDstMember/[spanDstMemberName]/SpanDstSummary
| platformConfigName | the value of platformConfigName, a naming property for Config |
| spanSrcGrpName | the value of spanSrcGrpName, a naming property for SrcGrp |
| spanDstMemberName | the value of spanDstMemberName, a naming property for DstMember |
References resolve(), and resolveUnderPolicyUniversePlatformConfigSpanSrcGrpSpanDstMember().
|
inlinestatic |
Retrieve an instance of DstSummary 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: /PolicyUniverse/PlatformConfig/[platformConfigName]/SpanSrcGrp/[spanSrcGrpName]/SpanDstMember/[spanDstMemberName]/SpanDstSummary
| framework | the framework instance to use |
| platformConfigName | the value of platformConfigName, a naming property for Config |
| spanSrcGrpName | the value of spanSrcGrpName, a naming property for SrcGrp |
| spanDstMemberName | the value of spanDstMemberName, a naming property for DstMember |
References resolve().
Referenced by resolveUnderPolicyUniversePlatformConfigSpanSrcGrpSpanDstMember().
|
inline |
Set dest to the specified value in the currently-active mutator.
| newValue | the new value to set. |
| std::logic_error | if no mutator is active |
References resolve().
|
inline |
Set dscp to the specified value in the currently-active mutator.
| newValue | the new value to set. |
| std::logic_error | if no mutator is active |
References resolve().
|
inline |
Set flowId to the specified value in the currently-active mutator.
| newValue | the new value to set. |
| std::logic_error | if no mutator is active |
References resolve().
|
inline |
Set mode to the specified value in the currently-active mutator.
| newValue | the new value to set. |
| std::logic_error | if no mutator is active |
References resolve().
|
inline |
Set mtu to the specified value in the currently-active mutator.
| newValue | the new value to set. |
| std::logic_error | if no mutator is active |
References resolve().
|
inline |
Set srcPrefix to the specified value in the currently-active mutator.
| newValue | the new value to set. |
| std::logic_error | if no mutator is active |
References resolve().
|
inline |
Set ttl to the specified value in the currently-active mutator.
| newValue | the new value to set. |
| std::logic_error | if no mutator is active |
References resolve().
|
inline |
Set version to the specified value in the currently-active mutator.
| newValue | the new value to set. |
| std::logic_error | if no mutator is active |
References resolve().
|
inline |
Set vrfName to the specified value in the currently-active mutator.
| newValue | the new value to set. |
| std::logic_error | if no mutator is active |
References resolve().
|
inlinestatic |
Unregister a listener from updates to this class from the default framework instance.
| listener | The listener to unregister. |
References resolve(), and unregisterListener().
|
inlinestatic |
Unregister a listener from updates to this class.
| framework | the framework instance |
| listener | The listener to unregister. |
References CLASS_ID, and resolve().
Referenced by unregisterListener().
|
inline |
Unset dest in the currently-active mutator.
| std::logic_error | if no mutator is active |
References resolve().
|
inline |
Unset dscp in the currently-active mutator.
| std::logic_error | if no mutator is active |
References resolve().
|
inline |
Unset flowId in the currently-active mutator.
| std::logic_error | if no mutator is active |
References resolve().
|
inline |
Unset mode in the currently-active mutator.
| std::logic_error | if no mutator is active |
References resolve().
|
inline |
Unset mtu in the currently-active mutator.
| std::logic_error | if no mutator is active |
References resolve().
|
inline |
Unset srcPrefix in the currently-active mutator.
| std::logic_error | if no mutator is active |
References resolve().
|
inline |
Unset ttl in the currently-active mutator.
| std::logic_error | if no mutator is active |
References resolve().
|
inline |
Unset version in the currently-active mutator.
| std::logic_error | if no mutator is active |
References resolve().
|
inline |
Unset vrfName in the currently-active mutator.
| std::logic_error | if no mutator is active |
References resolve().