1#ifndef __JTOOLS__JSELECTOR__ 
    2#define __JTOOLS__JSELECTOR__ 
   38  template<
class JBase_t>
 
   60  template<
class JDerived_t, 
class JBase_t>
 
   95    virtual std::istream& 
read(std::istream& in)
 override  
   97      JDerived_t* p = this->
load(in);
 
 
  115    virtual std::ostream& 
write(std::ostream& out)
 const override  
 
 
  127  template<
class JBase_t>
 
  150    template<
class JDerived_t>
 
  164    template<
class JDerived_t>
 
  175    template<
class JDerived_t>
 
  187    template<
class JDerived_t>
 
  199    template<
class JDerived_t>
 
  212    template<
class JDerived_t>
 
  227    template<
class JDerived_t>
 
  246        return element.
get()->read(in);
 
 
  262        return element.
get()->write(out);
 
 
 
  274  template<
class JKey_t, 
class JBase_t> 
 
  276    public std::map<JKey_t, JAutoElement<JBase_t> >
 
  280    typedef std::map <JKey_t, JAutoElement<JBase_t> >      
map_type;
 
  301    template<
class JDerived_t>
 
  313    template<
class JDerived_t>
 
  327    template<
class JDerived_t>
 
  357      return i != this->end() && i->second.is_valid() && i->second.get()->is_valid();
 
 
  382      if (i != this->end() && i->second.is_valid() && i->second.get()->is_valid())
 
  383        return *(i->second.get()->
get());
 
 
  412      if (in >> selector.
key) {
 
  416        if (i != selector.end() && i->second.
is_valid())
 
  419          in.setstate(std::ios_base::failbit);
 
 
  439        if (i != selector.end() && i->second.
is_valid()) {
 
  440          return out << selector.
key << 
' ' << *(i->second);
 
 
 
bool is_valid() const
Check validity of pointer.
 
Exception for null pointer operation.
 
const bool isDefined() const
Get status of parameter.
 
virtual JClass_t * get() const override
Get pointer.
 
The template JSharedPointer class can be used to share a pointer to an object.
 
virtual void reset() override
Reset pointer.
 
Interface for ASCII output using standard streams.
 
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
 
JArgument< T >::argument_type argument_type
 
Auxiliary class for a type holder.