|
NetBurner 3.5.8
PDF Version |
A config_uint with minimum and/or maximum values Attempting to set a value lower than the minimum or greater than the maximum will fail with an error both programmatically and in the Config Web UI. More...
#include <config_obj.h>
Inherits config_uint.
Public Member Functions | |
| config_uint_limit (config_obj &owner, uint32_t def_val, uint32_t minv=0, uint32_t maxv=UINT_MAX, const char *name=NULL, const char *desc=NULL) | |
| Object constructor with the parent/owner leaf parameter and limits. | |
| config_uint_limit (uint32_t def_val, uint32_t minv=0, uint32_t maxv=UINT_MAX, const char *name=NULL, const char *desc=NULL) | |
| Object constructor with limits. | |
| config_uint_limit (config_uint_limit &&o)=default | |
| Move constructor (mirrors the movable base config_uint). | |
| config_uint_limit & | operator= (const config_uint &ci) |
| Copy a config_uint object into the config_uint_limit. | |
| config_uint_limit & | operator= (const config_uint_limit &cil) |
| Copy one config_uint_limit object to another. | |
| Public Member Functions inherited from config_uint | |
| virtual void | GetTextValue (NBString &s) override |
| Copy the object value to the specified NBString object. | |
| config_uint (config_obj &owner, uint32_t def_val, const char *name, const char *desc=NULL) | |
| Object constructor with the parent/owner leaf parameter. | |
| config_uint (uint32_t def_val, const char *name, const char *desc=NULL) | |
| Object constructor. | |
| operator uint32_t () const | |
| Return the object value. | |
| config_uint & | operator= (const uint32_t i) |
| Assign the config_uint object value from a uint32_t value. | |
| config_uint & | operator= (const config_uint &ci) |
| Copy one config_uint object to another. | |
| virtual void | GetTypeValue (NBString &s) override |
| Copy the object type value to the specified NBString object. | |
Additional Inherited Members | |
| Protected Member Functions inherited from config_value | |
| config_value (config_obj &owner, const char *name, const char *desc) | |
| Object constructor with the parent/owner leaf parameter. | |
| config_value (const char *name, const char *desc) | |
| Object constructor. | |
A config_uint with minimum and/or maximum values Attempting to set a value lower than the minimum or greater than the maximum will fail with an error both programmatically and in the Config Web UI.
|
inline |
Object constructor with the parent/owner leaf parameter and limits.
| owner | Reference to owner/parent leaf |
| def_val | Default value |
| minv | Minimum value |
| maxv | Maximum value |
| name | Field name assigned to the value |
| desc | Description used for info/tool tip |
|
inline |
Object constructor with limits.
| def_val | Default value |
| minv | Minimum value |
| maxv | Maximum value |
| name | Field name assigned to the value |
| desc | Description used for info/tool tip |
|
default |
Move constructor (mirrors the movable base config_uint).
Without this the user-declared operator= overloads suppress the implicit move constructor, leaving the class neither movable nor copyable.
|
inline |
Copy a config_uint object into the config_uint_limit.
| ci | Reference to a config_uint object |
|
inline |
Copy one config_uint_limit object to another.
| cil | Reference to a config_uint_limit object |