|
Bifrost SDK
Bifrost SDK documentation
|
This is the base class for validating geometry. More...
#include <Validator.h>
Classes | |
| class | Status |
| This class contains an error code and an informative text description of an error. More... | |
Public Types | |
| enum class | ErrorCode { kNoError = 0 , kInvalidObject , kInvalidProperty , kInvalidSet , kInvalidCount , kInvalidIndex , kMissingTarget , kInvalidTarget } |
Public Member Functions | |
| GeoValidator () | |
| virtual | ~GeoValidator () |
| virtual Status | validate (const Bifrost::Object &object) |
| Validates the given object. More... | |
This is the base class for validating geometry.
Definition at line 30 of file Validator.h.
|
strong |
Error codes that describe errors that may be found when validating objects.
| Enumerator | |
|---|---|
| kNoError | |
| kInvalidObject | |
| kInvalidProperty | |
| kInvalidSet | |
| kInvalidCount | |
| kInvalidIndex | |
| kMissingTarget | |
| kInvalidTarget | |
Definition at line 37 of file Validator.h.
| Bifrost::Geometry::GeoValidator::GeoValidator | ( | ) |
|
virtual |
|
virtual |
Validates the given object.
| [in] | object | The object to validate. |
Reimplemented in Bifrost::Geometry::PointCloudValidator, Bifrost::Geometry::InstancesValidator, Bifrost::Geometry::StrandValidator, Bifrost::Geometry::MeshValidator, and Bifrost::Geometry::VolumeValidator.