Mirror reflection library 0.5.13

mirror::MutatingLocator Struct Reference

A Locator which allows to change the value pointed to. More...

#include <mirror/doc/concepts_container.hpp>

Inheritance diagram for mirror::MutatingLocator:
Collaboration diagram for mirror::MutatingLocator:

List of all members.

Public Types

typedef BooleanConstantType safe
 Indicating whether this is a safe locator type.
typedef BooleanConstantType mutating
 Indicating whether this is a mutating locator type.
typedef unspecified value_type
 The type of the element pointed to by this Locator.

Public Member Functions

void set (value_type value) const
 Sets the value of the element pointed to by the Locator.
bool dereferencable (void) const
 Returns true if the locator is dereferencable.
 operator bool (void) const
 Shorthand for dereferencable()
bool operator! (void) const
 Shorthand for !dereferencable()
value_type get (void) const
 Allows to get the value of the element pointed to by the Locator.

Detailed Description

A Locator which allows to change the value pointed to.

Mutating locators allow to modify the value which they refer to.

See also:
Locator
Traversal

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

Copyright © 2006-2011 Matus Chochlik, University of Zilina, Zilina, Slovakia.
<matus.chochlik -at- fri.uniza.sk>
<chochlik -at -gmail.com>
Documentation generated on Fri Dec 16 2011 by Doxygen (version 1.7.3).
Important note: Although the 'boostified' version of Mirror uses the Boost C++ libraries Coding Guidelines and is implemented inside of the boost namespace, it IS NOT an officially reviewed and accepted Boost library. Mirror is being developed with the intention to be submitted for review for inclusion to the Boost C++ libraries.