#include <winstl/registry/reg_value.hpp>
Member Types | |
typedef A | allocator_type |
The allocator type. | |
typedef reg_blob< A > | class_type |
The current parameterisation of the type. | |
typedef ws_byte_t | value_type |
The value type. | |
typedef value_type const & | const_reference |
The non-mutable (const) reference type. | |
typedef value_type const * | const_pointer |
The non-mutable (const) pointer type. | |
typedef value_type const * | const_iterator |
The non-mutating (const) iterator type. | |
typedef size_t | size_type |
The size type. | |
typedef ws_ptrdiff_t | difference_type |
The difference type. | |
Public Member Functions | |
Construction | |
reg_blob () | |
Default constructor. | |
reg_blob (value_type const *data, size_type n) | |
Copies the contents of the given pointer. | |
reg_blob (class_type const &rhs) | |
Copy constructor. | |
~reg_blob () throw () | |
Destructor. | |
Attributes | |
size_type | size () const |
Number of bytes in the blob. | |
const_pointer | data () const |
Pointer to the first byte in the blob. | |
Iteration | |
const_iterator | begin () const |
Begins the iteration. | |
const_iterator | end () const |
Ends the iteration. |
typedef A allocator_type |
The allocator type.
typedef reg_blob<A> class_type |
The current parameterisation of the type.
typedef ws_byte_t value_type |
The value type.
typedef value_type const& const_reference |
The non-mutable (const) reference type.
typedef value_type const* const_pointer |
The non-mutable (const) pointer type.
typedef value_type const* const_iterator |
The non-mutating (const) iterator type.
typedef size_t size_type |
The size type.
typedef ws_ptrdiff_t difference_type |
The difference type.
reg_blob | ( | ) |
Default constructor.
reg_blob | ( | value_type const * | data, | |
size_type | n | |||
) |
Copies the contents of the given pointer.
data | Pointer to the bytes to be copied into the instance. | |
n | Number of bytes pointed to by data . |
reg_blob | ( | class_type const & | rhs | ) |
Copy constructor.
~reg_blob | ( | ) | throw () |
Destructor.
size_type size | ( | ) | const |
Number of bytes in the blob.
const_pointer data | ( | ) | const |
Pointer to the first byte in the blob.
const_iterator begin | ( | ) | const |
Begins the iteration.
const_iterator end | ( | ) | const |
Ends the iteration.