void Gis::print( std::ostream& os, const kvs::Indent& indent ) const { os << indent << "Filename : " << BaseClass::filename() << std::endl; os << indent << "Area of all meshes : " << std::endl; m_area.print( os, indent.nextIndent() ); os << indent << "Render area : " << std::endl; m_render_area.print( os, indent.nextIndent() ); os << indent << "Ocean color : " << m_ocean_color << std::endl; os << indent << "Number of meshes : " << m_meshes.size() << std::endl; for ( size_t i = 0; i < m_meshes.size(); i++ ) { os << indent << "Mesh [" << i << "] : " << std::endl; m_meshes[i]->print( os, indent.nextIndent() ); } }
void GRIBData::print( std::ostream& os, const kvs::Indent& indent ) const { for ( size_t i = 0; i < m_messages.size(); i++ ) { os << indent << "Message (" << i << ")" << std::endl; m_messages[i].print( os, indent.nextIndent() ); } }
void GrADS::print( std::ostream& os, const kvs::Indent& indent ) const { m_data_descriptor.print( os, indent ); os << indent << "Filename : " << BaseClass::filename() << std::endl; os << indent << "Number of data files : " << m_data_list.size() << std::endl; GriddedBinaryDataFileList::const_iterator data = m_data_list.begin(); size_t i = 0; while ( data != m_data_list.end() ) { os << indent.nextIndent() << "Data file [" << i << "] : " << data->filename() << std::endl; i++; data++; } }