#include <MemoryMap.h>
Inheritance diagram for MemoryMap::Syntax:


Public Member Functions | |
| Syntax (const MemoryMap *map, const std::string &mesg, const std::string &filename, unsigned linenum, int colnum=-1) | |
| virtual | ~Syntax () |
| virtual void | print (std::ostream &) const |
Public Attributes | |
| std::string | mesg |
| Error message. | |
| std::string | filename |
| Name of index file where error occurred. | |
| unsigned | linenum |
| Line number (1 origin) where error occurred. | |
| int | colnum |
| Optional column number (0-origin; negative if unknown). | |
Friends | |
| std::ostream & | operator<< (std::ostream &, const Syntax &) |
| MemoryMap::Syntax::Syntax | ( | const MemoryMap * | map, | |
| const std::string & | mesg, | |||
| const std::string & | filename, | |||
| unsigned | linenum, | |||
| int | colnum = -1 | |||
| ) | [inline] |
| virtual MemoryMap::Syntax::~Syntax | ( | ) | [inline, virtual] |
| void MemoryMap::Syntax::print | ( | std::ostream & | ) | const [virtual] |
Reimplemented from MemoryMap::Exception.
| std::ostream& operator<< | ( | std::ostream & | o, | |
| const Syntax & | e | |||
| ) | [friend] |
| std::string MemoryMap::Syntax::mesg |
Error message.
| std::string MemoryMap::Syntax::filename |
Name of index file where error occurred.
| unsigned MemoryMap::Syntax::linenum |
Line number (1 origin) where error occurred.
Optional column number (0-origin; negative if unknown).
1.4.7