modelgbp Generated OpFlex Model
1.7.0
|
Public Member Functions | |
bool | isPreferredLifetimeSet () |
Check whether preferredLifetime has been set. More... | |
boost::optional< uint32_t > | getPreferredLifetime () |
Get the value of preferredLifetime if it has been set. More... | |
uint32_t | getPreferredLifetime (uint32_t defaultValue) |
Get the value of preferredLifetime if set, otherwise the value of default passed in. More... | |
modelgbp::inv::DHCPv6Config & | setPreferredLifetime (uint32_t newValue) |
Set preferredLifetime to the specified value in the currently-active mutator. More... | |
modelgbp::inv::DHCPv6Config & | unsetPreferredLifetime () |
Unset preferredLifetime in the currently-active mutator. More... | |
bool | isT1Set () |
Check whether t1 has been set. More... | |
boost::optional< uint32_t > | getT1 () |
Get the value of t1 if it has been set. More... | |
uint32_t | getT1 (uint32_t defaultValue) |
Get the value of t1 if set, otherwise the value of default passed in. More... | |
modelgbp::inv::DHCPv6Config & | setT1 (uint32_t newValue) |
Set t1 to the specified value in the currently-active mutator. More... | |
modelgbp::inv::DHCPv6Config & | unsetT1 () |
Unset t1 in the currently-active mutator. More... | |
bool | isT2Set () |
Check whether t2 has been set. More... | |
boost::optional< uint32_t > | getT2 () |
Get the value of t2 if it has been set. More... | |
uint32_t | getT2 (uint32_t defaultValue) |
Get the value of t2 if set, otherwise the value of default passed in. More... | |
modelgbp::inv::DHCPv6Config & | setT2 (uint32_t newValue) |
Set t2 to the specified value in the currently-active mutator. More... | |
modelgbp::inv::DHCPv6Config & | unsetT2 () |
Unset t2 in the currently-active mutator. More... | |
bool | isValidLifetimeSet () |
Check whether validLifetime has been set. More... | |
boost::optional< uint32_t > | getValidLifetime () |
Get the value of validLifetime if it has been set. More... | |
uint32_t | getValidLifetime (uint32_t defaultValue) |
Get the value of validLifetime if set, otherwise the value of default passed in. More... | |
modelgbp::inv::DHCPv6Config & | setValidLifetime (uint32_t newValue) |
Set validLifetime to the specified value in the currently-active mutator. More... | |
modelgbp::inv::DHCPv6Config & | unsetValidLifetime () |
Unset validLifetime in the currently-active mutator. More... | |
boost::optional< OF_SHARED_PTR< modelgbp::inv::DNSServer > > | resolveInvDNSServer (const std::string &invDNSServerName) |
Retrieve the child object with the specified naming properties. More... | |
OF_SHARED_PTR< modelgbp::inv::DNSServer > | addInvDNSServer (const std::string &invDNSServerName) |
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 | resolveInvDNSServer (std::vector< OF_SHARED_PTR< modelgbp::inv::DNSServer > > &out) |
Resolve and retrieve all of the immediate children of type modelgbp::inv::DNSServer. More... | |
boost::optional< OF_SHARED_PTR< modelgbp::inv::SearchListEntry > > | resolveInvSearchListEntry (const std::string &invSearchListEntryName) |
Retrieve the child object with the specified naming properties. More... | |
OF_SHARED_PTR< modelgbp::inv::SearchListEntry > | addInvSearchListEntry (const std::string &invSearchListEntryName) |
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 | resolveInvSearchListEntry (std::vector< OF_SHARED_PTR< modelgbp::inv::SearchListEntry > > &out) |
Resolve and retrieve all of the immediate children of type modelgbp::inv::SearchListEntry. More... | |
void | remove () |
Remove this instance using the currently-active mutator. More... | |
DHCPv6Config (opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri, const OF_SHARED_PTR< const opflex::modb::mointernal::ObjectInstance > &oi) | |
Construct an instance of DHCPv6Config. More... | |
Static Public Member Functions | |
static boost::optional< OF_SHARED_PTR< modelgbp::inv::DHCPv6Config > > | resolve (opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri) |
Retrieve an instance of DHCPv6Config from the managed object store. More... | |
static boost::optional< OF_SHARED_PTR< modelgbp::inv::DHCPv6Config > > | resolve (const opflex::modb::URI &uri) |
Retrieve an instance of DHCPv6Config from the managed object store using the default framework instance. More... | |
static boost::optional< OF_SHARED_PTR< modelgbp::inv::DHCPv6Config > > | resolve (opflex::ofcore::OFFramework &framework, const std::string &invLocalEndpointInventoryName, const std::string &invLocalInventoryEpUuid) |
Retrieve an instance of DHCPv6Config 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::inv::DHCPv6Config > > | resolve (const std::string &invLocalEndpointInventoryName, const std::string &invLocalInventoryEpUuid) |
Retrieve an instance of DHCPv6Config 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 DHCPv6Config object with the specified URI using the currently-active mutator. More... | |
static void | remove (const opflex::modb::URI &uri) |
Remove the DHCPv6Config 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 &invLocalEndpointInventoryName, const std::string &invLocalInventoryEpUuid) |
Remove the DHCPv6Config object with the specified path elements from the managed object store. More... | |
static void | remove (const std::string &invLocalEndpointInventoryName, const std::string &invLocalInventoryEpUuid) |
Remove the DHCPv6Config 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 = 134 |
The unique class ID for DHCPv6Config. | |
|
inline |
Construct an instance of DHCPv6Config.
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.
invDNSServerName | the value of invDNSServerName, a naming property for DNSServer |
std::logic_error | if no mutator is active |
References CLASS_ID.
|
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.
invSearchListEntryName | the value of invSearchListEntryName, a naming property for SearchListEntry |
std::logic_error | if no mutator is active |
References CLASS_ID.
|
inline |
Get the value of preferredLifetime if it has been set.
References isPreferredLifetimeSet().
Referenced by getPreferredLifetime().
|
inline |
Get the value of preferredLifetime if set, otherwise the value of default passed in.
defaultValue | default value returned if the property is not set |
References getPreferredLifetime().
|
inline |
|
inline |
Get the value of t1 if set, otherwise the value of default passed in.
defaultValue | default value returned if the property is not set |
References getT1().
|
inline |
|
inline |
Get the value of t2 if set, otherwise the value of default passed in.
defaultValue | default value returned if the property is not set |
References getT2().
|
inline |
Get the value of validLifetime if it has been set.
References isValidLifetimeSet().
Referenced by getValidLifetime().
|
inline |
Get the value of validLifetime if set, otherwise the value of default passed in.
defaultValue | default value returned if the property is not set |
References getValidLifetime().
|
inline |
Check whether preferredLifetime has been set.
Referenced by getPreferredLifetime().
|
inline |
|
inline |
|
inline |
Check whether validLifetime has been set.
Referenced by getValidLifetime().
|
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 DHCPv6Config 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 DHCPv6Config 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 DHCPv6Config 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: /InvUniverse/InvLocalEndpointInventory/[invLocalEndpointInventoryName]/InvLocalInventoryEp/[invLocalInventoryEpUuid]/InvDHCPv6Config
framework | the framework instance to use |
invLocalEndpointInventoryName | the value of invLocalEndpointInventoryName, a naming property for LocalEndpointInventory |
invLocalInventoryEpUuid | the value of invLocalInventoryEpUuid, a naming property for LocalInventoryEp |
std::logic_error | if no mutator is active |
References CLASS_ID.
|
inlinestatic |
Remove the DHCPv6Config 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: /InvUniverse/InvLocalEndpointInventory/[invLocalEndpointInventoryName]/InvLocalInventoryEp/[invLocalInventoryEpUuid]/InvDHCPv6Config
invLocalEndpointInventoryName | the value of invLocalEndpointInventoryName, a naming property for LocalEndpointInventory |
invLocalInventoryEpUuid | the value of invLocalInventoryEpUuid, a naming property for LocalInventoryEp |
std::logic_error | if no mutator is active |
|
inlinestatic |
Retrieve an instance of DHCPv6Config 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::inv::LocalInventoryEp::resolveInvDHCPv6Config().
|
inlinestatic |
Retrieve an instance of DHCPv6Config 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 DHCPv6Config 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: /InvUniverse/InvLocalEndpointInventory/[invLocalEndpointInventoryName]/InvLocalInventoryEp/[invLocalInventoryEpUuid]/InvDHCPv6Config
framework | the framework instance to use |
invLocalEndpointInventoryName | the value of invLocalEndpointInventoryName, a naming property for LocalEndpointInventory |
invLocalInventoryEpUuid | the value of invLocalInventoryEpUuid, a naming property for LocalInventoryEp |
References resolve().
|
inlinestatic |
Retrieve an instance of DHCPv6Config 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: /InvUniverse/InvLocalEndpointInventory/[invLocalEndpointInventoryName]/InvLocalInventoryEp/[invLocalInventoryEpUuid]/InvDHCPv6Config
invLocalEndpointInventoryName | the value of invLocalEndpointInventoryName, a naming property for LocalEndpointInventory |
invLocalInventoryEpUuid | the value of invLocalInventoryEpUuid, a naming property for LocalInventoryEp |
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.
invDNSServerName | the value of invDNSServerName, a naming property for DNSServer |
References modelgbp::inv::DNSServer::resolve().
|
inline |
Resolve and retrieve all of the immediate children of type modelgbp::inv::DNSServer.
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 |
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.
invSearchListEntryName | the value of invSearchListEntryName, a naming property for SearchListEntry |
References modelgbp::inv::SearchListEntry::resolve().
|
inline |
Resolve and retrieve all of the immediate children of type modelgbp::inv::SearchListEntry.
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 preferredLifetime 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 t1 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 t2 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 validLifetime 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 preferredLifetime in the currently-active mutator.
std::logic_error | if no mutator is active |
|
inline |
Unset t1 in the currently-active mutator.
std::logic_error | if no mutator is active |
|
inline |
Unset t2 in the currently-active mutator.
std::logic_error | if no mutator is active |
|
inline |
Unset validLifetime in the currently-active mutator.
std::logic_error | if no mutator is active |