|
MyraMath
|
Key type used to identify the Job's of a JobGraph. More...
#include <JobID.h>
Public Member Functions | |
| JobID (uint64_t j) | |
| Constructor, copies some integer primitive. | |
| JobID (const Pack< int, 1 > &size, const Pack< int, 1 > &index) | |
| Constructors, require size[] and index[] sequences. | |
| JobID (const Pack< int, 2 > &size, const Pack< int, 2 > &index) | |
| JobID (const Pack< int, 3 > &size, const Pack< int, 3 > &index) | |
| JobID (const Pack< int, 4 > &size, const Pack< int, 4 > &index) | |
| JobID (const Pack< int, 5 > &size, const Pack< int, 5 > &index) | |
| JobID (const Pack< int, 6 > &size, const Pack< int, 6 > &index) | |
| uint64_t | unpack () const |
| Given a size[] sequence, unpacks the i'th component. | |
| int | unpack (const Pack< int, 1 > &size, int index) const |
| int | unpack (const Pack< int, 2 > &size, int index) const |
| int | unpack (const Pack< int, 3 > &size, int index) const |
| int | unpack (const Pack< int, 4 > &size, int index) const |
| int | unpack (const Pack< int, 5 > &size, int index) const |
| int | unpack (const Pack< int, 6 > &size, int index) const |
| void | operator+= (uint64_t offset) |
| Adjusts this JobID by some offset, used within compositional JobGraph's. | |
| void | operator-= (uint64_t offset) |
Friends | |
| struct | std::hash< JobID > |
| bool | operator< (JobID a, JobID b) |
| Comparison operators, so JobID's can be held in std::map's and std::set's. | |
| bool | operator> (JobID a, JobID b) |
| bool | operator<= (JobID a, JobID b) |
| bool | operator>= (JobID a, JobID b) |
| bool | operator== (JobID a, JobID b) |
| bool | operator!= (JobID a, JobID b) |
| bool | operator< (JobID a, uint64_t b) |
| Comparison operator, so a JobID can be compared against JobGraph.size() | |
| bool | operator> (JobID a, uint64_t b) |
| bool | operator<= (JobID a, uint64_t b) |
| bool | operator>= (JobID a, uint64_t b) |
| bool | operator== (JobID a, uint64_t b) |
| bool | operator!= (JobID a, uint64_t b) |
| std::ostream & | operator<< (std::ostream &out, JobID j) |
| Pretty-printing JobID's. | |
1.8.13