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
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
dunedaq::oks::OksFile
Provides interface to the OKS XML schema and data files.
Definition
file.hpp:345
dunedaq::oks::OksKernel::get_user_name
static std::string & get_user_name()
Get username of given process.
Definition
kernel.cpp:473
kernel.hpp
dunedaq::oksutils::access
Definition
access.hpp:16
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:15
dunedaq::oksutils
Definition
access.hpp:14
dunedaq
Including Qt Headers.
Definition
module.cpp:16
Generated on
for DUNE-DAQ by
1.17.0