Apply clang-format to source tree
[alexxy/gromacs.git] / src / gromacs / gmxpreprocess / resall.h
index c5022ca2467c4aad5ac6629232fe456b900b404c..78c74436f01c5181b3da7c10c51b54c6468480be 100644 (file)
@@ -62,7 +62,7 @@ struct t_symtab;
  * \param[in] rtpDBEntry Database with residue information.
  * \returns The rtp residue name.
  */
-std::string searchResidueDatabase(const std::string &key, gmx::ArrayRef<const PreprocessResidue> rtpDBEntry);
+std::string searchResidueDatabase(const std::stringkey, gmx::ArrayRef<const PreprocessResidue> rtpDBEntry);
 
 /*! \brief
  * Returns matching entry in database.
@@ -72,7 +72,7 @@ std::string searchResidueDatabase(const std::string &key, gmx::ArrayRef<const Pr
  * \throws If the name can not be found in the database.
  */
 gmx::ArrayRef<const PreprocessResidue>::const_iterator
-getDatabaseEntry(const std::string &rtpname, gmx::ArrayRef<const PreprocessResidue> rtpDBEntry);
+getDatabaseEntry(const std::stringrtpname, gmx::ArrayRef<const PreprocessResidue> rtpDBEntry);
 
 /*! \brief
  * Read atom types into database.
@@ -81,7 +81,7 @@ getDatabaseEntry(const std::string &rtpname, gmx::ArrayRef<const PreprocessResid
  * \param[in] tab Symbol table for names.
  * \returns Atom type database.
  */
-PreprocessingAtomTypes read_atype(const char *ffdir, t_symtab *tab);
+PreprocessingAtomTypes read_atype(const char* ffdir, t_symtab* tab);
 
 /*! \brief
  * Read in database, append to exisiting.
@@ -92,11 +92,11 @@ PreprocessingAtomTypes read_atype(const char *ffdir, t_symtab *tab);
  * \param[inout] tab Symbol table for names.
  * \param[in] bAllowOverrideRTP If entries can be overwritten in the database.
  */
-void readResidueDatabase(const std::string               &resdb,
-                         std::vector<PreprocessResidue>  *rtpDBEntry,
-                         PreprocessingAtomTypes          *atype,
-                         t_symtab                        *tab,
-                         bool                             bAllowOverrideRTP);
+void readResidueDatabase(const std::string&              resdb,
+                         std::vector<PreprocessResidue>rtpDBEntry,
+                         PreprocessingAtomTypes*         atype,
+                         t_symtab*                       tab,
+                         bool                            bAllowOverrideRTP);
 
 /*! \brief
  * Print out database.
@@ -105,7 +105,8 @@ void readResidueDatabase(const std::string               &resdb,
  * \param[in] rtpDBEntry Database to write out.
  * \param[in] atype Atom type information.
  */
-void print_resall(FILE *out, gmx::ArrayRef<const PreprocessResidue> rtpDBEntry,
-                  const PreprocessingAtomTypes &atype);
+void print_resall(FILE*                                  out,
+                  gmx::ArrayRef<const PreprocessResidue> rtpDBEntry,
+                  const PreprocessingAtomTypes&          atype);
 
 #endif