A message field representable by a bool value. More...
#include <info.hpp>
Public Member Functions | |
BoolField (HebiInfoPtr internal, HebiInfoBoolField field) | |
bool | get () const |
If the field has a value, returns that value; otherwise, returns false. More... | |
bool | has () const |
True if (and only if) the field has a value. More... | |
Private Attributes | |
HebiInfoBoolField const | field_ |
HebiInfoPtr const | internal_ |
hebi::Info::BoolField::BoolField | ( | HebiInfoPtr | internal, |
HebiInfoBoolField | field | ||
) |
bool hebi::Info::BoolField::get | ( | ) | const |
bool hebi::Info::BoolField::has | ( | ) | const |
|
private |
|
private |