JDFTx  1.4.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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_traits
string
 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.