PIVX Core  5.6.99
P2P Digital Currency
Public Member Functions | Private Attributes | List of all members
CBLSLazyWrapper< BLSObject > Class Template Reference

#include <bls_wrapper.h>

Collaboration diagram for CBLSLazyWrapper< BLSObject >:
[legend]

Public Member Functions

 CBLSLazyWrapper ()
 
 CBLSLazyWrapper (const CBLSLazyWrapper &r)
 
CBLSLazyWrapperoperator= (const CBLSLazyWrapper &r)
 
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 Attributes

std::mutex mutex
 
std::vector< uint8_t > vecBytes
 
bool bufValid {false}
 
BLSObject obj
 
bool objInitialized {false}
 
uint256 hash
 

Detailed Description

template<typename BLSObject>
class CBLSLazyWrapper< BLSObject >

Definition at line 272 of file bls_wrapper.h.

Constructor & Destructor Documentation

◆ CBLSLazyWrapper() [1/2]

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

Definition at line 286 of file bls_wrapper.h.

◆ CBLSLazyWrapper() [2/2]

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

Definition at line 292 of file bls_wrapper.h.

Member Function Documentation

◆ Get()

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

Definition at line 350 of file bls_wrapper.h.

Here is the caller graph for this function:

◆ GetHash()

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

Definition at line 386 of file bls_wrapper.h.

Here is the call graph for this function:

◆ operator!=()

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

Definition at line 381 of file bls_wrapper.h.

◆ operator=()

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

Definition at line 297 of file bls_wrapper.h.

◆ operator==()

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

Definition at line 370 of file bls_wrapper.h.

Here is the call graph for this function:

◆ Serialize()

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

Definition at line 317 of file bls_wrapper.h.

Here is the call graph for this function:

◆ Set()

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

Definition at line 341 of file bls_wrapper.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Unserialize()

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

Definition at line 332 of file bls_wrapper.h.

Here is the call graph for this function:

Member Data Documentation

◆ bufValid

template<typename BLSObject >
bool CBLSLazyWrapper< BLSObject >::bufValid {false}
mutableprivate

Definition at line 278 of file bls_wrapper.h.

◆ hash

template<typename BLSObject >
uint256 CBLSLazyWrapper< BLSObject >::hash
mutableprivate

Definition at line 283 of file bls_wrapper.h.

◆ mutex

template<typename BLSObject >
std::mutex CBLSLazyWrapper< BLSObject >::mutex
mutableprivate

Definition at line 275 of file bls_wrapper.h.

◆ obj

template<typename BLSObject >
BLSObject CBLSLazyWrapper< BLSObject >::obj
mutableprivate

Definition at line 280 of file bls_wrapper.h.

◆ objInitialized

template<typename BLSObject >
bool CBLSLazyWrapper< BLSObject >::objInitialized {false}
mutableprivate

Definition at line 281 of file bls_wrapper.h.

◆ vecBytes

template<typename BLSObject >
std::vector<uint8_t> CBLSLazyWrapper< BLSObject >::vecBytes
mutableprivate

Definition at line 277 of file bls_wrapper.h.


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