ROSE
0.9.6a
|
Exception for an inconsistent mapping. More...
#include <MemoryMap.h>
Public Member Functions | |
Inconsistent (const std::string &mesg, const MemoryMap *map, const Extent &new_range, const Segment &new_segment, const Extent &old_range, const Segment &old_segment) | |
virtual | ~Inconsistent () throw () |
virtual void | print (std::ostream &, bool verbose=true) const |
Public Member Functions inherited from MemoryMap::Exception | |
Exception (const std::string &mesg, const MemoryMap *map) | |
virtual | ~Exception () throw () |
virtual std::string | leader (std::string dflt="memory map problem") const |
Leading part of the error message. More... | |
virtual std::string | details (bool) const |
Details emitted on following lines, indented two spaces. More... | |
Public Attributes | |
Extent | new_range |
Extent | old_range |
Segment | new_segment |
Segment | old_segment |
Public Attributes inherited from MemoryMap::Exception | |
const MemoryMap * | map |
Map that caused the exception if available, null otherwise. More... | |
Friends | |
std::ostream & | operator<< (std::ostream &, const Inconsistent &) |
Exception for an inconsistent mapping.
This exception occurs when an attemt is made to insert a new segment but the address range of the new segment is alread defined by an existing segment. The new_range
and new_segment
are information about the segment that was being inserted, and the old_range
and old_segment
is information about an existing segment that conflicts with the new one.
Definition at line 439 of file MemoryMap.h.
|
inline |
Definition at line 440 of file MemoryMap.h.
|
inlinevirtual |
Definition at line 446 of file MemoryMap.h.
|
virtual |
Reimplemented from MemoryMap::Exception.
Definition at line 68 of file MemoryMap.C.
Referenced by operator<<().
|
friend |
Definition at line 32 of file MemoryMap.C.
Extent MemoryMap::Inconsistent::new_range |
Definition at line 449 of file MemoryMap.h.
Extent MemoryMap::Inconsistent::old_range |
Definition at line 449 of file MemoryMap.h.
Segment MemoryMap::Inconsistent::new_segment |
Definition at line 450 of file MemoryMap.h.
Segment MemoryMap::Inconsistent::old_segment |
Definition at line 450 of file MemoryMap.h.