Data array policy that returns a single, constant user specified value for every global cell. More...
#include <CompressedPropertyAccess.hpp>
Public Types | |
typedef T | value_type |
Publicly accessible data array element type. | |
typedef std::size_t | size_type |
Index type for accessing data array. | |
Public Member Functions | |
Constant (const T c) | |
Constructor. More... | |
value_type | operator[] (const size_type i) const |
Read-only data array access. More... | |
Data array policy that returns a single, constant user specified value for every global cell.
Provides read-only access to the underlying data.
T | Array element type. |
|
inline |
Constructor.
[in] | c | Constant property value used for all global cells. |
|
inline |
Read-only data array access.
[in] | i | Array index. Assumed to identify a global (uncompressed) cell. Unused. |