index 0c4b51dd4e810eb0c52b175a26469cb0e146c999..7447f953cc9ec3e4ee9b987853cb4b94f1629d9f 100644 (file)
--- a/alien.h
+++ b/alien.h
*/
struct AlienComponent {
virtual std::string toString() = 0;
*/
struct AlienComponent {
virtual std::string toString() = 0;
+ virtual std::string toPlainText() = 0;
};
/**
};
/**
AlienPiece(const char * const data, const size_t len);
virtual std::string toString();
AlienPiece(const char * const data, const size_t len);
virtual std::string toString();
+ virtual std::string toPlainText();
};
/**
* Store component of an alien store
*/
struct AlienPart : public AlienComponent {
};
/**
* Store component of an alien store
*/
struct AlienPart : public AlienComponent {
- Store * const store;
+ Store * const d_store;
- AlienPart(Store * const _store);
+ AlienPart(Store * const store);
virtual std::string toString();
virtual std::string toString();
+ virtual std::string toPlainText();
};
class Alien : public Store {
};
class Alien : public Store {
// comps-: AlienComp (** the constituent components of this alien store **)
virtual std::string toString();
// comps-: AlienComp (** the constituent components of this alien store **)
virtual std::string toString();
+ virtual std::string toPlainText();
};
}
};
}