Fabcoin Core  0.16.2
P2P Digital Currency
Public Types | Static Public Member Functions | List of all members
BlockGetAndPut< T, B, GA, PA > Class Template Reference

Access a block of memory. More...

#include <misc.h>

Public Types

typedef PutBlock< T, B, PA > Put
 

Static Public Member Functions

static GetBlock< T, B, GA > Get (const void *block)
 

Detailed Description

template<class T, class B, bool GA = false, bool PA = false>
class BlockGetAndPut< T, B, GA, PA >

Access a block of memory.

Template Parameters
Tclass or type
Benumeration indicating endianness
GAflag indicating alignment for the Get operation
PAflag indicating alignment for the Put operation

GetBlock() provides alternate write access to a block of memory. The enumeration B is BigEndian or LittleEndian. The flag A indicates if the memory block is aligned for class or type T.

See also
GetBlock() and PutBlock().

Definition at line 2233 of file misc.h.

Member Typedef Documentation

template<class T, class B, bool GA = false, bool PA = false>
typedef PutBlock<T, B, PA> BlockGetAndPut< T, B, GA, PA >::Put

Definition at line 2237 of file misc.h.

Member Function Documentation

template<class T, class B, bool GA = false, bool PA = false>
static GetBlock<T, B, GA> BlockGetAndPut< T, B, GA, PA >::Get ( const void *  block)
inlinestatic

Definition at line 2236 of file misc.h.

Here is the caller graph for this function:


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