Loading...
Searching...
No Matches
ITHACAstring.H File Reference

Header file of the ITHACAstring file. More...

#include "ITHACAparameters.H"

Go to the source code of this file.

Namespaces

namespace  ITHACAutilities
 Namespace to implement some useful assign operation of OF fields.

Functions

std::string ITHACAutilities::str_trim (std::string const &s)
 Trim a string cf.
void ITHACAutilities::str_format_io (std::string const &s, unsigned int Nmax)
 Format a string.
std::string ITHACAutilities::double2ConciseString (const double &d)
 Returns the double d in string format without keeping all the extra 0.
bool ITHACAutilities::containsSubstring (std::string contain, std::string contained)
 Returns true if contained is a substring of contain, false otherwise.
std::vector< int > ITHACAutilities::extractIntFromString (std::string input)
 Returns an array storing all the integers in the input string.

Detailed Description

Header file of the ITHACAstring file.

Definition in file ITHACAstring.H.