DUNE-DAQ
DUNE Trigger and Data Acquisition software
Toggle main menu visibility
Loading...
Searching...
No Matches
dunedaq
sourcecode
oksutils
include
oksutils
oks
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
13
namespace
dunedaq
{
14
namespace
oksutils
{
15
namespace
access
{
25
26
bool
27
is_writable
(
const
oks::OksFile
& file,
const
std::string& user =
oks::OksKernel::get_user_name
());
28
}
// namespace access
29
}
// namespace oksutils
30
}
// namespace dunedaq
31
32
#endif
dunedaq::oks::OksFile
Provides interface to the OKS XML schema and data files.
Definition
file.hpp:355
dunedaq::oks::OksKernel::get_user_name
static std::string & get_user_name()
Get username of given process.
Definition
kernel.cpp:427
kernel.hpp
dunedaq::oksutils::access
Definition
access.hpp:15
dunedaq::oksutils::access::is_writable
bool is_writable(const oks::OksFile &file, const std::string &user=oks::OksKernel::get_user_name())
Definition
oks_access.cpp:14
dunedaq::oksutils
Definition
access.hpp:14
dunedaq
The DUNE-DAQ namespace.
Definition
cib_utilities.cpp:5
Generated on
for DUNE-DAQ by
1.18.0