|
Jpp 21.0.0-rc.3
the software that should make you happy
|
Handler class for automatic pointer. More...
#include <JSelector.hh>
Public Types | |
| typedef JAutoElement< JBase_t > | JAutoElement_t |
Public Member Functions | |
| JAutoElement () | |
| Default constructor. | |
| template<class JDerived_t > | |
| JAutoElement (JType< JDerived_t > type) | |
| Constructor. | |
| template<class JDerived_t > | |
| JAutoElement (JDerived_t *p) | |
| Constructor. | |
| template<class JDerived_t > | |
| void | set () |
| Set the automatic pointer to the given data type. | |
| template<class JDerived_t > | |
| void | set (JType< JDerived_t > type) |
| Set the automatic pointer to the given data type. | |
| template<class JDerived_t > | |
| void | set (JDerived_t *p) |
| Set the automatic pointer to the given data type. | |
| template<class JDerived_t > | |
| JAutoElement & | operator= (JType< JDerived_t > type) |
| Assign given data type to the automatic pointer. | |
| template<class JDerived_t > | |
| JAutoElement & | operator= (JDerived_t *p) |
| Assign given data type to the automatic pointer. | |
Friends | |
| std::istream & | operator>> (std::istream &in, JAutoElement_t &element) |
| Stream input. | |
| std::ostream & | operator<< (std::ostream &out, const JAutoElement_t &element) |
| Stream output. | |
Handler class for automatic pointer.
Definition at line 125 of file JTools/JSelector.hh.
| JAutoElement<JBase_t> JTOOLS::JAutoElement< JBase_t >::JAutoElement_t |
Definition at line 130 of file JTools/JSelector.hh.
|
inline |
|
inline |
Constructor.
| type | data type |
Definition at line 146 of file JTools/JSelector.hh.
|
inline |
Constructor.
This class owns the pointer.
| p | pointer to object |
Definition at line 159 of file JTools/JSelector.hh.
|
inline |
Set the automatic pointer to the given data type.
Definition at line 169 of file JTools/JSelector.hh.
|
inline |
Set the automatic pointer to the given data type.
| type | data type |
Definition at line 181 of file JTools/JSelector.hh.
|
inline |
Set the automatic pointer to the given data type.
| p | pointer to object |
Definition at line 193 of file JTools/JSelector.hh.
|
inline |
Assign given data type to the automatic pointer.
| type | data type |
Definition at line 206 of file JTools/JSelector.hh.
|
inline |
Assign given data type to the automatic pointer.
| p | pointer to object |
Definition at line 221 of file JTools/JSelector.hh.
|
friend |
Stream input.
| in | input stream |
| element | element |
Definition at line 236 of file JTools/JSelector.hh.
|
friend |
Stream output.
| out | output stream |
| element | element |
Definition at line 252 of file JTools/JSelector.hh.