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

Value type for FunctionRangeMap. More...

#include <Partitioner.h>

Inheritance diagram for Partitioner::FunctionRangeMapValue:
Collaboration diagram for Partitioner::FunctionRangeMapValue:

Public Member Functions

 FunctionRangeMapValue ()
 
 FunctionRangeMapValue (Function *f)
 
FunctionRangeMapValue 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, Function * >
 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, Function * >
typedef Extent Range
 
typedef FunctionValue
 
- Protected Attributes inherited from RangeMapValue< Extent, Function * >
Value value
 
- Friends inherited from RangeMapValue< Extent, Function * >

Detailed Description

Value type for FunctionRangeMap.

See base class for documentation.

Definition at line 653 of file Partitioner.h.

Constructor & Destructor Documentation

Partitioner::FunctionRangeMapValue::FunctionRangeMapValue ( )
inline

Definition at line 655 of file Partitioner.h.

Partitioner::FunctionRangeMapValue::FunctionRangeMapValue ( Function f)
inline

Definition at line 656 of file Partitioner.h.

Member Function Documentation

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

Definition at line 658 of file Partitioner.h.

References Range< T >::contains().

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

Print a RangeMap value.

Reimplemented from RangeMapValue< Extent, Function * >.

Definition at line 663 of file Partitioner.h.

References StringUtility::addrToString(), and RangeMapValue< Extent, Function * >::value.


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