JDFTx  1.7.0
string.h File Reference

STL strings and streams with case insensitive comparison. More...

#include <string>
#include <cstring>
#include <iostream>
#include <sstream>
#include <fstream>

Classes

struct  ichar_traits
 Case insensitive character trait. More...
 
struct  ifstream
 
struct  ofstream
 
struct  istringstream
 
struct  ostringstream
 

Typedefs

typedef std::basic_string< char, ichar_traitsstring
 Case-insensitive string.
 

Functions

void trim (string &s)
 Remove leading and trailing spaces from a string.
 
istream & operator>> (istream &is, string &str)
 
ostream & operator<< (ostream &os, const string &str)
 
istream & getline (istream &is, string &str, char delim='\n')
 

Detailed Description

STL strings and streams with case insensitive comparison.