asg::UnitTestTool1A Struct Reference

a tool used to unit test AnaToolHandle More...

#include <UnitTestTool1A.h>

Inheritance diagram for asg::UnitTestTool1A:
asg::IUnitTestTool1 asg::AsgTool asg::IAsgTool asg::IAsgTool

List of all members.

Public Member Functions

 UnitTestTool1A (const std::string &val_name)
 standard constructor
StatusCode initialize () override
virtual std::string getPropertyString () const override
 get the integer property
virtual int getPropertyInt () const override
 get the integer property
virtual void setPropertyInt (int val_property) override
 get the integer property
virtual bool isInitialized () const override
 get whether we have been initialized

Public Attributes

bool m_isInitialized = false
 whether initialize has been called
std::string m_propertyString
 the string property
int m_propertyInt = -7
 the integer property
bool m_initializeFail = false
 whether initialize should fail

Detailed Description

a tool used to unit test AnaToolHandle

This allows to unit test the various capabilities of AnaToolHandle in a controlled fashion.


Member Function Documentation

StatusCode asg::UnitTestTool1A::initialize ( void   )  [override, virtual]

Dummy implementation of the initialisation function

It's here to allow the dual-use tools to skip defining an initialisation function. Since many are doing so...

Reimplemented from asg::AsgTool.


The documentation for this struct was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 1 Dec 2017 for RootCore Packages by  doxygen 1.6.1