DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
access.hpp
Go to the documentation of this file.
1//
2// DUNE DAQ modification notice:
3// This file has been modified from the original ATLAS oks_utils source for the DUNE DAQ project.
4// Fork baseline commit: c2e7dfc7 (2022-03-30).
5// Renamed since fork: yes (from oks/access.h to include/oksutils/oks/access.hpp).
6//
7
8#ifndef OKS_ACCESS_H
9#define OKS_ACCESS_H
10
11#include "oks/kernel.hpp"
12
13namespace dunedaq {
14namespace oksutils {
15 namespace access
16 {
26
27 bool
28 is_writable(const oks::OksFile& file,
29 const std::string& user = oks::OksKernel::get_user_name());
30 } // namespace access
31} // namespace oksutils
32} // namespace dunedaq
33
34#endif
Provides interface to the OKS XML schema and data files.
Definition file.hpp:345
static std::string & get_user_name()
Get username of given process.
Definition kernel.cpp:473
bool is_writable(const oks::OksFile &file, const std::string &user=oks::OksKernel::get_user_name())
Including Qt Headers.
Definition module.cpp:16