Electroneum
cryptonote::subaddress_index Struct Reference

#include <subaddress_index.h>

Public Member Functions

bool operator== (const subaddress_index &rhs) const
 
bool operator!= (const subaddress_index &rhs) const
 
bool is_zero () const
 

Public Attributes

uint32_t major
 
uint32_t minor
 

Detailed Description

Definition at line 38 of file subaddress_index.h.

Member Function Documentation

◆ is_zero()

bool cryptonote::subaddress_index::is_zero ( ) const
inline

Definition at line 44 of file subaddress_index.h.

44 { return major == 0 && minor == 0; }
Here is the caller graph for this function:

◆ operator!=()

bool cryptonote::subaddress_index::operator!= ( const subaddress_index rhs) const
inline

Definition at line 43 of file subaddress_index.h.

43 { return !(*this == rhs); }

◆ operator==()

bool cryptonote::subaddress_index::operator== ( const subaddress_index rhs) const
inline

Definition at line 42 of file subaddress_index.h.

42 { return !memcmp(this, &rhs, sizeof(subaddress_index)); }

Member Data Documentation

◆ major

uint32_t cryptonote::subaddress_index::major

Definition at line 40 of file subaddress_index.h.

◆ minor

uint32_t cryptonote::subaddress_index::minor

Definition at line 41 of file subaddress_index.h.


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