|
veriblock-pop-cpp
C++11 Libraries for leveraging VeriBlock Proof-Of-Proof blockchain technology.
|
Contiguous byte array of fixed size. More...
| N |
#include <blob.hpp>
Inheritance diagram for altintegration::Blob< N >:
Collaboration diagram for altintegration::Blob< N >:Public Types | |
| using | value_type = uint8_t |
| using | storage_t = std::array< value_type, N > |
| using | pointer = typename storage_t::pointer |
| using | const_pointer = typename storage_t::const_pointer |
| using | reference = typename storage_t::reference |
| using | const_reference = typename storage_t::const_reference |
| using | iterator = typename storage_t::iterator |
| using | const_iterator = typename storage_t::const_iterator |
| using | size_type = typename storage_t::size_type |
| using | difference_type = typename storage_t::difference_type |
| using | reverse_iterator = typename storage_t::reverse_iterator |
| using | const_reverse_iterator = typename storage_t::const_reverse_iterator |
Public Member Functions | |
| Blob (const std::initializer_list< uint8_t > &list) | |
| Blob (Slice< const uint8_t > slice) | |
| Blob (const std::vector< uint8_t > &v) | |
| Blob (const std::string &hex) | |
| Blob< N > & | operator= (const Slice< const uint8_t > slice) |
| Blob< N > & | operator= (const std::vector< uint8_t > &vec) |
| Blob< N > | reverse () const |
| Blob< N > & | operator~ () |
| std::vector< value_type > | asVector () const |
| std::string | asString () const |
| const value_type & | operator[] (size_t index) noexcept |
| const value_type & | operator[] (size_t index) const noexcept |
| int | compareTo (const Blob< N > &b) const |
Public Attributes | |
| template<size_t M> | |
| data_ = other.data_ | |
| return * | this |
Friends | |
| bool | operator== (const Blob< N > &a, const Blob< N > &b) |
| bool | operator!= (const Blob< N > &a, const Blob< N > &b) |
| bool | operator> (const Blob< N > &a, const Blob< N > &b) |
| bool | operator< (const Blob< N > &a, const Blob< N > &b) |
| bool | operator>= (const Blob< N > &a, const Blob< N > &b) |
| bool | operator<= (const Blob< N > &a, const Blob< N > &b) |
| using altintegration::Blob< N >::const_iterator = typename storage_t::const_iterator |
| using altintegration::Blob< N >::const_pointer = typename storage_t::const_pointer |
| using altintegration::Blob< N >::const_reference = typename storage_t::const_reference |
| using altintegration::Blob< N >::const_reverse_iterator = typename storage_t::const_reverse_iterator |
| using altintegration::Blob< N >::difference_type = typename storage_t::difference_type |
| using altintegration::Blob< N >::iterator = typename storage_t::iterator |
| using altintegration::Blob< N >::pointer = typename storage_t::pointer |
| using altintegration::Blob< N >::reference = typename storage_t::reference |
| using altintegration::Blob< N >::reverse_iterator = typename storage_t::reverse_iterator |
| using altintegration::Blob< N >::size_type = typename storage_t::size_type |
| using altintegration::Blob< N >::storage_t = std::array<value_type, N> |
| using altintegration::Blob< N >::value_type = uint8_t |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineexplicit |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinenoexcept |
|
inlinenoexcept |
|
inline |
|
inline |
| return* altintegration::Blob< N >::this |