Dash Core Source Documentation (0.16.0.1)

Find detailed information regarding the Dash Core source code.

CBLSLazyWrapper< BLSObject > Class Template Reference

#include <bls.h>

+ Collaboration diagram for CBLSLazyWrapper< BLSObject >:

Public Member Functions

 CBLSLazyWrapper ()
 
 CBLSLazyWrapper (const CBLSLazyWrapper &r)
 
CBLSLazyWrapperoperator= (const CBLSLazyWrapper &r)
 
void Serialize (CSizeComputer &s) const
 
template<typename Stream >
void Serialize (Stream &s) const
 
template<typename Stream >
void Unserialize (Stream &s)
 
void Set (const BLSObject &_obj)
 
const BLSObject & Get () const
 
bool operator== (const CBLSLazyWrapper &r) const
 
bool operator!= (const CBLSLazyWrapper &r) const
 
uint256 GetHash () const
 

Private Member Functions

void UpdateHash () const
 

Private Attributes

std::mutex mutex
 
char buf [BLSObject::SerSize]
 
bool bufValid {false}
 
BLSObject obj
 
bool objInitialized {false}
 
uint256 hash
 

Detailed Description

template<typename BLSObject>
class CBLSLazyWrapper< BLSObject >

Definition at line 319 of file bls.h.

Constructor & Destructor Documentation

◆ CBLSLazyWrapper() [1/2]

template<typename BLSObject>
CBLSLazyWrapper< BLSObject >::CBLSLazyWrapper ( )
inline

Definition at line 333 of file bls.h.

◆ CBLSLazyWrapper() [2/2]

template<typename BLSObject>
CBLSLazyWrapper< BLSObject >::CBLSLazyWrapper ( const CBLSLazyWrapper< BLSObject > &  r)
inline

Definition at line 340 of file bls.h.

Member Function Documentation

◆ Get()

◆ GetHash()

template<typename BLSObject>
uint256 CBLSLazyWrapper< BLSObject >::GetHash ( ) const
inline

Definition at line 438 of file bls.h.

◆ operator!=()

template<typename BLSObject>
bool CBLSLazyWrapper< BLSObject >::operator!= ( const CBLSLazyWrapper< BLSObject > &  r) const
inline

Definition at line 433 of file bls.h.

◆ operator=()

template<typename BLSObject>
CBLSLazyWrapper& CBLSLazyWrapper< BLSObject >::operator= ( const CBLSLazyWrapper< BLSObject > &  r)
inline

Definition at line 345 of file bls.h.

◆ operator==()

template<typename BLSObject>
bool CBLSLazyWrapper< BLSObject >::operator== ( const CBLSLazyWrapper< BLSObject > &  r) const
inline

Definition at line 422 of file bls.h.

◆ Serialize() [1/2]

template<typename BLSObject>
void CBLSLazyWrapper< BLSObject >::Serialize ( CSizeComputer s) const
inline

Definition at line 364 of file bls.h.

◆ Serialize() [2/2]

template<typename BLSObject>
template<typename Stream >
void CBLSLazyWrapper< BLSObject >::Serialize ( Stream &  s) const
inline

Definition at line 370 of file bls.h.

◆ Set()

template<typename BLSObject>
void CBLSLazyWrapper< BLSObject >::Set ( const BLSObject &  _obj)
inline

◆ Unserialize()

template<typename BLSObject>
template<typename Stream >
void CBLSLazyWrapper< BLSObject >::Unserialize ( Stream &  s)
inline

Definition at line 385 of file bls.h.

◆ UpdateHash()

template<typename BLSObject>
void CBLSLazyWrapper< BLSObject >::UpdateHash ( ) const
inlineprivate

Definition at line 452 of file bls.h.

Referenced by CBLSLazyWrapper< CBLSSignature >::GetHash().

Member Data Documentation

◆ buf

◆ bufValid

◆ hash

◆ mutex

◆ obj

◆ objInitialized


The documentation for this class was generated from the following file:
Released under the MIT license