ROSE  0.9.6a
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Partitioner::DataRangeMapValue Class Reference

Value type for DataRangeMap. More...

#include <Partitioner.h>

Inheritance diagram for Partitioner::DataRangeMapValue:
Collaboration diagram for Partitioner::DataRangeMapValue:

Public Member Functions

 DataRangeMapValue ()
 
 DataRangeMapValue (DataBlock *d)
 
DataRangeMapValue split (const Extent &my_range, const Extent::Value &new_end)
 
void print (std::ostream &o) const
 Print a RangeMap value. More...
 
- Public Member Functions inherited from RangeMapValue< Extent, DataBlock * >
 RangeMapValue ()
 Constructor creates object whose underlying value is default constructed. More...
 
 RangeMapValue (const Value &v)
 Constructor creates object with specified value. More...
 
virtual ~RangeMapValue ()
 
virtual void removing (const Range &my_range)
 Called when this value is being removed from a RangeMap. More...
 
virtual void truncate (const Range &my_range, const typename Range::Value &new_end)
 Called when removing part of a value from a RangeMap. More...
 
bool merge (const Range &my_range, const Range &other_range, const RangeMapValue &other_value)
 Called to merge two RangeMap values. More...
 
virtual void set (const Value &v)
 Accessor for the value actually stored here. More...
 
virtual Value get () const
 Accessor for the value actually stored here. More...
 

Additional Inherited Members

- Public Types inherited from RangeMapValue< Extent, DataBlock * >
typedef Extent Range
 
typedef DataBlock * Value
 
- Protected Attributes inherited from RangeMapValue< Extent, DataBlock * >
Value value
 
- Friends inherited from RangeMapValue< Extent, DataBlock * >

Detailed Description

Value type for DataRangeMap.

See base class for documentation.

Definition at line 676 of file Partitioner.h.

Constructor & Destructor Documentation

Partitioner::DataRangeMapValue::DataRangeMapValue ( )
inline

Definition at line 678 of file Partitioner.h.

Partitioner::DataRangeMapValue::DataRangeMapValue ( DataBlock d)
inline

Definition at line 679 of file Partitioner.h.

Member Function Documentation

DataRangeMapValue Partitioner::DataRangeMapValue::split ( const Extent my_range,
const Extent::Value new_end 
)
inline

Definition at line 681 of file Partitioner.h.

References Range< T >::contains().

void Partitioner::DataRangeMapValue::print ( std::ostream &  o) const
inlinevirtual

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