/** * Helper for creating a human readable output of this data. * @param dmp The location to dump to. */ template <typename D> void Dump(D &dmp) const { dmp.WriteLine("capacity = %d", Tcapacity); uint num_items = Length(); dmp.WriteLine("num_items = %d", num_items); CStrA name; for (uint i = 0; i < num_items; i++) { const T& item = (*this)[i]; name.Format("item[%d]", i); dmp.WriteStructT(name.Data(), &item); } }
/** Lower-than operator (to support stl collections) */ FORCEINLINE bool operator < (const CStrA &other) const { return strcmp(base::Data(), other.Data()) < 0; }
/** Lower-than operator (to support stl collections) */ inline bool operator<(const CStrA &other) const { return strcmp(base::Data(), other.Data()) < 0; }