MDBX Containers
Loading...
Searching...
No Matches
SimpleStruct Struct Reference

Public Member Functions

std::vector< uint8_t > to_bytes () const
 
bool operator== (const SimpleStruct &other) const
 

Static Public Member Functions

static SimpleStruct from_bytes (const std::vector< uint8_t > &bytes)
 
static SimpleStruct from_bytes (const void *data, size_t size)
 

Public Attributes

int x
 
float y
 

Detailed Description

Definition at line 10 of file kv_container_all_types_test.cpp.

Member Function Documentation

◆ from_bytes() [1/2]

static SimpleStruct SimpleStruct::from_bytes ( const std::vector< uint8_t > & bytes)
inlinestatic

Definition at line 20 of file kv_container_all_types_test.cpp.

◆ from_bytes() [2/2]

static SimpleStruct SimpleStruct::from_bytes ( const void * data,
size_t size )
inlinestatic

Definition at line 26 of file kv_container_all_types_test.cpp.

◆ operator==()

bool SimpleStruct::operator== ( const SimpleStruct & other) const
inline

Definition at line 35 of file kv_container_all_types_test.cpp.

◆ to_bytes()

std::vector< uint8_t > SimpleStruct::to_bytes ( ) const
inline

Definition at line 14 of file kv_container_all_types_test.cpp.

Member Data Documentation

◆ x

int SimpleStruct::x

Definition at line 11 of file kv_container_all_types_test.cpp.

◆ y

float SimpleStruct::y

Definition at line 12 of file kv_container_all_types_test.cpp.


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