|
|
@ -87,8 +87,7 @@ namespace DFHack
|
|
|
|
s << _key;
|
|
|
|
s << _key;
|
|
|
|
key = s.str();
|
|
|
|
key = s.str();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
virtual ~MissingMemoryDefinition() throw()
|
|
|
|
virtual ~MissingMemoryDefinition() throw(){};
|
|
|
|
{};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// (perhaps it should be an enum, but this is intended for easy printing/logging)
|
|
|
|
// (perhaps it should be an enum, but this is intended for easy printing/logging)
|
|
|
|
// type can be any of the following:
|
|
|
|
// type can be any of the following:
|
|
|
@ -125,6 +124,8 @@ namespace DFHack
|
|
|
|
const int id;
|
|
|
|
const int id;
|
|
|
|
const int row;
|
|
|
|
const int row;
|
|
|
|
const int col;
|
|
|
|
const int col;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
virtual ~MemoryXmlParse() throw(){};
|
|
|
|
|
|
|
|
|
|
|
|
virtual const char* what() const throw()
|
|
|
|
virtual const char* what() const throw()
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -140,6 +141,8 @@ namespace DFHack
|
|
|
|
MemoryXmlBadAttribute(const char* _attr) : attr(_attr) {}
|
|
|
|
MemoryXmlBadAttribute(const char* _attr) : attr(_attr) {}
|
|
|
|
|
|
|
|
|
|
|
|
std::string attr;
|
|
|
|
std::string attr;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
virtual ~MemoryXmlBadAttribute() throw(){};
|
|
|
|
|
|
|
|
|
|
|
|
virtual const char* what() const throw()
|
|
|
|
virtual const char* what() const throw()
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -153,6 +156,8 @@ namespace DFHack
|
|
|
|
{
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
public:
|
|
|
|
MemoryXmlNoRoot() {}
|
|
|
|
MemoryXmlNoRoot() {}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
virtual ~MemoryXmlNoRoot() throw(){};
|
|
|
|
|
|
|
|
|
|
|
|
virtual const char* what() const throw()
|
|
|
|
virtual const char* what() const throw()
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -164,6 +169,7 @@ namespace DFHack
|
|
|
|
{
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
public:
|
|
|
|
MemoryXmlNoDFExtractor(const char* _name) : name(_name) {}
|
|
|
|
MemoryXmlNoDFExtractor(const char* _name) : name(_name) {}
|
|
|
|
|
|
|
|
virtual ~MemoryXmlNoDFExtractor() throw(){};
|
|
|
|
|
|
|
|
|
|
|
|
std::string name;
|
|
|
|
std::string name;
|
|
|
|
|
|
|
|
|
|
|
@ -179,6 +185,7 @@ namespace DFHack
|
|
|
|
{
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
public:
|
|
|
|
MemoryXmlUnderspecifiedEntry() {}
|
|
|
|
MemoryXmlUnderspecifiedEntry() {}
|
|
|
|
|
|
|
|
virtual ~MemoryXmlUnderspecifiedEntry() throw(){};
|
|
|
|
|
|
|
|
|
|
|
|
virtual const char* what() const throw()
|
|
|
|
virtual const char* what() const throw()
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -190,6 +197,7 @@ namespace DFHack
|
|
|
|
{
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
public:
|
|
|
|
MemoryXmlUnknownType(const char* _type) : type(_type) {}
|
|
|
|
MemoryXmlUnknownType(const char* _type) : type(_type) {}
|
|
|
|
|
|
|
|
virtual ~MemoryXmlUnknownType() throw(){};
|
|
|
|
|
|
|
|
|
|
|
|
std::string type;
|
|
|
|
std::string type;
|
|
|
|
|
|
|
|
|
|
|
|