DUNE-DAQ
DUNE Trigger and Data Acquisition software
|
Namespaces | |
namespace | oks |
namespace | python |
namespace | xml |
Classes | |
class | AddRcrError |
class | AttributeConversionFailed |
class | AttributeRangeError |
class | AttributeReadError |
class | AuthenticationFailure |
Failed to authenticate user. More... | |
class | bad_query_syntax |
class | BadFileData |
class | BadReqExp |
struct | BindWarning |
class | CannotAddClass |
Failed add new class. More... | |
class | CanNotBackupFile |
Failed backup file. More... | |
class | CanNotCreateFile |
Cannot create file. More... | |
class | CanNotCreateRepositoryDir |
Cannot create file. More... | |
class | CannotDestroyClass |
class | CannotFindSuperClass |
class | CanNotOpenFile |
Cannot open file. More... | |
class | CannotRegisterClass |
class | CannotResolvePath |
Failed resolve path. More... | |
class | CanNotSetActiveFile |
Failed to set active file. More... | |
class | CanNotSetFile |
Failed move item to file. More... | |
class | CanNotWriteToFile |
Failed write to file. More... | |
struct | CommandOutput |
class | Comment |
The comment about file modification. A comment can be added when user saves file using OKS tools. More... | |
class | Date |
class | EndOfXmlStream |
struct | equal_class_ptr |
struct | equal_file_ptr |
struct | equal_obj_ptr |
struct | equal_str |
class | exception |
class | FailedAddComment |
Cannot add comment. Such exception is thrown when OKS cannot add new comment. More... | |
class | FailedAddInclude |
Cannot add include file. Such exception is thrown when OKS cannot add include file. More... | |
class | FailedChangeComment |
Cannot change comment. Such exception is thrown when OKS cannot change comment. More... | |
class | FailedCreateObject |
class | FailedDestoyObject |
class | FailedLoadFile |
Cannot load file. More... | |
class | FailedRead |
class | FailedReadObject |
class | FailedReloadFile |
Cannot re-load files. More... | |
class | FailedRemoveComment |
Cannot remove comment. Such exception is thrown when OKS cannot remove comment. More... | |
class | FailedRemoveInclude |
Cannot remove include file. Such exception is thrown when OKS cannot remove include file. More... | |
class | FailedRenameInclude |
Cannot rename include file. Such exception is thrown when OKS cannot rename include file. More... | |
class | FailedRenameObject |
class | FailedSave |
class | FailedSaveObject |
class | FileChangeError |
class | FileCompareError |
class | FileLockError |
Cannot add include file. Such exception is thrown when OKS cannot add include file. More... | |
class | GitFoldersHolder |
struct | hash_class_ptr |
struct | hash_file_ptr |
struct | hash_obj_ptr |
struct | hash_str |
struct | LoadErrors |
class | ObjectBindError |
class | ObjectGetError |
class | ObjectInitError |
class | ObjectOperationFailed |
class | ObjectSetError |
class | Oks |
Class contains common OKS classes and methods. More... | |
struct | OksAliasTable |
The struct OksAliasTable is used to support aliases. More... | |
class | OksAndExpression |
OKS query logical AND expression class. More... | |
class | OksAttribute |
OKS attribute class. More... | |
class | OksClass |
The OKS class. More... | |
class | OksComparator |
OKS query expression comparator class. More... | |
struct | OksData |
the structure to pass common parameters to various read() methods of OksData and OksObject class More... | |
struct | OksDataInfo |
Struct OKS data information. More... | |
class | OksFile |
Provides interface to the OKS XML schema and data files. More... | |
class | OksFunctionProfiler |
class | OksIndex |
class | OksJob |
class | OksKernel |
Provides interface to the OKS kernel. More... | |
class | OksListBaseQueryExpression |
Abstract class describing list of OKS query expressions. More... | |
struct | OksLoadObjectsJob |
class | OksMethod |
OKS method class. More... | |
class | OksMethodImplementation |
OKS method implementation class. More... | |
struct | OksNameTable |
The struct OksNameTable is used to generate unique strings. More... | |
class | OksNotExpression |
OKS query logical NOT expression class. More... | |
class | OksObject |
OksObject describes instance of OksClass. More... | |
class | OksObjectSortBy |
class | OksOrExpression |
OKS query logical OR expression class. More... | |
class | OksPipeline |
class | OksProfiler |
class | OksQuery |
OKS query class. More... | |
class | OksQueryExpression |
OKS query expression class. More... | |
class | OksRange |
OKS range class. More... | |
struct | OksRCR |
The struct OksRCR describes Reverse Composite Relationship (i.e. back reference from child to composite parent) More... | |
class | OksRelationship |
class | OksRelationshipExpression |
OKS query relationship expression class. More... | |
struct | OksRepositoryVersion |
class | OksString |
Class OKS string. More... | |
struct | OksXmlAttribute |
class | OksXmlInputStream |
class | OksXmlOutputStream |
struct | OksXmlRelValue |
struct | OksXmlToken |
struct | OksXmlTokenPool |
struct | OksXmlValue |
class | QueryFailed |
class | QueryPath |
class | QueryPathExpression |
struct | ReadFileParams |
struct | RefData |
struct | ReloadObjects |
struct | ReposDirs |
class | RepositoryOperationFailed |
Cannot commit, checkout or release files. More... | |
class | SetOperationFailed |
class | Time |
Typedefs | |
typedef std::unordered_set< const OksClass *, oks::hash_class_ptr, oks::equal_class_ptr > | ClassSet |
Enumerations | |
enum | __LogSeverity__ { Error = 0 , Warning , Log , Debug } |
Functions | |
bool | cmp_str1 (const char *s1, const char s2[2]) |
bool | cmp_str2 (const char *s1, const char s2[3]) |
bool | cmp_str2n (const char *s1, const char s2[2]) |
bool | cmp_str3 (const char *s1, const char s2[4]) |
bool | cmp_str3n (const char *s1, const char s2[3]) |
bool | cmp_str4 (const char *s1, const char s2[5]) |
bool | cmp_str4n (const char *s1, const char s2[4]) |
bool | cmp_str5 (const char *s1, const char s2[6]) |
bool | cmp_str5n (const char *s1, const char s2[5]) |
bool | cmp_str6 (const char *s1, const char s2[7]) |
bool | cmp_str6n (const char *s1, const char s2[6]) |
bool | cmp_str7 (const char *s1, const char s2[8]) |
bool | cmp_str7n (const char *s1, const char s2[8]) |
bool | cmp_str8 (const char *s1, const char s2[9]) |
bool | cmp_str8n (const char *s1, const char s2[9]) |
bool | cmp_str9 (const char *s1, const char s2[10]) |
bool | cmp_str10 (const char *s1, const char s2[11]) |
bool | cmp_str11 (const char *s1, const char s2[12]) |
bool | cmp_str12 (const char *s1, const char s2[13]) |
bool | cmp_str13 (const char *s1, const char s2[14]) |
bool | cmp_str14 (const char *s1, const char s2[14]) |
bool | cmp_str15 (const char *s1, const char s2[16]) |
bool | cmp_str16 (const char *s1, const char s2[17]) |
const std::string | strerror (int error) |
Convert C error number to string. | |
std::ostream & | operator<< (std::ostream &s, const oks::exception &ex) |
void | throw_validate_not_empty (const char *name) |
void | validate_not_empty (const std::string &value, const char *name) |
std::ostream & | operator<< (std::ostream &, const OksFile &) |
std::ostream & | operator<< (std::ostream &, const oks::Comment &) |
double | get_time_interval (const timeval *t1, const timeval *t2) |
std::ostream & | log_timestamp (__LogSeverity__ severity=Log) |
bool | operator== (const OksString &s1, const OksString &s2) |
Implementation of OksString logical equality operator. | |
bool | operator== (const OksString &s1, const std::string &s2) |
Implementation of OksString logical equality operator. | |
bool | operator== (const OksString &s1, const char *s2) |
Implementation of OksString logical equality operator. | |
bool | operator< (const OksString &s1, const OksString &s2) |
Implementation of OksString logical less operator. | |
std::ostream & | operator<< (std::ostream &s, const OksString &str) |
Implementation of OksString out stream operator. | |
std::ostream & | operator<< (std::ostream &, const oks::QueryPathExpression &) |
std::ostream & | operator<< (std::ostream &, const oks::QueryPath &) |
void | validate_init2range (const OksAttribute *a) |
std::ostream & | operator<< (std::ostream &s, const OksAttribute &a) |
bool | is_star (const std::string &s) |
std::ostream & | operator<< (std::ostream &s, const OksClass &c) |
static void | check_and_report_empty_parameter (const char *fname, bool b1, bool b2) |
static void | check_and_report_found_items (const char *fname, const char *item_type, const std::string &item1_name, const std::string &item2_name, const std::string &class_name, bool b1, bool b2) |
static std::string | add_super_class_error (const std::string &c1, const std::string &c2) |
static std::string | remove_super_class_error (const std::string &c1, const std::string &c2) |
void | add_if_not_found (OksClass::FList &clist, OksClass *c) |
const char * | bool2value_type (bool v) |
bool | are_types_different (const OksAttribute *a1, const OksAttribute *a2) |
const char * | card2string (OksRelationship::CardinalityConstraint cc) |
static bool | is_not_info (const std::string &line) |
ERS_DECLARE_ISSUE (kernel, SetGroupIdFailed, "cannot set group ID "<< id<< " for the file \'"<< file<< "\': chown() failed with code "<< code<< " , reason = \'"<< why<< '\'',((long) id)((const char *) file)((int) code)((std::string) why)) ERS_DECLARE_ISSUE(kernel | |
Found unresolved | reference (s) |
static long | get_file_length (std::ifstream &f) |
std::string | make_fname (const char *f, size_t f_len, const std::string &file, bool *p, const OksFile *const *fh) |
std::ostream & | operator<< (std::ostream &s, OksKernel &k) |
static void | test_file_existence (const std::string &file_name, bool silence, const std::string &fname, const char *msg) |
std::string | mk_name_and_test (const std::string &name, const char *test, size_t test_len) |
static void | create_updated_lists (const OksFile::Map &files, std::list< OksFile * > **ufs, std::list< OksFile * > **rfs, OksFile::FileStatus wu, OksFile::FileStatus wr) |
static bool | _find_file (const OksFile::Map &files, const OksFile *f) |
static bool | check_relevant (const std::set< std::string > &loaded_files, const OksRepositoryVersion &ver) |
static std::string | replace_datetime_spaces (const std::string &in) |
std::ostream & | operator<< (std::ostream &s, const OksMethodImplementation &i) |
std::ostream & | operator<< (std::ostream &s, const OksMethod &m) |
static void | __throw_unknown_type (const oks::ReadFileParams ¶ms, const char *atype) |
std::ostream & | operator<< (std::ostream &s, const OksObject *o) |
std::ostream & | operator<< (std::ostream &s, const OksObject &o) |
static bool | trim_dangling (OksData &d, const OksKernel &kernel) |
static bool | cmp_data (OksData *d, OksData *d2) |
static void | test_dangling_references (const OksObject *obj, const OksData &d, const OksRelationship &r, std::string &result) |
static void | _references (const OksObject *obj, unsigned long recursion_depth, RefData &data) |
static void | insert2refs (const OksObject *o, unsigned long recursion_depth, RefData &data) |
boost::posix_time::ptime | str2time (const char *value, size_t len, const char *file_name=nullptr) |
boost::gregorian::date | str2date (const char *value, size_t len) |
std::ostream & | operator<< (std::ostream &, const Date &) |
std::ostream & | operator<< (std::ostream &, const Time &) |
static void | printTableSeparator (std::ostream &s, unsigned char c) |
static void | printTableLine (std::ostream &s, unsigned char c) |
std::ostream & | operator<< (std::ostream &s, const OksProfiler &t) |
void | erase_empty_chars (std::string &s) |
std::ostream & | operator<< (std::ostream &s, const OksQueryExpression &qe) |
std::ostream & | operator<< (std::ostream &s, const OksQuery &gqe) |
std::ostream & | operator<< (std::ostream &s, const OksRelationship &r) |
static std::string | report_unexpected (const char *what, const char expected, const char read) |
static void | __throw_runtime_error_unexpected_symbol (const char expected, const char read) |
static void | __throw_bad_file_data_unexpected_symbol (const char *what, const char expected, const char read, unsigned long l, unsigned long p) |
bool | __is_comment (const char *s) |
Variables | |
const char | _empty_str [] = "empty" |
static std::mutex | s_get_cwd_mutex |
static GitFoldersHolder | s_git_folders |
BindError | |
static const char * | OksProfilerFunctionsStr [] |
typedef std::unordered_set<const OksClass *, oks::hash_class_ptr, oks::equal_class_ptr> dunedaq::oks::ClassSet |
Definition at line 820 of file object.hpp.
Enumerator | |
---|---|
Error | |
Warning | |
Log | |
Debug |
Definition at line 381 of file kernel.hpp.
|
inline |
|
static |
Definition at line 106 of file xml.cpp.
|
static |
|
static |
Definition at line 494 of file object.cpp.
|
static |
Definition at line 3167 of file kernel.cpp.
|
static |
Definition at line 3079 of file object.cpp.
|
inline |
|
static |
|
inline |
Definition at line 1644 of file class.cpp.
|
inline |
|
inline |
|
static |
|
static |
Definition at line 833 of file class.cpp.
|
static |
Definition at line 5319 of file kernel.cpp.
Definition at line 2263 of file object.cpp.
|
inline |
Definition at line 9 of file cstring.hpp.
|
inline |
Definition at line 73 of file cstring.hpp.
|
inline |
Definition at line 77 of file cstring.hpp.
|
inline |
Definition at line 81 of file cstring.hpp.
|
inline |
Definition at line 85 of file cstring.hpp.
|
inline |
Definition at line 89 of file cstring.hpp.
|
inline |
Definition at line 93 of file cstring.hpp.
|
inline |
Definition at line 97 of file cstring.hpp.
|
inline |
Definition at line 13 of file cstring.hpp.
|
inline |
Definition at line 17 of file cstring.hpp.
|
inline |
Definition at line 21 of file cstring.hpp.
|
inline |
Definition at line 25 of file cstring.hpp.
|
inline |
Definition at line 29 of file cstring.hpp.
|
inline |
Definition at line 33 of file cstring.hpp.
|
inline |
Definition at line 37 of file cstring.hpp.
|
inline |
Definition at line 41 of file cstring.hpp.
|
inline |
Definition at line 45 of file cstring.hpp.
|
inline |
Definition at line 49 of file cstring.hpp.
|
inline |
Definition at line 53 of file cstring.hpp.
|
inline |
Definition at line 57 of file cstring.hpp.
|
inline |
Definition at line 61 of file cstring.hpp.
|
inline |
Definition at line 65 of file cstring.hpp.
|
inline |
Definition at line 69 of file cstring.hpp.
|
static |
Definition at line 2981 of file kernel.cpp.
|
inline |
dunedaq::oks::ERS_DECLARE_ISSUE | ( | kernel | , |
SetGroupIdFailed | , | ||
"cannot set group ID "<< id<< " for the file \'"<< file<< "\': chown() failed with code "<< code<< " | ) |
|
static |
Definition at line 490 of file kernel.cpp.
double dunedaq::oks::get_time_interval | ( | const timeval * | t1, |
const timeval * | t2 ) |
|
static |
Definition at line 3059 of file object.cpp.
|
static |
Definition at line 1499 of file file.cpp.
|
inline |
Definition at line 832 of file attribute.cpp.
std::ostream & dunedaq::oks::log_timestamp | ( | __LogSeverity__ | severity = Log | ) |
Definition at line 5722 of file kernel.cpp.
std::string dunedaq::oks::make_fname | ( | const char * | f, |
size_t | f_len, | ||
const std::string & | file, | ||
bool * | p, | ||
const OksFile *const * | fh ) |
Definition at line 512 of file kernel.cpp.
|
inline |
Definition at line 1635 of file kernel.cpp.
Implementation of OksString logical less operator.
Definition at line 414 of file object.hpp.
std::ostream & dunedaq::oks::operator<< | ( | std::ostream & | s, |
const Date & | d ) |
std::ostream & dunedaq::oks::operator<< | ( | std::ostream & | s, |
const oks::Comment & | c ) |
std::ostream & dunedaq::oks::operator<< | ( | std::ostream & | s, |
const oks::QueryPath & | query ) |
Definition at line 909 of file query.cpp.
std::ostream & dunedaq::oks::operator<< | ( | std::ostream & | s, |
const oks::QueryPathExpression & | e ) |
Definition at line 917 of file query.cpp.
std::ostream & dunedaq::oks::operator<< | ( | std::ostream & | s, |
const OksFile & | f ) |
Definition at line 1320 of file file.cpp.
std::ostream & dunedaq::oks::operator<< | ( | std::ostream & | s, |
const Time & | t ) |
|
inline |
Definition at line 39 of file exceptions.hpp.
std::ostream & dunedaq::oks::operator<< | ( | std::ostream & | s, |
const OksAttribute & | a ) |
Definition at line 264 of file attribute.cpp.
std::ostream & dunedaq::oks::operator<< | ( | std::ostream & | s, |
const OksClass & | c ) |
Send to stream complete description of OKS class:
Definition at line 385 of file class.cpp.
std::ostream & dunedaq::oks::operator<< | ( | std::ostream & | s, |
const OksMethod & | m ) |
Definition at line 184 of file method.cpp.
std::ostream & dunedaq::oks::operator<< | ( | std::ostream & | s, |
const OksMethodImplementation & | i ) |
Definition at line 43 of file method.cpp.
std::ostream & dunedaq::oks::operator<< | ( | std::ostream & | s, |
const OksObject & | o ) |
Send to stream complete description of OKS object:
Definition at line 1649 of file object.cpp.
std::ostream & dunedaq::oks::operator<< | ( | std::ostream & | s, |
const OksObject * | o ) |
Send to stream OKS object reference in format "foo@bar" (i.e. object "foo" from class "bar")
Definition at line 1633 of file object.cpp.
std::ostream & dunedaq::oks::operator<< | ( | std::ostream & | s, |
const OksProfiler & | t ) |
Definition at line 84 of file profiler.cpp.
std::ostream & dunedaq::oks::operator<< | ( | std::ostream & | s, |
const OksQuery & | gqe ) |
Definition at line 891 of file query.cpp.
std::ostream & dunedaq::oks::operator<< | ( | std::ostream & | s, |
const OksQueryExpression & | qe ) |
Definition at line 778 of file query.cpp.
std::ostream & dunedaq::oks::operator<< | ( | std::ostream & | s, |
const OksRelationship & | r ) |
Definition at line 98 of file relationship.cpp.
|
inline |
Implementation of OksString out stream operator.
Definition at line 423 of file object.hpp.
std::ostream & dunedaq::oks::operator<< | ( | std::ostream & | s, |
OksKernel & | k ) |
Definition at line 1491 of file kernel.cpp.
Implementation of OksString logical equality operator.
Definition at line 406 of file object.hpp.
Implementation of OksString logical equality operator.
Definition at line 388 of file object.hpp.
Implementation of OksString logical equality operator.
Definition at line 397 of file object.hpp.
|
static |
Definition at line 76 of file profiler.cpp.
|
static |
Definition at line 66 of file profiler.cpp.
Found unresolved dunedaq::oks::reference | ( | s | ) |
Definition at line 135 of file kernel.cpp.
|
static |
|
static |
Definition at line 5477 of file kernel.cpp.
|
static |
boost::gregorian::date dunedaq::oks::str2date | ( | const char * | value, |
size_t | len ) |
boost::posix_time::ptime dunedaq::oks::str2time | ( | const char * | value, |
size_t | len, | ||
const char * | file_name = nullptr ) |
const std::string dunedaq::oks::strerror | ( | int | error | ) |
Convert C error number to string.
Definition at line 114 of file kernel.cpp.
|
static |
Definition at line 2941 of file object.cpp.
|
static |
Definition at line 1595 of file kernel.cpp.
void dunedaq::oks::throw_validate_not_empty | ( | const char * | name | ) |
Definition at line 1713 of file object.cpp.
void dunedaq::oks::validate_init2range | ( | const OksAttribute * | a | ) |
Definition at line 186 of file attribute.cpp.
|
inline |
Check string value is not empty. Throw exception if length = 0.
Definition at line 46 of file exceptions.hpp.
dunedaq::oks::BindError |
Definition at line 134 of file kernel.cpp.
|
static |
Definition at line 9 of file profiler.cpp.
|
static |
Definition at line 52 of file kernel.cpp.
|
static |
Definition at line 110 of file kernel.cpp.