Batch Class Reference
Holds the result of a query for messages. More...
#include <Batch.hh>
Public Types | |
| using | iterator = MsgIter | 
| typedef for prettiness   | |
Public Member Functions | |
| Batch () | |
| Default constructor.   | |
| Batch (Batch &&_old) | |
| move constructor   | |
| Batch (const Batch &other)=delete | |
| No copy constructor.   | |
| ~Batch () | |
| destructor   | |
| iterator | begin () | 
| Iterator to first message in batch.   | |
| iterator | end () | 
| Iterator to one past the last message in a batch.   | |
| Batch & | operator= (Batch &&_other) | 
| Move assignment operator.   | |
| Batch & | operator= (const Batch &other)=delete | 
| No copy-assignment operator.   | |
Detailed Description
Holds the result of a query for messages.
Member Typedef Documentation
◆ iterator
Constructor & Destructor Documentation
◆ Batch() [1/3]
| Batch | ( | ) | 
Default constructor.
◆ Batch() [2/3]
◆ Batch() [3/3]
◆ ~Batch()
| ~Batch | ( | ) | 
destructor
Member Function Documentation
◆ begin()
| iterator begin | ( | ) | 
Iterator to first message in batch.
- Remarks
 - the lowercase function name is required to support range-based for loops
 
- Returns
 - an iterator to the start of the messages
 
◆ end()
| iterator end | ( | ) | 
Iterator to one past the last message in a batch.
- Remarks
 - the lowercase function name is required to support range-based for loops
 
- Returns
 - an iterator that is not equal to any iterator that points to a valid message
 
◆ operator=() [1/2]
◆ operator=() [2/2]
The documentation for this class was generated from the following file: