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

#include <Fields.h>

Inheritance diagram for EmbeddedProto::sint64:
Inheritance graph
Collaboration diagram for EmbeddedProto::sint64:
Collaboration graph

Public Member Functions

 sint64 ()
 sint64 (const int64_t &v)
 sint64 (const int64_t &&v)
 ~sint64 () override=default
Error serialize_with_id (uint32_t field_number, WriteBufferInterface &buffer) const final
Error serialize (WriteBufferInterface &buffer) const final
Error deserialize (ReadBufferInterface &buffer) final
- Public Member Functions inherited from EmbeddedProto::FieldTemplate< int64_t >
 FieldTemplate ()=default
 FieldTemplate (const int64_t &v)
 FieldTemplate (const int64_t &&v)
 ~FieldTemplate () override=default
void set (const int64_t &v)
void set (const int64_t &&v)
void operator= (const int64_t &v)
void operator= (const int64_t &&v)
const int64_t & get () const
int64_t & get ()
 operator int64_t () const
bool operator== (const int64_t &rhs)
bool operator== (const FieldTemplate< TYPE_RHS > &rhs)
bool operator!= (const int64_t &rhs)
bool operator!= (const FieldTemplate< TYPE_RHS > &rhs)
bool operator> (const int64_t &rhs)
bool operator> (const FieldTemplate< TYPE_RHS > &rhs)
bool operator< (const int64_t &rhs)
bool operator< (const FieldTemplate< TYPE_RHS > &rhs)
bool operator>= (const int64_t &rhs)
bool operator>= (const FieldTemplate< TYPE_RHS > &rhs)
bool operator<= (const int64_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< int64_t >
typedef int64_t FIELD_TYPE

Constructor & Destructor Documentation

◆ sint64() [1/3]

EmbeddedProto::sint64::sint64 ( )

◆ sint64() [2/3]

EmbeddedProto::sint64::sint64 ( const int64_t &  v)

◆ sint64() [3/3]

EmbeddedProto::sint64::sint64 ( const int64_t &&  v)

◆ ~sint64()

EmbeddedProto::sint64::~sint64 ( )

Member Function Documentation

◆ deserialize()

Error EmbeddedProto::sint64::deserialize ( ReadBufferInterface buffer)

Implements EmbeddedProto::Field.

◆ serialize()

Error EmbeddedProto::sint64::serialize ( WriteBufferInterface buffer) const

Implements EmbeddedProto::Field.

◆ serialize_with_id()

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

Implements EmbeddedProto::Field.

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