Bit-compacted representation of all three version numbers. More...
#include <nanovdb/NanoVDB.h>
| Public Member Functions | |
| __hostdev__ | Version () | 
| Default constructor. | |
| __hostdev__ | Version (uint32_t data) | 
| Constructor from a raw uint32_t data representation. | |
| __hostdev__ | Version (uint32_t major, uint32_t minor, uint32_t patch) | 
| Constructor from major.minor.patch version numbers. | |
| __hostdev__ bool | operator== (const Version &rhs) const | 
| __hostdev__ bool | operator< (const Version &rhs) const | 
| __hostdev__ bool | operator<= (const Version &rhs) const | 
| __hostdev__ bool | operator> (const Version &rhs) const | 
| __hostdev__ bool | operator>= (const Version &rhs) const | 
| __hostdev__ uint32_t | id () const | 
| __hostdev__ uint32_t | getMajor () const | 
| __hostdev__ uint32_t | getMinor () const | 
| __hostdev__ uint32_t | getPatch () const | 
| __hostdev__ bool | isCompatible () const | 
| __hostdev__ int | age () const | 
| Returns the difference between major version of this instance and NANOVDB_MAJOR_VERSION_NUMBER. | |
| Static Public Attributes | |
| static constexpr uint32_t | End = 0 | 
| static constexpr uint32_t | StrLen = 8 | 
Bit-compacted representation of all three version numbers.
major is the top 11 bits, minor is the 11 middle bits and patch is the lower 10 bits
| 
 | inline | 
Default constructor.
| 
 | inline | 
Constructor from a raw uint32_t data representation.
| 
 | inline | 
Constructor from major.minor.patch version numbers.
| 
 | inline | 
Returns the difference between major version of this instance and NANOVDB_MAJOR_VERSION_NUMBER.
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| 
 | staticconstexpr | 
| 
 | static |