|
SCM Library
Spherical Cube Map rendering library
|
An scm_item is a reference to a specific page in a specific SCM file. More...
#include <scm-item.hpp>
Public Member Functions | |
| scm_item () | |
| Initialize an invalid SCM page reference. | |
| scm_item (int f, long long i) | |
| Initialize a valid SCM page reference. | |
| bool | is_valid () const |
| Return true if this is a valid SCM page reference. | |
| bool | operator< (const scm_item &that) const |
| Determine the order of two SCM page references. | |
Public Attributes | |
| int | f |
| File index. | |
| long long | i |
| Page index. | |
An scm_item is a reference to a specific page in a specific SCM file.
An scm_item is valid if both the file and page indices are non-negative. A partial ordering is defined that enables O(log n) searching of objects derived from scm_item.
1.8.6