ATLAS Offline Software
Namespaces | Macros | Functions
AsgToolMacros.h File Reference
#include <string>
Include dependency graph for AsgToolMacros.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 asg
 

Macros

#define ASG_TOOL_INTERFACE(CLASSNAME)
 
#define ASG_TOOL_CLASS0(CLASSNAME)
 
#define ASG_TOOL_CLASS(CLASSNAME, INT1)
 
#define ASG_TOOL_CLASS1   ASG_TOOL_CLASS
 
#define ASG_TOOL_CLASS2(CLASSNAME, INT1, INT2)
 
#define ASG_TOOL_CLASS3(CLASSNAME, INT1, INT2, INT3)
 

Functions

std::string asg::ptrToString (const void *p)
 

Macro Definition Documentation

◆ ASG_TOOL_CLASS

#define ASG_TOOL_CLASS (   CLASSNAME,
  INT1 
)
Value:
public: \
CLASSNAME(const std::string& type, const std::string& myname, const IInterface* parent) \
: CLASSNAME(std::string(asg::ptrToString(parent))+"#"+type+"/"+myname) { \
declareInterface<INT1>(this); \
}

Definition at line 69 of file AsgToolMacros.h.

◆ ASG_TOOL_CLASS0

#define ASG_TOOL_CLASS0 (   CLASSNAME)
Value:
public: \
CLASSNAME(const std::string& type, const std::string& myname, const IInterface* parent) \
: CLASSNAME(std::string(asg::ptrToString(parent))+"#"+type+"/"+myname) { \
}

Definition at line 63 of file AsgToolMacros.h.

◆ ASG_TOOL_CLASS1

#define ASG_TOOL_CLASS1   ASG_TOOL_CLASS

Definition at line 76 of file AsgToolMacros.h.

◆ ASG_TOOL_CLASS2

#define ASG_TOOL_CLASS2 (   CLASSNAME,
  INT1,
  INT2 
)
Value:
public: \
CLASSNAME(const std::string& type, const std::string& myname, const IInterface* parent) \
: CLASSNAME(std::string(asg::ptrToString(parent))+"#"+type+"/"+myname) { \
declareInterface<INT1>(this); \
declareInterface<INT2>(this); \
}

Definition at line 78 of file AsgToolMacros.h.

◆ ASG_TOOL_CLASS3

#define ASG_TOOL_CLASS3 (   CLASSNAME,
  INT1,
  INT2,
  INT3 
)
Value:
public: \
CLASSNAME(const std::string& type, const std::string& myname, const IInterface* parent) \
: CLASSNAME(std::string(asg::ptrToString(parent))+"#"+type+"/"+myname) { \
declareInterface<INT1>(this); \
declareInterface<INT2>(this); \
declareInterface<INT3>(this); \
}

Definition at line 86 of file AsgToolMacros.h.

◆ ASG_TOOL_INTERFACE

#define ASG_TOOL_INTERFACE (   CLASSNAME)
Value:
public: \
static const InterfaceID& interfaceID() { \
static const InterfaceID myid(#CLASSNAME, 1, 0 ); \
return myid; \
}

Definition at line 41 of file AsgToolMacros.h.

test_pyathena.parent
parent
Definition: test_pyathena.py:15
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
asg::ptrToString
std::string ptrToString(const void *p)
Definition: AsgToolMacros.cxx:14