Instrument Neutral Distributed Interface INDI  1.9.2
Namespaces | Functions
indiutility.h File Reference
#include <string>
#include <sys/stat.h>
#include <ctime>
#include "indimacros.h"

Go to the source code of this file.

Namespaces

 INDI
 Namespace to encapsulate INDI client, drivers, and mediator classes.
 

Functions

int INDI::mkpath (std::string path, mode_t mode)
 Create a path directory - this function uses 'mkdir'. More...
 
std::string INDI::format_time (const std::tm &tm, const char *format)
 Converts the date and time to string - this function uses 'strftime'. More...
 
void INDI::replace_all (std::string &subject, const std::string &search, const std::string &replace)
 Replaces every occurrence of the string 'search' with the string 'replace'. More...