| 
    Jpp
    17.3.0-rc.1
    
   the software that should make you happy 
   | 
 
Object iteration from database. More...
#include <JDatabaseObjectIterator.hh>
  
 Public Types | |
| typedef JObjectIterator< T > ::pointer_type  | pointer_type | 
Public Member Functions | |
| JDatabaseObjectIterator (const JSelector &selection) | |
| Constructor.  More... | |
| JDatabaseObjectIterator (const std::string &query, const JSelector &selection) | |
| Constructor.  More... | |
| ~JDatabaseObjectIterator () | |
| Destructor.  More... | |
| virtual bool | setObject (T &object) override | 
| Set object.  More... | |
| virtual bool | hasNext () override | 
| Check availability of next element.  More... | |
| virtual const pointer_type & | next () override | 
| Get next element.  More... | |
| virtual skip_type | skip (const skip_type ns) | 
| Skip items.  More... | |
Protected Attributes | |
| T | object | 
| object  More... | |
| bool | has_next | 
| status  More... | |
Private Attributes | |
| ResultSet & | rs | 
Object iteration from database.
This class implements the JLANG::JObjectIterator interface.
Definition at line 52 of file JDatabaseObjectIterator.hh.
      
  | 
  inherited | 
Definition at line 39 of file JAbstractObjectIterator.hh.
      
  | 
  inline | 
Constructor.
| selection | selection | 
Definition at line 61 of file JDatabaseObjectIterator.hh.
      
  | 
  inline | 
Constructor.
This constructor is used to select a table by name.
| query | query / table name | 
| selection | selection | 
Definition at line 76 of file JDatabaseObjectIterator.hh.
      
  | 
  inline | 
      
  | 
  inlineoverridevirtual | 
Set object.
| object | reference to object to be set | 
Implements JLANG::JAbstractObjectIterator< T >.
Definition at line 98 of file JDatabaseObjectIterator.hh.
      
  | 
  inlineoverridevirtualinherited | 
Check availability of next element.
Implements JLANG::JObjectIterator< T >.
Definition at line 56 of file JAbstractObjectIterator.hh.
      
  | 
  inlineoverridevirtualinherited | 
Get next element.
Implements JLANG::JObjectIterator< T >.
Definition at line 71 of file JAbstractObjectIterator.hh.
      
  | 
  inlinevirtualinherited | 
Skip items.
| ns | number of items to skip | 
Reimplemented in JLANG::JPipe< T >, JLANG::JPipe< JTail_t >, JLANG::JPipe< JHead_t >, JLANG::JSTDObjectIterator< T >, JLANG::JAbstractObjectReader< T >, JLANG::JAbstractObjectReader< JNullType >, JLANG::JAbstractObjectReader< const T >, JLANG::JAbstractObjectReader< JTail_t >, JLANG::JAbstractObjectReader< JHead_t >, JLANG::JAbstractObjectReader< KM3NETDAQ::KM3NETDAQ::JDAQEvent >, and JLANG::JAbstractObjectReader< JDAQSummaryslice >.
Definition at line 90 of file JObjectIterator.hh.
      
  | 
  private | 
Definition at line 104 of file JDatabaseObjectIterator.hh.
      
  | 
  protectedinherited | 
object
Definition at line 34 of file JAbstractObjectIterator.hh.
      
  | 
  protectedinherited | 
status
Definition at line 35 of file JAbstractObjectIterator.hh.
 1.8.5