ROSE  0.9.6a
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
MemoryMap::NotMapped Struct Reference

Exception for when we try to access a virtual address that isn't mapped. More...

#include <MemoryMap.h>

Inheritance diagram for MemoryMap::NotMapped:
Collaboration diagram for MemoryMap::NotMapped:

Public Member Functions

 NotMapped (const std::string &mesg, const MemoryMap *map, rose_addr_t va)
 
virtual ~NotMapped () 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

rose_addr_t va
 
- Public Attributes inherited from MemoryMap::Exception
const MemoryMapmap
 Map that caused the exception if available, null otherwise. More...
 

Friends

std::ostream & operator<< (std::ostream &, const NotMapped &)
 

Detailed Description

Exception for when we try to access a virtual address that isn't mapped.

Definition at line 454 of file MemoryMap.h.

Constructor & Destructor Documentation

MemoryMap::NotMapped::NotMapped ( const std::string &  mesg,
const MemoryMap map,
rose_addr_t  va 
)
inline

Definition at line 455 of file MemoryMap.h.

virtual MemoryMap::NotMapped::~NotMapped ( )
throw (
)
inlinevirtual

Definition at line 457 of file MemoryMap.h.

Member Function Documentation

void MemoryMap::NotMapped::print ( std::ostream &  o,
bool  verbose = true 
) const
virtual

Reimplemented from MemoryMap::Exception.

Definition at line 75 of file MemoryMap.C.

References StringUtility::addrToString().

Referenced by operator<<().

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  o,
const NotMapped x 
)
friend

Definition at line 33 of file MemoryMap.C.

Member Data Documentation

rose_addr_t MemoryMap::NotMapped::va

Definition at line 460 of file MemoryMap.h.

Referenced by SgAsmPEExportDirectory::ctor(), and SgAsmPEExportSection::parse().


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