EleFits  5.3.1
A modern C++ API on top of CFITSIO
Loading...
Searching...
No Matches
Classes | Functions
Euclid::Fits::String Namespace Reference

Detailed Description

String-related utilities.

Classes

struct  CStrArray
 A helper structure to safely convert a std::vector<std::string> to char**. More...
 

Functions

std::string read_aux_file (const std::string &filename)
 Read a text file from the auxiliary directory. More...
 
std::string read_file (const std::string &filename)
 Read a text file. More...
 
std::vector< std::stringsplit (const std::string &input, const std::string &delimiters="\n")
 Split a string given a set of character delimiters. More...
 
std::unique_ptr< char[]> to_char_ptr (const std::string &str)
 Copy a std::string into a std::unique_ptr<char[]>. More...
 
std::string trim (const std::string &input, const std::string &characters="")
 Trim a string given a set of characters. More...