cesium-native 0.44.2
Loading...
Searching...
No Matches
CesiumGltf::PropertyTablePropertyViewStatus Class Reference

Indicates the status of a property table property view. More...

#include <CesiumGltf/PropertyTablePropertyView.h>

Inheritance diagram for CesiumGltf::PropertyTablePropertyViewStatus:
CesiumGltf::PropertyViewStatus

Static Public Attributes

static const PropertyViewStatusType ErrorInvalidPropertyTable = 14
 This property view was initialized from an invalid PropertyTable.
 
static const PropertyViewStatusType ErrorInvalidValueBufferView = 15
 This property view does not have a valid value buffer view index.
 
static const PropertyViewStatusType ErrorInvalidArrayOffsetBufferView = 16
 This array property view does not have a valid array offset buffer view index.
 
static const PropertyViewStatusType ErrorInvalidStringOffsetBufferView = 17
 This string property view does not have a valid string offset buffer view index.
 
static const PropertyViewStatusType ErrorInvalidValueBuffer = 18
 This property view has a valid value buffer view, but the buffer view specifies an invalid buffer index.
 
static const PropertyViewStatusType ErrorInvalidArrayOffsetBuffer = 19
 This property view has a valid array string buffer view, but the buffer view specifies an invalid buffer index.
 
static const PropertyViewStatusType ErrorInvalidStringOffsetBuffer = 20
 This property view has a valid string offset buffer view, but the buffer view specifies an invalid buffer index.
 
static const PropertyViewStatusType ErrorBufferViewOutOfBounds = 21
 This property view has a buffer view that points outside the bounds of its target buffer.
 
static const PropertyViewStatusType ErrorBufferViewSizeNotDivisibleByTypeSize = 22
 This property view has an invalid buffer view; its length is not a multiple of the size of its type / offset type.
 
static const PropertyViewStatusType ErrorBufferViewSizeDoesNotMatchPropertyTableCount = 23
 This property view has an invalid buffer view; its length does not match the size of the property table.
 
static const PropertyViewStatusType ErrorArrayCountAndOffsetBufferCoexist
 This array property view has both a fixed length and an offset buffer view defined.
 
static const PropertyViewStatusType ErrorArrayCountAndOffsetBufferDontExist
 This array property view has neither a fixed length nor an offset buffer view defined.
 
static const PropertyViewStatusType ErrorInvalidArrayOffsetType = 26
 This property view has an unknown array offset type.
 
static const PropertyViewStatusType ErrorInvalidStringOffsetType = 27
 This property view has an unknown string offset type.
 
static const PropertyViewStatusType ErrorArrayOffsetsNotSorted = 28
 This property view's array offset values are not sorted in ascending order.
 
static const PropertyViewStatusType ErrorStringOffsetsNotSorted = 29
 This property view's string offset values are not sorted in ascending order.
 
static const PropertyViewStatusType ErrorArrayOffsetOutOfBounds = 30
 This property view has an array offset that is out of bounds.
 
static const PropertyViewStatusType ErrorStringOffsetOutOfBounds = 31
 This property view has a string offset that is out of bounds.
 
- Static Public Attributes inherited from CesiumGltf::PropertyViewStatus
static const PropertyViewStatusType Valid = 0
 This property view is valid and ready to use.
 
static const PropertyViewStatusType EmptyPropertyWithDefault = 1
 This property view does not contain any data, but specifies a default value. This happens when a class property is defined with a default value and omitted from an instance of the class's collective properties. In this case, it is not possible to retrieve the raw data from a property, but its default value will be accessible.
 
static const PropertyViewStatusType ErrorNonexistentProperty = 2
 This property view is trying to view a property that does not exist.
 
static const PropertyViewStatusType ErrorTypeMismatch = 3
 This property view's type does not match what is specified in ClassProperty::type.
 
static const PropertyViewStatusType ErrorComponentTypeMismatch = 4
 This property view's component type does not match what is specified in ClassProperty::componentType.
 
static const PropertyViewStatusType ErrorArrayTypeMismatch = 5
 This property view differs from what is specified in ClassProperty::array.
 
static const PropertyViewStatusType ErrorInvalidNormalization = 6
 This property says it is normalized, but it does not have an integer component type.
 
static const PropertyViewStatusType ErrorNormalizationMismatch = 7
 This property view's normalization differs from what is specified in ClassProperty::normalized.
 
static const PropertyViewStatusType ErrorInvalidOffset = 8
 The property provided an invalid offset value.
 
static const PropertyViewStatusType ErrorInvalidScale = 9
 The property provided an invalid scale value.
 
static const PropertyViewStatusType ErrorInvalidMax = 10
 The property provided an invalid maximum value.
 
static const PropertyViewStatusType ErrorInvalidMin = 11
 The property provided an invalid minimum value.
 
static const PropertyViewStatusType ErrorInvalidNoDataValue = 12
 The property provided an invalid "no data" value.
 
static const PropertyViewStatusType ErrorInvalidDefaultValue = 13
 The property provided an invalid default value.
 

Detailed Description

Indicates the status of a property table property view.

The PropertyTablePropertyView constructor always completes successfully. However, it may not always reflect the actual content of the PropertyTableProperty, but instead indicate that its size is 0. This enumeration provides the reason.

Definition at line 24 of file PropertyTablePropertyView.h.

Member Data Documentation

◆ ErrorArrayCountAndOffsetBufferCoexist

const PropertyViewStatusType CesiumGltf::PropertyTablePropertyViewStatus::ErrorArrayCountAndOffsetBufferCoexist
static
Initial value:
=
24

This array property view has both a fixed length and an offset buffer view defined.

