PRCYCoin  2.0.0.7rc1
P2P Digital Currency
Public Member Functions | Static Public Member Functions | Public Attributes | Private Attributes | List of all members
CTxOutCompressor Class Reference

wrapper for CTxOut that provides a more compact serialization More...

#include <compressor.h>

Collaboration diagram for CTxOutCompressor:
[legend]

Public Member Functions

 CTxOutCompressor (CTxOut &txoutIn)
 
template<typename Stream , typename Operation >
void SerializationOp (Stream &s, Operation ser_action, int nType, int nVersion)
 

Static Public Member Functions

static uint64_t CompressAmount (uint64_t nAmount)
 
static uint64_t DecompressAmount (uint64_t nAmount)
 

Public Attributes

 ADD_SERIALIZE_METHODS
 

Private Attributes

CTxOuttxout
 

Detailed Description

wrapper for CTxOut that provides a more compact serialization

Definition at line 106 of file compressor.h.

Constructor & Destructor Documentation

◆ CTxOutCompressor()

CTxOutCompressor::CTxOutCompressor ( CTxOut txoutIn)
inline

Definition at line 115 of file compressor.h.

Member Function Documentation

◆ CompressAmount()

uint64_t CTxOutCompressor::CompressAmount ( uint64_t  nAmount)
static

Definition at line 137 of file compressor.cpp.

Here is the caller graph for this function:

◆ DecompressAmount()

uint64_t CTxOutCompressor::DecompressAmount ( uint64_t  nAmount)
static

Definition at line 156 of file compressor.cpp.

Here is the caller graph for this function:

◆ SerializationOp()

template<typename Stream , typename Operation >
void CTxOutCompressor::SerializationOp ( Stream &  s,
Operation  ser_action,
int  nType,
int  nVersion 
)
inline

Definition at line 120 of file compressor.h.

Here is the call graph for this function:

Member Data Documentation

◆ ADD_SERIALIZE_METHODS

CTxOutCompressor::ADD_SERIALIZE_METHODS

Definition at line 117 of file compressor.h.

◆ txout

CTxOut& CTxOutCompressor::txout
private

Definition at line 109 of file compressor.h.


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