EmbeddedProto  2.0.0
EmbeddedProto is a C++ Protocol Buffer implementation specifically suitable for microcontrollers.
Public Member Functions | List of all members
EmbeddedProto::uint64 Class Reference

#include <Fields.h>

Inheritance diagram for EmbeddedProto::uint64:
Inheritance graph
[legend]
Collaboration diagram for EmbeddedProto::uint64:
Collaboration graph
[legend]

Public Member Functions

 uint64 ()
 
 uint64 (const uint64_t &v)
 
 uint64 (const uint64_t &&v)
 
 ~uint64 () override=default
 
Error serialize_with_id (uint32_t field_number, WriteBufferInterface &buffer) const final
 
Error serialize (WriteBufferInterface &buffer) const final
 
Error deserialize (ReadBufferInterface &buffe) final
 
- Public Member Functions inherited from EmbeddedProto::FieldTemplate< uint64_t >
 FieldTemplate ()=default
 
 FieldTemplate (const uint64_t &v)
 
 FieldTemplate (const uint64_t &&v)
 
 ~FieldTemplate () override=default
 
void set (const uint64_t &v)
 
void set (const uint64_t &&v)
 
void operator= (const uint64_t &v)
 
void operator= (const uint64_t &&v)
 
const uint64_t & get () const
 
uint64_t & get ()
 
 operator uint64_t () const
 
bool operator== (const uint64_t &rhs)
 
bool operator== (const FieldTemplate< TYPE_RHS > &rhs)
 
bool operator!= (const uint64_t &rhs)
 
bool operator!= (const FieldTemplate< TYPE_RHS > &rhs)
 
bool operator> (const uint64_t &rhs)
 
bool operator> (const FieldTemplate< TYPE_RHS > &rhs)
 
bool operator< (const uint64_t &rhs)
 
bool operator< (const FieldTemplate< TYPE_RHS > &rhs)
 
bool operator>= (const uint64_t &rhs)
 
bool operator>= (const FieldTemplate< TYPE_RHS > &rhs)
 
bool operator<= (const uint64_t &rhs)
 
bool operator<= (const FieldTemplate< TYPE_RHS > &rhs)
 
void clear () override
 Reset the field to it's initial value. More...
 
- Public Member Functions inherited from EmbeddedProto::Field
 Field ()=default
 
virtual ~Field ()=default
 
uint32_t serialized_size () const
 Calculate the size of this message when serialized. More...
 

Additional Inherited Members

- Public Types inherited from EmbeddedProto::FieldTemplate< uint64_t >
typedef uint64_t FIELD_TYPE
 

Constructor & Destructor Documentation

◆ uint64() [1/3]

EmbeddedProto::uint64::uint64 ( )
inline

◆ uint64() [2/3]

EmbeddedProto::uint64::uint64 ( const uint64_t &  v)
inline

◆ uint64() [3/3]

EmbeddedProto::uint64::uint64 ( const uint64_t &&  v)
inline

◆ ~uint64()

EmbeddedProto::uint64::~uint64 ( )
overridedefault

Member Function Documentation

◆ deserialize()

Error EmbeddedProto::uint64::deserialize ( ReadBufferInterface buffe)
finalvirtual

Implements EmbeddedProto::Field.

◆ serialize()

Error EmbeddedProto::uint64::serialize ( WriteBufferInterface buffer) const
finalvirtual

Implements EmbeddedProto::Field.

◆ serialize_with_id()

Error EmbeddedProto::uint64::serialize_with_id ( uint32_t  field_number,
WriteBufferInterface buffer 
) const
finalvirtual

Implements EmbeddedProto::Field.


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