// FilterContains.h #ifndef FilterContains_H #define FilterContains_H // Filter which deletes tracks which are completely contained // other tracks, i.e. those whose clusters are a subset of the // clusters in another track. If two tracks contain the same // list of clusters, then neither is deleted. // // ObjStream example: // // [ myfilt FilterContains ] // #include "Filter.h" namespace trf { class FilterContains : public Filter { public: // static methods // Return the type name. static TypeName get_type_name() { return "FilterContains"; } // Return the creator. static ObjCreator get_creator(); // Return the type. static Type get_static_type() { return get_creator(); } private: // attributes private: // methods // output stream void ostr(std::ostream& stream) const; public: // methods // constructor FilterContains(); // Return the type. Type get_type() const { return get_static_type(); } // Write the object data. ObjData write_data() const; // process a list of tracks FlagArray process(MTrackArray& trms) const; }; } // end namespace trf #endif