Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Concept Mutable_RangeRunStorage

Mutable_RangeRunStorage

Description

A Mutable_RangeRunStorage is a RangeRunStorage which can be modified.

Refinement of

Associated types

  • ordered_inserter_type

    boost::result_of<boost::range_run_storage::op::ordered_inserter(boost::add_reference<S>::type)>::type

    The type of an OrderedInserter that can be used to insert values and runs into S.

Notation

S
A type playing the role of mutable-range-run-storage-type in the Mutable_RangeRunStorage concept.
s
Object of type S
r
Object of type run_type
v
Object of type value_type

Valid expressions

Name Expression Type Semantics

Get OrderedInserter

boost::range_run_storage::ordered_inserter(s)

ordered_inserter_type

Returns an OrderedInserter that can be used to insert values and runs into s.

SetAt

boost::range_run_storage::set_at(s, r, v)

void

Sets a run r within s to value v. This operation is O(N) in the worst case, and invalidates any cursors to s.

SetZero

boost::range_run_storage::zero(s, v)

void

Sets to value of the zero elements of s to value v. This operation is O(1), and does not invalidate any cursors to s.

Models

  • boost::time_series::dense_series<double>

See also


PrevUpHomeNext