X-Git-Url: https://deadsoftware.ru/gitweb?p=odcread.git;a=blobdiff_plain;f=alien.h;h=77db1febc2239e3d12886ff7ee8e44e2a8edc90f;hp=9f061dc412224be3e1236b94191afb3b54ee5faa;hb=75cf4599cf50d987efa2e402243c2680640ef339;hpb=e2fd5debfd8b94a6ec77a514962851594f0690f0 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;