|
BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
|
#include "TString.h"#include "TSystem.h"#include <cstdio>#include <iostream>#include <stdio.h>#include <stdlib.h>Go to the source code of this file.
Functions | |
| bool | exists_file (const char *name) |
| unsigned long int | getServerRevision (const char *url) |
| unsigned long int | getLocalRevision (TString &localDbPath) |
| int | installLocalDB (const char *tag=nullptr, const char *url="https://bmn-geometry.jinr.int") |
| bool exists_file | ( | const char * | name | ) |
Definition at line 12 of file installLocalDB.C.
Referenced by getLocalRevision(), and installLocalDB().
| unsigned long int getLocalRevision | ( | TString & | localDbPath | ) |
Definition at line 36 of file installLocalDB.C.
References exists_file(), TSQLRow::GetField(), TSQLServer::IsConnected(), TSQLResult::Next(), and TSQLiteServer::Query().
Referenced by installLocalDB().
| unsigned long int getServerRevision | ( | const char * | url | ) |
Definition at line 17 of file installLocalDB.C.
References TString::Format().
Referenced by installLocalDB().
| int installLocalDB | ( | const char * | tag = nullptr, |
| const char * | url = "https://bmn-geometry.jinr.int" ) |
Definition at line 63 of file installLocalDB.C.
References TString::Data(), exists_file(), FileStat_t::fMode, TString::Format(), FileStat_t::fSize, getLocalRevision(), and getServerRevision().