void write( std::ofstream& out ) const;