#include <winstl/system/process_module_sequence.hpp>
Public Types | |
Member Types | |
typedef HMODULE | value_type |
The value type. | |
typedef processheap_allocator < value_type > | allocator_type |
The allocator type. | |
typedef process_module_sequence | class_type |
The class type. | |
typedef value_type const * | const_pointer |
The non-mutating (const) pointer type. | |
typedef value_type const & | const_reference |
The non-mutating (const) reference type. | |
typedef stlsoft::pointer_iterator < value_type, const_pointer, const_reference >::type | 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 | |
process_module_sequence (HANDLE hProcess) | |
Constructs a sequence from the current modules in the given process. | |
process_module_sequence (class_type const &rhs) | |
Copies the contents of the sequence. | |
~process_module_sequence () throw () | |
Releases the storage associated with the process id list. | |
Iteration | |
const_iterator | begin () const |
Begins the iteration. | |
const_iterator | end () const |
Ends the iteration. | |
Element Access | |
const_reference | operator[] (size_type index) const |
Returns a reference to the element at the given index. | |
Attributes | |
bool | empty () const |
Indicates whether the sequence is empty. | |
size_type | size () const |
Returns the number of identifiers in the sequence. |
typedef HMODULE value_type |
The value type.
The allocator type.
typedef process_module_sequence class_type |
The class type.
typedef value_type const* const_pointer |
The non-mutating (const) pointer type.
typedef value_type const& const_reference |
The non-mutating (const) reference type.
typedef stlsoft:: pointer_iterator< value_type , const_pointer , const_reference >::type 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.
process_module_sequence | ( | HANDLE | hProcess | ) | [explicit] |
Constructs a sequence from the current modules in the given process.
process_module_sequence | ( | class_type const & | rhs | ) |
Copies the contents of the sequence.
~process_module_sequence | ( | ) | throw () |
Releases the storage associated with the process id list.
const_iterator begin | ( | ) | const |
Begins the iteration.
const_iterator end | ( | ) | const |
Ends the iteration.
const_reference operator[] | ( | size_type | index | ) | const |
Returns a reference to the element at the given index.
index | The required index. Behaviour is undefined, if not within the range [0, size()) |
bool empty | ( | ) | const |
Indicates whether the sequence is empty.
size_type size | ( | ) | const |
Returns the number of identifiers in the sequence.