X-Git-Url: http://biod.pnpi.spb.ru/gitweb/?a=blobdiff_plain;f=src%2Fgromacs%2Fselection%2Findexutil.h;h=9ac9364008ba028178a82269af688450ca373f41;hb=180cf1538ad2b19bd6b4108662adc4a519565fcb;hp=7ec5bd96916b0d2610fcedbe87cd9ab2868b4784;hpb=1d597ac0415f9a847715ef65daa55fe1312bd59f;p=alexxy%2Fgromacs.git diff --git a/src/gromacs/selection/indexutil.h b/src/gromacs/selection/indexutil.h index 7ec5bd9691..9ac9364008 100644 --- a/src/gromacs/selection/indexutil.h +++ b/src/gromacs/selection/indexutil.h @@ -1,7 +1,7 @@ /* * This file is part of the GROMACS molecular simulation package. * - * Copyright (c) 2009,2010,2011,2012,2013,2014, by the GROMACS development team, led by + * Copyright (c) 2009,2010,2011,2012,2013,2014,2015, by the GROMACS development team, led by * Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl, * and including many others, as listed in the AUTHORS file in the * top-level source directory and at http://www.gromacs.org. @@ -68,6 +68,11 @@ #include "gromacs/legacyheaders/types/simple.h" #include "gromacs/topology/block.h" +namespace gmx +{ +class TextWriter; +} + struct t_topology; /** Stores a set of index groups. */ @@ -205,7 +210,7 @@ gmx_ana_indexgrps_find(gmx_ana_index_t *dest, std::string *destName, /** Writes out a list of index groups. */ void -gmx_ana_indexgrps_print(FILE *fp, gmx_ana_indexgrps_t *g, int maxn); +gmx_ana_indexgrps_print(gmx::TextWriter *writer, gmx_ana_indexgrps_t *g, int maxn); /*@}*/ /*! \name Functions for handling gmx_ana_index_t @@ -235,7 +240,7 @@ gmx_ana_index_copy(gmx_ana_index_t *dest, gmx_ana_index_t *src, bool bAlloc); /** Writes out the contents of a index group. */ void -gmx_ana_index_dump(FILE *fp, gmx_ana_index_t *g, int maxn); +gmx_ana_index_dump(gmx::TextWriter *writer, gmx_ana_index_t *g, int maxn); /*! \brief * Returns maximum atom index that appears in an index group.