asio 0.1.5 | Main Page | Class Index | Member Index | Tutorial |
Public Member Functions | |
flag () | |
Default constructor. | |
flag (bool enabled) | |
Construct to be either enabled or disabled. | |
int | level () const |
Get the level of the socket option. | |
int | name () const |
Get the name of the socket option. | |
void | set (bool enabled) |
Set the value of the flag. | |
bool | get () const |
Get the current value of the flag. | |
void * | data () |
Get the address of the flag data. | |
const void * | data () const |
Get the address of the flag data. | |
size_t | size () const |
Get the size of the flag data. | |
Private Attributes | |
int | value_ |
The underlying value of the flag. |
|
Default constructor.
|
|
Construct to be either enabled or disabled.
|
|
Get the level of the socket option.
|
|
Get the name of the socket option.
|
|
Set the value of the flag.
|
|
Get the current value of the flag.
|
|
Get the address of the flag data.
|
|
Get the address of the flag data.
|
|
Get the size of the flag data.
|
|
The underlying value of the flag.
|