Add std::string case insensitive compare
authorPaul Bauer <paul.bauer.q@gmail.com>
Fri, 15 Mar 2019 11:26:38 +0000 (12:26 +0100)
committerMark Abraham <mark.j.abraham@gmail.com>
Tue, 2 Apr 2019 18:31:25 +0000 (20:31 +0200)
commitf2df438750b597e04dcd03b23217519f0c0b178d
treef8e11eade8fcf891db6623a01a2eeecd11dd965b
parentc8d88b1e4363ebabb52ed92fcd535d59f34c7d9c
Add std::string case insensitive compare

Add another function for std::string case insensitive
comparison over a user specified length instead of
comparing the full string.

Added tests for functionality.

Showcase in preprocessing.

Change-Id: I1f117261ce56ad7c6bc5e5113da1fef705cf8aa6
src/gromacs/gmxpreprocess/gen_vsite.cpp
src/gromacs/gmxpreprocess/readir.cpp
src/gromacs/gmxpreprocess/readpull.cpp
src/gromacs/gmxpreprocess/resall.cpp
src/gromacs/gmxpreprocess/ter_db.cpp
src/gromacs/gmxpreprocess/topio.cpp
src/gromacs/gmxpreprocess/vsite_parm.cpp
src/gromacs/gmxpreprocess/x2top.cpp
src/gromacs/utility/stringutil.cpp
src/gromacs/utility/stringutil.h
src/gromacs/utility/tests/stringutil.cpp