Public Member Functions | Private Attributes | List of all members
hebi::Info::BoolField Class Referencefinal

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_
 

Detailed Description

A message field representable by a bool value.

Definition at line 144 of file info.hpp.

Constructor & Destructor Documentation

hebi::Info::BoolField::BoolField ( HebiInfoPtr  internal,
HebiInfoBoolField  field 
)

Definition at line 67 of file info.cpp.

Member Function Documentation

bool hebi::Info::BoolField::get ( ) const

If the field has a value, returns that value; otherwise, returns false.

Definition at line 77 of file info.cpp.

bool hebi::Info::BoolField::has ( ) const

True if (and only if) the field has a value.

Definition at line 72 of file info.cpp.

Member Data Documentation

HebiInfoBoolField const hebi::Info::BoolField::field_
private

Definition at line 158 of file info.hpp.

HebiInfoPtr const hebi::Info::BoolField::internal_
private

Definition at line 157 of file info.hpp.


The documentation for this class was generated from the following files:


hebiros
Author(s): Xavier Artache , Matthew Tesch
autogenerated on Thu Sep 3 2020 04:11:00