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 (const HebiInfoRef &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_
 
const HebiInfoRefinternal_
 

Detailed Description

A message field representable by a bool value.

Definition at line 165 of file info.hpp.

Constructor & Destructor Documentation

hebi::Info::BoolField::BoolField ( const HebiInfoRef internal,
HebiInfoBoolField  field 
)

Definition at line 42 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 46 of file info.cpp.

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

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

Definition at line 44 of file info.cpp.

Member Data Documentation

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

Definition at line 179 of file info.hpp.

const HebiInfoRef& hebi::Info::BoolField::internal_
private

Definition at line 178 of file info.hpp.


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


hebi_cpp_api_ros
Author(s): Chris Bollinger , Matthew Tesch
autogenerated on Thu May 28 2020 03:14:45