X-Git-Url: https://deadsoftware.ru/gitweb?a=blobdiff_plain;f=alien.h;h=77db1febc2239e3d12886ff7ee8e44e2a8edc90f;hb=149d7ca4cf84c3c9b7eb55b02d6b152fb00894bf;hp=9f061dc412224be3e1236b94191afb3b54ee5faa;hpb=d7f2452e20b04d1559b7bdd3aa49b6fbf7d0abaf;p=odcread.git diff --git a/alien.h b/alien.h index 9f061dc..77db1fe 100644 --- a/alien.h +++ b/alien.h @@ -43,6 +43,11 @@ struct AlienPart : public AlienComponent { virtual void accept(Visitor &visitor) const; }; +/** + * Any type that's not registered is treated as an "Alien". + * This allows us to read files even if they contain things we're not aware of. + * The alien will consist of AlienComponents, some of which we may be able to read. + */ class Alien : public Store { const TypePath d_path; std::vector d_comps;