|
NetBurner 3.5.8
PDF Version |
Configuration Variable for IPADDR4 (IPv4) object types. More...
#include <config_obj.h>
Inherits config_value.
Public Member Functions | |
| virtual void | GetTextValue (NBString &s) override |
| Get the object value as a text string with quotations to the specified NBString object. | |
| config_IPADDR4 (config_obj &owner, IPADDR4 def_val, const char *name, const char *desc=NULL) | |
| Object constructor with the parent/owner leaf parameter. | |
| config_IPADDR4 (IPADDR4 def_val, const char *name, const char *desc=NULL) | |
| Object constructor. | |
| config_IPADDR4 (config_obj &owner, const char *def_val, const char *name, const char *desc=NULL) | |
| Object constructor with the parent/owner leaf parameter. | |
| config_IPADDR4 (const char *def_val, const char *name, const char *desc=NULL) | |
| Object constructor. | |
| operator IPADDR4 () const | |
| Returns the object value. | |
| bool | IsNull () const |
| Check if the IP address is null. | |
| bool | NotNull () const |
| Check if the IP address is not null. | |
| void | SetNull () |
| Set the IP address to null. | |
| config_IPADDR4 & | operator= (const IPADDR4 &i4) |
| Copy an IPADDR4 object value to a config_IPADDR4 object. | |
| config_IPADDR4 & | operator= (const config_IPADDR4 &ci) |
| Copy one config_IPADDR4 object to another. | |
| virtual void | GetTypeValue (NBString &s) override |
| Copy the object type value to the specified NBString object. | |
Friends | |
| class | I4Record |
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. | |
Configuration Variable for IPADDR4 (IPv4) object types.
|
inline |
|
inline |
|
inline |
Object constructor with the parent/owner leaf parameter.
Default value assigned with an const char * string. IP address is converted using the IPADDR4 SetFromAscii() member function.
| owner | Reference to owner/parent leaf |
| def_val | Default value of type char *. Format is: "xxx.xxx.xxx.xxx". For example, "10.1.1.100" |
| name | Field name assigned to the value |
| desc | Description used for info/tool tip |
|
inline |
Object constructor.
Default value assigned with an const char * string. IP address is converted using the IPADDR4 SetFromAscii() member function.
| def_val | Default value of type char *. Format is: "xxx.xxx.xxx.xxx". For example, "10.1.1.100" |
| name | Field name assigned to the value |
| desc | Description used for info/tool tip |
|
inlineoverridevirtual |
Get the object value as a text string with quotations to the specified NBString object.
The format of the string is: "xxx.xxx.xxx.xxx". This is a virtual function that can be overridden in any derived class.
| s | Reference to a NBString object to store the result |
Implements config_value.
|
inlineoverridevirtual |
|
inline |
|
inline |
|
inline |
Returns the object value.
|
inline |
Copy one config_IPADDR4 object to another.
| ci | Reference to a config_IPADDR4 object |
|
inline |
Copy an IPADDR4 object value to a config_IPADDR4 object.
| i4 | Reference to an IPADDR4 object |