Definition at line 91 of file PropertyTablePropertyView.h.

◆ ErrorArrayCountAndOffsetBufferDontExist

const PropertyViewStatusType CesiumGltf::PropertyTablePropertyViewStatus::ErrorArrayCountAndOffsetBufferDontExist
static
Initial value:
=
25

This array property view has neither a fixed length nor an offset buffer view defined.

Definition at line 98 of file PropertyTablePropertyView.h.

◆ ErrorArrayOffsetOutOfBounds

const PropertyViewStatusType CesiumGltf::PropertyTablePropertyViewStatus::ErrorArrayOffsetOutOfBounds = 30
static

This property view has an array offset that is out of bounds.

Definition at line 126 of file PropertyTablePropertyView.h.

◆ ErrorArrayOffsetsNotSorted

const PropertyViewStatusType CesiumGltf::PropertyTablePropertyViewStatus::ErrorArrayOffsetsNotSorted = 28
static

This property view's array offset values are not sorted in ascending order.

Definition at line 115 of file PropertyTablePropertyView.h.

◆ ErrorBufferViewOutOfBounds

const PropertyViewStatusType CesiumGltf::PropertyTablePropertyViewStatus::ErrorBufferViewOutOfBounds = 21
static

This property view has a buffer view that points outside the bounds of its target buffer.

Definition at line 71 of file PropertyTablePropertyView.h.

◆ ErrorBufferViewSizeDoesNotMatchPropertyTableCount

const PropertyViewStatusType CesiumGltf::PropertyTablePropertyViewStatus::ErrorBufferViewSizeDoesNotMatchPropertyTableCount = 23
static

This property view has an invalid buffer view; its length does not match the size of the property table.

Definition at line 85 of file PropertyTablePropertyView.h.

◆ ErrorBufferViewSizeNotDivisibleByTypeSize

const PropertyViewStatusType CesiumGltf::PropertyTablePropertyViewStatus::ErrorBufferViewSizeNotDivisibleByTypeSize = 22
static

This property view has an invalid buffer view; its length is not a multiple of the size of its type / offset type.

Definition at line 78 of file PropertyTablePropertyView.h.

◆ ErrorInvalidArrayOffsetBuffer

const PropertyViewStatusType CesiumGltf::PropertyTablePropertyViewStatus::ErrorInvalidArrayOffsetBuffer = 19
static

This property view has a valid array string buffer view, but the buffer view specifies an invalid buffer index.

Definition at line 59 of file PropertyTablePropertyView.h.

◆ ErrorInvalidArrayOffsetBufferView

const PropertyViewStatusType CesiumGltf::PropertyTablePropertyViewStatus::ErrorInvalidArrayOffsetBufferView = 16
static

This array property view does not have a valid array offset buffer view index.

Definition at line 41 of file PropertyTablePropertyView.h.

◆ ErrorInvalidArrayOffsetType

const PropertyViewStatusType CesiumGltf::PropertyTablePropertyViewStatus::ErrorInvalidArrayOffsetType = 26
static

This property view has an unknown array offset type.

Definition at line 104 of file PropertyTablePropertyView.h.

◆ ErrorInvalidPropertyTable

const PropertyViewStatusType CesiumGltf::PropertyTablePropertyViewStatus::ErrorInvalidPropertyTable = 14
static

This property view was initialized from an invalid PropertyTable.

Definition at line 30 of file PropertyTablePropertyView.h.

◆ ErrorInvalidStringOffsetBuffer

const PropertyViewStatusType CesiumGltf::PropertyTablePropertyViewStatus::ErrorInvalidStringOffsetBuffer = 20
static

This property view has a valid string offset buffer view, but the buffer view specifies an invalid buffer index.

Definition at line 65 of file PropertyTablePropertyView.h.

◆ ErrorInvalidStringOffsetBufferView

const PropertyViewStatusType CesiumGltf::PropertyTablePropertyViewStatus::ErrorInvalidStringOffsetBufferView = 17
static

This string property view does not have a valid string offset buffer view index.

Definition at line 47 of file PropertyTablePropertyView.h.

◆ ErrorInvalidStringOffsetType

const PropertyViewStatusType CesiumGltf::PropertyTablePropertyViewStatus::ErrorInvalidStringOffsetType = 27
static

This property view has an unknown string offset type.

Definition at line 109 of file PropertyTablePropertyView.h.

◆ ErrorInvalidValueBuffer

const PropertyViewStatusType CesiumGltf::PropertyTablePropertyViewStatus::ErrorInvalidValueBuffer = 18
static

This property view has a valid value buffer view, but the buffer view specifies an invalid buffer index.

Definition at line 53 of file PropertyTablePropertyView.h.

◆ ErrorInvalidValueBufferView

const PropertyViewStatusType CesiumGltf::PropertyTablePropertyViewStatus::ErrorInvalidValueBufferView = 15
static

This property view does not have a valid value buffer view index.

Definition at line 35 of file PropertyTablePropertyView.h.

◆ ErrorStringOffsetOutOfBounds

const PropertyViewStatusType CesiumGltf::PropertyTablePropertyViewStatus::ErrorStringOffsetOutOfBounds = 31
static

This property view has a string offset that is out of bounds.

Definition at line 131 of file PropertyTablePropertyView.h.

◆ ErrorStringOffsetsNotSorted

const PropertyViewStatusType CesiumGltf::PropertyTablePropertyViewStatus::ErrorStringOffsetsNotSorted = 29
static

This property view's string offset values are not sorted in ascending order.

Definition at line 121 of file PropertyTablePropertyView.h.


The documentation for this class was generated from the following file: