Elaboradar  0.1
 Tutto Classi Namespace File Funzioni Variabili Tipi enumerati (enum) Gruppi
std::string elaboradar::Assets::fname_out_pp_bloc ( const char *  suffix) const
protected

Compute the file name of a date/time based file in $DIR_OUT_PP_BLOC.

Definizione alla linea 187 del file assets.cpp.

Referenziato da load_first_level_bb_bloc(), load_first_level_bb_el(), read_file_hray(), e read_file_hray_inf().

188 {
189  const char* dir = getenv("DIR_OUT_PP_BLOC");
190  if (!dir) throw runtime_error("DIR_OUT_PP_BLOC is not set");
191 
192  char fname[1024];
193  sprintf(fname, "%s/%04d%02d%02d%02d%02d%s", dir,
194  conf_year, conf_month, conf_day, conf_hour, conf_minute, suffix);
195 
196  return fname;
197 }