reg_blob Class Template Reference
[Windows Registry Library]

#include <winstl/registry/reg_value.hpp>

Inheritance diagram for reg_blob:

stl_collection_tag collection_tag

List of all members.


Detailed Description

template<typename A>
class winstl::reg_blob< A >

Represents a binary registry value.

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.

Member Typedef Documentation

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.


Constructor & Destructor Documentation

reg_blob (  ) 

Default constructor.

reg_blob ( value_type const *  data,
size_type  n 
)

Copies the contents of the given pointer.

Parameters:
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.


Member Function Documentation

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.

Returns:
An iterator representing the start of the sequence

const_iterator end (  )  const

Ends the iteration.

Returns:
An iterator representing the end of the sequence


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

Generated on Thu Jun 10 08:59:34 2010 for STLSoft by  doxygen 1.5.6