ROSE 0.11.145.192
Public Member Functions | Public Attributes | List of all members
Sawyer::Container::BitVectorSupport::ToBytes< Word > Struct Template Reference

Description

template<class Word>
struct Sawyer::Container::BitVectorSupport::ToBytes< Word >

Definition at line 1330 of file BitVectorSupport.h.

Collaboration diagram for Sawyer::Container::BitVectorSupport::ToBytes< Word >:
Collaboration graph
[legend]

Public Member Functions

 ToBytes (size_t nBitsTotal)
 
bool operator() (const Word &word, size_t nbits)
 
std::vector< uint8_t > result ()
 

Public Attributes

Word remaining = 0
 
size_t nremaining = 0
 
std::vector< uint8_t > bytes
 

Constructor & Destructor Documentation

◆ ToBytes()

template<class Word >
Sawyer::Container::BitVectorSupport::ToBytes< Word >::ToBytes ( size_t  nBitsTotal)
inline

Definition at line 1335 of file BitVectorSupport.h.

Member Function Documentation

◆ operator()()

template<class Word >
bool Sawyer::Container::BitVectorSupport::ToBytes< Word >::operator() ( const Word &  word,
size_t  nbits 
)
inline

Definition at line 1340 of file BitVectorSupport.h.

◆ result()

template<class Word >
std::vector< uint8_t > Sawyer::Container::BitVectorSupport::ToBytes< Word >::result ( )
inline

Definition at line 1357 of file BitVectorSupport.h.

Member Data Documentation

◆ remaining

template<class Word >
Word Sawyer::Container::BitVectorSupport::ToBytes< Word >::remaining = 0

Definition at line 1331 of file BitVectorSupport.h.

◆ nremaining

template<class Word >
size_t Sawyer::Container::BitVectorSupport::ToBytes< Word >::nremaining = 0

Definition at line 1332 of file BitVectorSupport.h.

◆ bytes

template<class Word >
std::vector<uint8_t> Sawyer::Container::BitVectorSupport::ToBytes< Word >::bytes

Definition at line 1333 of file BitVectorSupport.h.


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