Reels
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
reels::BinEventPt Struct Reference

The binary representation of an event as stored in a transaction file. More...

#include <reels.h>

Inheritance diagram for reels::BinEventPt:
Inheritance graph
[legend]

Public Member Functions

bool operator== (const BinEventPt &o) const
 Compare to another BinEventPt for identity to support use as a key in a map. More...
 
bool operator< (const BinEventPt &o) const
 Compare to another BinEventPt for strict order to support use as a key in a map. More...
 

Public Attributes

ElementHash e
 The "emitter". A binary hash of a string representing "owner of event". More...
 
ElementHash d
 The "description". A binary hash of a string representing "the event". More...
 
double w
 The "weight". A double representing a weight of the event. More...
 

Detailed Description

The binary representation of an event as stored in a transaction file.

This is the intersection of transaction and event.

Member Function Documentation

◆ operator<()

bool reels::BinEventPt::operator< ( const BinEventPt o) const
inline

Compare to another BinEventPt for strict order to support use as a key in a map.

Parameters
oAnother BinEventPt to which the current object is compared.
Returns
True if strictly smaller (before in the order).

◆ operator==()

bool reels::BinEventPt::operator== ( const BinEventPt o) const
inline

Compare to another BinEventPt for identity to support use as a key in a map.

Parameters
oAnother BinEventPt to which the current object is compared.
Returns
True if identical.

Member Data Documentation

◆ d

ElementHash reels::BinEventPt::d

The "description". A binary hash of a string representing "the event".

◆ e

ElementHash reels::BinEventPt::e

The "emitter". A binary hash of a string representing "owner of event".

◆ w

double reels::BinEventPt::w

The "weight". A double representing a weight of the event.


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