#include <ToolHandle.h>
Inheritance diagram for ToolHandleInfo:
Public Member Functions | |
virtual | ~ToolHandleInfo () |
bool | isPublic () const |
bool | createIf () const |
const IInterface * | parent () const |
const std::string | toolComponentType (const IInterface *parent) const |
const std::string | toolParentName (const IInterface *parent) const |
Protected Member Functions | |
ToolHandleInfo (const IInterface *parent=0, bool createIf=true) | |
Private Attributes | |
const IInterface * | m_parent |
bool | m_createIf |
Definition at line 20 of file ToolHandle.h.
ToolHandleInfo::ToolHandleInfo | ( | const IInterface * | parent = 0 , |
|
bool | createIf = true | |||
) | [inline, protected] |
virtual ToolHandleInfo::~ToolHandleInfo | ( | ) | [inline, virtual] |
bool ToolHandleInfo::isPublic | ( | ) | const [inline] |
bool ToolHandleInfo::createIf | ( | ) | const [inline] |
const IInterface* ToolHandleInfo::parent | ( | ) | const [inline] |
const std::string ToolHandleInfo::toolComponentType | ( | const IInterface * | parent | ) | const [inline] |
Definition at line 44 of file ToolHandle.h.
00044 { 00045 return parent ? "PrivateTool" : "PublicTool"; 00046 }
const std::string ToolHandleInfo::toolParentName | ( | const IInterface * | parent | ) | const [inline] |
Definition at line 48 of file ToolHandle.h.
00048 { 00049 if (parent) { 00050 const INamedInterface* pNamed = dynamic_cast<const INamedInterface*>(parent); 00051 if (pNamed) { 00052 return pNamed->name(); 00053 } else { 00054 return ""; 00055 } 00056 } else { 00057 return "ToolSvc"; 00058 } 00059 }
const IInterface* ToolHandleInfo::m_parent [private] |
Definition at line 62 of file ToolHandle.h.
bool ToolHandleInfo::m_createIf [private] |
Definition at line 63 of file ToolHandle.h.