コード例 #1
0
ファイル: Gis.cpp プロジェクト: digirea/KVS
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() );
    }
}
コード例 #2
0
ファイル: GRIBData.cpp プロジェクト: vizlab-kobe/ReadGRIB
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() );
    }
}
コード例 #3
0
ファイル: GrADS.cpp プロジェクト: hofsta/KVS
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++;
    }
}