cesium-native  0.41.0
CesiumGltf::PropertyAttributePropertyViewStatus Class Reference

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

#include <CesiumGltf/PropertyAttributePropertyView.h>

Inheritance diagram for CesiumGltf::PropertyAttributePropertyViewStatus:
CesiumGltf::PropertyViewStatus

Static Public Attributes

static const int ErrorInvalidPropertyAttribute = 14
 This property view was initialized from an invalid PropertyAttribute.
 
static const int ErrorUnsupportedProperty = 15
 This property view is associated with a ClassProperty of an unsupported type.
 
static const int ErrorMissingAttribute = 16
 This property view was initialized with a primitive that does not contain the specified attribute.
 
static const int ErrorInvalidAccessor = 17
 This property view's attribute does not have a valid accessor index.
 
static const int ErrorAccessorTypeMismatch = 18
 This property view's type does not match the type of the accessor it uses.
 
static const int ErrorAccessorComponentTypeMismatch = 19
 This property view's component type does not match the type of the accessor it uses.
 
static const int ErrorAccessorNormalizationMismatch = 20
 This property view's normalization does not match the normalization of the accessor it uses.
 
static const int ErrorInvalidBufferView = 21
 This property view uses an accessor that does not have a valid buffer view index.
 
static const int ErrorInvalidBuffer = 22
 This property view uses a buffer view that does not have a valid buffer index.
 
static const PropertyViewStatusType ErrorAccessorOutOfBounds = 23
 This property view uses an accessor that points outside the bounds of its target buffer view.
 
static const PropertyViewStatusType ErrorBufferViewOutOfBounds = 24
 This property view uses a buffer view that points outside the bounds of its target buffer.
 
- 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 attribute property view.

The PropertyAttributePropertyView constructor always completes successfully. However it may not always reflect the actual content of the corresponding property attribute property. This enumeration provides the reason.

Definition at line 23 of file PropertyAttributePropertyView.h.


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