Elaboradar  0.1
 Tutto Classi Namespace File Funzioni Variabili Tipi enumerati (enum) Gruppi
Composti | Namespace | Funzioni
Riferimenti per il file utils.h

Vai al codice sorgente di questo file.

Composti

class  radarelab::File
 Open a file taking its name from a given env variable. Continua...
 

Namespace

 radarelab
 String functions.
 

Funzioni

void radarelab::str_split (char *str, const char *sep, std::function< void(const char *tok)> val_cb)
 Split a string in tokens, skipping the given separator characters. Continua...
 
const char * radarelab::getenv_default (const char *envname, const char *default_value)
 A wrapper of getenv, that returns 'default_value' if the given environment name is not defined. Continua...
 
FILE * radarelab::fopen_checked (const char *fname, const char *mode, const char *description=0)
 A wrapper of fopen that throws an exception if it cannot open the file. Continua...