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

Exception thrown by find_free() when there's not enough free space left. More...

#include <MemoryMap.h>

Inheritance diagram for MemoryMap::NoFreeSpace:
Collaboration diagram for MemoryMap::NoFreeSpace:

Public Member Functions

 NoFreeSpace (const std::string &mesg, const MemoryMap *map, size_t size)
 
virtual ~NoFreeSpace () 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

size_t size
 
- 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 NoFreeSpace &)
 

Detailed Description

Exception thrown by find_free() when there's not enough free space left.

Definition at line 464 of file MemoryMap.h.

Constructor & Destructor Documentation

MemoryMap::NoFreeSpace::NoFreeSpace ( const std::string &  mesg,
const MemoryMap map,
size_t  size 
)
inline

Definition at line 465 of file MemoryMap.h.

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

Definition at line 467 of file MemoryMap.h.

Member Function Documentation

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

Reimplemented from MemoryMap::Exception.

Definition at line 81 of file MemoryMap.C.

References MemoryMap::size().

Referenced by operator<<().

Friends And Related Function Documentation

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

Definition at line 34 of file MemoryMap.C.

Member Data Documentation

size_t MemoryMap::NoFreeSpace::size

Definition at line 470 of file MemoryMap.h.


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