ESPHome  2022.9.1
Public Member Functions | Protected Attributes
esphome::api::Proto64Bit Class Reference

#include <proto.h>

Public Member Functions

 Proto64Bit (uint64_t value)
 
uint64_t as_fixed64 () const
 
int64_t as_sfixed64 () const
 
double as_double () const
 

Protected Attributes

const uint64_t value_
 

Detailed Description

Definition at line 126 of file proto.h.

Constructor & Destructor Documentation

◆ Proto64Bit()

esphome::api::Proto64Bit::Proto64Bit ( uint64_t  value)
inlineexplicit

Definition at line 128 of file proto.h.

Member Function Documentation

◆ as_double()

double esphome::api::Proto64Bit::as_double ( ) const
inline

Definition at line 131 of file proto.h.

◆ as_fixed64()

uint64_t esphome::api::Proto64Bit::as_fixed64 ( ) const
inline

Definition at line 129 of file proto.h.

◆ as_sfixed64()

int64_t esphome::api::Proto64Bit::as_sfixed64 ( ) const
inline

Definition at line 130 of file proto.h.

Field Documentation

◆ value_

const uint64_t esphome::api::Proto64Bit::value_
protected

Definition at line 141 of file proto.h.


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