#include <TrkExtInterface.h>
Definition at line 28 of file TrkExtInterface.h.
◆ TrkExtInterface()
TrkExtInterface::TrkExtInterface |
( |
| ) |
|
◆ ~TrkExtInterface()
TrkExtInterface::~TrkExtInterface |
( |
| ) |
|
|
virtual |
◆ attach() [1/2]
bool TrkExtInterface::attach |
( |
const TrkRep * |
newRep | ) |
|
|
virtual |
Definition at line 46 of file TrkExtInterface.cxx.
46 {
47
48 bool retval(false);
51 retval = true;
52 }
53 return retval;
54}
void setRep(const TrkRep *)
virtual const IfdKey & myKey() const =0
virtual const IfdKey & myKey() const
◆ attach() [2/2]
◆ isAttached()
bool TrkExtInterface::isAttached |
( |
| ) |
const |
|
inline |
◆ myConstRep()
const TrkRep * TrkExtInterface::myConstRep |
( |
| ) |
const |
|
protected |
Definition at line 86 of file TrkExtInterface.cxx.
86 {
87
88 if (0 == _myRep) {
89 std::cout<<"ErrMsg(error) "<< "Cannot use interface without attached rep."
90 << std::endl;
91 return 0;
92 }
93 return _myRep;
94}
◆ myKey()
virtual const IfdKey & TrkExtInterface::myKey |
( |
| ) |
const |
|
protectedpure virtual |
◆ myRep()
TrkRep * TrkExtInterface::myRep |
( |
| ) |
|
|
protected |
Definition at line 70 of file TrkExtInterface.cxx.
70 {
71
72 if(_myRep != 0 && _nonconst)
73 return _myRep;
74 else if (0 == _myRep) {
75 std::cout<<"ErrMsg(error) "<< "Cannot use interface without attached rep."
76 << std::endl;
77 return 0;
78 } else
79 std::cout<<"ErrMsg(error) "<< "Cannot return non-const rep after const attachment"
80 << std::endl;
81 return 0;
82}
◆ nonConstAttachment()
bool TrkExtInterface::nonConstAttachment |
( |
| ) |
const |
|
inline |
◆ setRep() [1/2]
void TrkExtInterface::setRep |
( |
const TrkRep * |
newRep | ) |
|
|
protected |
◆ setRep() [2/2]
void TrkExtInterface::setRep |
( |
TrkRep * |
newRep | ) |
|
|
protected |
The documentation for this class was generated from the following files: