DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
TableRow Struct Reference

Public Member Functions

 TableRow (const char fill, const char separator)
 
 TableRow (const char fill, const char separator, int sv, int dv, int bv, const std::string &release, const std::string &date, const std::string &user, const std::string &host, const std::string &description, long num_of_obj=0, long num_of_attr=0, long num_of_rel=0)
 
 TableRow (const char fill, const char separator, const std::string &s1, const std::string &s2, const std::string &s3, const std::string &s4, const std::string &s5, const std::string &s6, const std::string &s7)
 

Public Attributes

char m_fill
 
char m_separator
 
std::string m_items [7]
 

Detailed Description

Definition at line 34 of file oks_ls_data.cxx.

Constructor & Destructor Documentation

◆ TableRow() [1/3]

TableRow::TableRow ( const char fill,
const char separator )
inline

Definition at line 38 of file oks_ls_data.cxx.

38: m_fill(fill), m_separator(separator) { ; }
static void fill(const ResourceSet &rs, std::vector< const ResourceSetOR * > &rs_or, std::vector< const ResourceSetAND * > &rs_and, TestCircularDependency &cd_fuse)
char m_separator

◆ TableRow() [2/3]

TableRow::TableRow ( const char fill,
const char separator,
int sv,
int dv,
int bv,
const std::string & release,
const std::string & date,
const std::string & user,
const std::string & host,
const std::string & description,
long num_of_obj = 0,
long num_of_attr = 0,
long num_of_rel = 0 )
inline

Definition at line 39 of file oks_ls_data.cxx.

41 : m_fill(fill), m_separator(separator) {
42 if(sv || dv || bv) {
43 std::ostringstream s; s << sv << '.' << dv;
44 if(bv != dv) s << '.' << bv;
45 m_items[0] = s.str();
46 }
47 m_items[1] = release;
48 m_items[2] = date;
49 m_items[3] = user;
50 m_items[4] = host;
51 if(num_of_obj || num_of_attr || num_of_rel) {
52 std::ostringstream s2;
53 s2 << num_of_obj << ':' << num_of_attr << ':' << num_of_rel;
54 m_items[5] = s2.str();
55 }
56 m_items[6] = description;
57 }
std::string m_items[7]

◆ TableRow() [3/3]

TableRow::TableRow ( const char fill,
const char separator,
const std::string & s1,
const std::string & s2,
const std::string & s3,
const std::string & s4,
const std::string & s5,
const std::string & s6,
const std::string & s7 )
inline

Definition at line 58 of file oks_ls_data.cxx.

60 : m_fill(fill), m_separator(separator) {
61 m_items[0] = s1;
62 m_items[1] = s2;
63 m_items[2] = s3;
64 m_items[3] = s4;
65 m_items[4] = s5;
66 m_items[5] = s6;
67 m_items[6] = s7;
68 }

Member Data Documentation

◆ m_fill

char TableRow::m_fill

Definition at line 35 of file oks_ls_data.cxx.

◆ m_items

std::string TableRow::m_items[7]

Definition at line 37 of file oks_ls_data.cxx.

◆ m_separator

char TableRow::m_separator

Definition at line 36 of file oks_ls_data.cxx.


The documentation for this struct was generated from the following file: