X-Git-Url: https://deadsoftware.ru/gitweb?p=odcread.git;a=blobdiff_plain;f=alien.h;h=7447f953cc9ec3e4ee9b987853cb4b94f1629d9f;hp=0c4b51dd4e810eb0c52b175a26469cb0e146c999;hb=cf035fa1849a5e65c0d636ce2718bc2c85994680;hpb=51b3593cbfb33c1d7b4b588f3841c3c405e3a215 diff --git a/alien.h b/alien.h index 0c4b51d..7447f95 100644 --- a/alien.h +++ b/alien.h @@ -14,6 +14,7 @@ namespace odc { */ struct AlienComponent { virtual std::string toString() = 0; + virtual std::string toPlainText() = 0; }; /** @@ -26,17 +27,19 @@ struct AlienPiece : public AlienComponent { 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 * const store; + Store * const d_store; - AlienPart(Store * const _store); + AlienPart(Store * const store); virtual std::string toString(); + virtual std::string toPlainText(); }; class Alien : public Store { @@ -54,6 +57,7 @@ class Alien : public Store { // comps-: AlienComp (** the constituent components of this alien store **) virtual std::string toString(); + virtual std::string toPlainText(); }; }