#include <request.h>
Definition at line 30 of file request.h.
Convenience constructor for a VdfRequest with a singular output.
Constructor from a vector. Automatically sorts and uniques the vector. NOTE : The sort does not distinguish between masked outputs that contain the same VdfOutput pointer.
Move constructor from a vector. Automatically sorts and uniques the vector. NOTE : The sort does not distinguish between masked outputs that contain the same VdfOutput pointer.
| VDF_API VdfRequest::~VdfRequest |
( |
| ) |
|
Marks the element at the index of the VdfMaskedOutput that iterator points to as added.
Marks all the elements in the request as being "added". The bit set should be empty.
Returns a vector iterator to the beginning of the internally held vector.
Returns a vector iterator to the end of the internally held vector.
Returns the network pointer of the first masked output. It assumes that all the masked outputs are from the same network. If the request is empty, returns NULL.
| VDF_API size_t VdfRequest::GetSize |
( |
| ) |
const |
Returns the size of the internally held vector.
| VDF_API bool VdfRequest::IsEmpty |
( |
| ) |
const |
Returns true if the size of the vector is 0.
Marks the element at the index of the VdfMaskedOutput that iterator points to as removed.
Marks all the elements in the request as being "removed". The bit set should be the same size as the length of the vector, but all the bits should be unset.
Returns false if the internally held vector is the same, either by pointing to the same vector or by containing the same contents.
Definition at line 234 of file request.h.
Returns true if the internally held vector is the same, either by pointing to the same vector or by containing the same contents.
Definition at line 224 of file request.h.
The documentation for this class was generated from the following file: