CARTA Backend
The backend component of CARTA
Loading...
Searching...
No Matches
String.h File Reference
#include <string>
#include <vector>
Include dependency graph for String.h:
This graph shows which files directly or indirectly include this file:

Functions

std::string SafeStringEscape (const std::string &input)
 
std::string SafeStringUnescape (const std::string &input)
 
void SplitString (std::string &input, char delim, std::vector< std::string > &parts)
 
bool HasSuffix (const std::string &haystack, const std::string &needle, bool case_sensitive=false)
 
bool ConstantTimeStringCompare (const std::string &a, const std::string &b)
 
bool StringToInt (const std::string &input, int &i)
 

Function Documentation

◆ ConstantTimeStringCompare()

bool ConstantTimeStringCompare ( const std::string &  a,
const std::string &  b 
)
Here is the caller graph for this function:

◆ HasSuffix()

bool HasSuffix ( const std::string &  haystack,
const std::string &  needle,
bool  case_sensitive = false 
)
Here is the caller graph for this function:

◆ SafeStringEscape()

std::string SafeStringEscape ( const std::string &  input)
Here is the caller graph for this function:

◆ SafeStringUnescape()

std::string SafeStringUnescape ( const std::string &  input)
Here is the caller graph for this function:

◆ SplitString()

void SplitString ( std::string &  input,
char  delim,
std::vector< std::string > &  parts 
)
Here is the caller graph for this function:

◆ StringToInt()

bool StringToInt ( const std::string &  input,
int &  i 
)
Here is the caller graph for this function: