Bifrost SDK
Bifrost SDK documentation
Bifrost::Geometry::StrandValidator Class Reference

This class validates strand objects have the correct structure and valid indexing. More...

#include <Validator.h>

Inheritance diagram for Bifrost::Geometry::StrandValidator:
Bifrost::Geometry::GeoValidator

Public Member Functions

Status validate (const Bifrost::Object &object) override
 Validates the given object is a strand geometry. More...
 
- Public Member Functions inherited from Bifrost::Geometry::GeoValidator
 GeoValidator ()
 
virtual ~GeoValidator ()
 
virtual Status validate (const Bifrost::Object &object)
 Validates the given object. More...
 

Additional Inherited Members

- Public Types inherited from Bifrost::Geometry::GeoValidator
enum class  ErrorCode {
  kNoError = 0 , kInvalidObject , kInvalidProperty , kInvalidSet ,
  kInvalidCount , kInvalidIndex , kMissingTarget , kInvalidTarget
}
 

Detailed Description

This class validates strand objects have the correct structure and valid indexing.

Definition at line 105 of file Validator.h.

Member Function Documentation

◆ validate()

Status Bifrost::Geometry::StrandValidator::validate ( const Bifrost::Object object)
overridevirtual

Validates the given object is a strand geometry.

Parameters
[in]objectThe object to validate
Returns
A status object that indicates the validity of the strand.

Reimplemented from Bifrost::Geometry::GeoValidator.