Classes | Typedefs | Functions
arttest Namespace Reference

Classes

struct  also_empty
 
struct  AssnTestData
 
struct  ClassTool
 
struct  CompressedIntProduct
 
struct  DoubleProduct
 
struct  DummyProduct
 
struct  empty
 
class  EventProcessorTestOutput
 
class  EventProcessorTestSource
 
class  FPCTest
 
struct  Hit
 
struct  Int16_tProduct
 
struct  IntArray
 
struct  IntProduct
 
class  IntVectorProducer
 
struct  MockCluster
 
class  MockRun
 
class  MultiplyNumber
 
class  NestedClassTool
 
class  NestedFunctionInClassTool
 
struct  NonPersistable
 
class  OperationBase
 
class  PMTestAnalyzer
 
class  PMTestFilter
 
class  PMTestProducer
 
class  ProdTypeA
 
class  ProdTypeB
 
class  ProductWithPtrs
 
struct  PtrToNonPersistable
 
class  ServiceUsingIface
 
struct  Simple
 
struct  SimpleDerived
 
struct  SimpleEvent
 
struct  Sortable
 
struct  StringProduct
 
class  SubtractNumber
 
struct  Track
 

Typedefs

typedef std::vector< arttest::MockClusterMockClusterList
 
using VSimpleProduct = std::vector< Simple >
 

Functions

double divit (double x, double y)
 
double multit (double x, double y)
 
DoubleProduct operator+ (DoubleProduct const &left, DoubleProduct const right)
 
DoubleProductoperator+= (DoubleProduct &left, DoubleProduct const &right)
 
DoubleProductoperator+= (DoubleProduct &left, double right)
 
bool operator== (StringProduct const &left, StringProduct const &right)
 
std::ostream & operator<< (std::ostream &os, StringProduct const &s)
 
bool operator== (Simple const &a, Simple const &b)
 
bool operator< (Simple const &a, Simple const &b)
 
bool operator== (Sortable const &a, Sortable const &b)
 
bool operator< (Sortable const &a, Sortable const &b)
 
int addOne (int const i)
 
int callThroughToAddOne (fhicl::ParameterSet const &pset, int const i)
 

Typedef Documentation

Definition at line 26 of file MockCluster.h.

Definition at line 216 of file ToyProducts.h.

Function Documentation

int arttest::addOne ( int const  i)

Definition at line 5 of file FunctionTool.cc.

6  {
7  return i + 1;
8  }
int arttest::callThroughToAddOne ( fhicl::ParameterSet const &  pset,
int const  i 
)

Definition at line 6 of file NestedFunctionTool.cc.

7  {
8  auto addOne = art::make_tool<int(int)>(pset, "addOne");
9  return addOne(i);
10  }
int addOne(int const i)
Definition: FunctionTool.cc:5
double arttest::divit ( double  x,
double  y 
)

Definition at line 4 of file fpc_utils.cc.

5 {
6  double const result = x / y;
7  return result;
8 }
static QCString result
list x
Definition: train.py:276
double arttest::multit ( double  x,
double  y 
)

Definition at line 11 of file fpc_utils.cc.

12 {
13  double const result = x * y;
14  return result;
15 }
static QCString result
list x
Definition: train.py:276
DoubleProduct arttest::operator+ ( DoubleProduct const &  left,
DoubleProduct const  right 
)
inline

Definition at line 97 of file ToyProducts.h.

98  {
99  return DoubleProduct(left.value + right.value);
100  }
DoubleProduct& arttest::operator+= ( DoubleProduct left,
DoubleProduct const &  right 
)
inline

Definition at line 103 of file ToyProducts.h.

104  {
105  left.aggregate(right);
106  return left;
107  }
DoubleProduct& arttest::operator+= ( DoubleProduct left,
double  right 
)
inline

Definition at line 110 of file ToyProducts.h.

111  {
112  left.value += right;
113  return left;
114  }
bool arttest::operator< ( Simple const &  a,
Simple const &  b 
)
inline

Definition at line 170 of file ToyProducts.h.

171  {
172  return a.key < b.key;
173  }
const double a
static bool * b
Definition: config.cpp:1043
bool arttest::operator< ( Sortable const &  a,
Sortable const &  b 
)
inline

Definition at line 211 of file ToyProducts.h.

212  {
213  return a.data < b.data;
214  }
const double a
static bool * b
Definition: config.cpp:1043
std::ostream& arttest::operator<< ( std::ostream &  os,
StringProduct const &  s 
)
inline

Definition at line 132 of file ToyProducts.h.

133  {
134  return os << s.name_;
135  }
static QCString * s
Definition: config.cpp:1042
bool arttest::operator== ( StringProduct const &  left,
StringProduct const &  right 
)
inline

Definition at line 126 of file ToyProducts.h.

127  {
128  return left.name_ == right.name_;
129  }
bool arttest::operator== ( Simple const &  a,
Simple const &  b 
)
inline

Definition at line 164 of file ToyProducts.h.

165  {
166  return (a.key == b.key && a.value == b.value);
167  }
const double a
static bool * b
Definition: config.cpp:1043
bool arttest::operator== ( Sortable const &  a,
Sortable const &  b 
)
inline

Definition at line 205 of file ToyProducts.h.

206  {
207  return (a.data == b.data);
208  }
const double a
static bool * b
Definition: config.cpp:1043