HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HUSD_SceneDoctor Class Reference

#include <HUSD_SceneDoctor.h>

Classes

struct  ValidationError
 
struct  ValidationFlags
 

Public Types

enum  ValidationErrors {
  UNDEFINED = -1, PARENT_PRIM_IS_NONE_KIND = 0, COMPONENT_HAS_MODEL_CHILD = 1, SUBCOMPONENT_HAS_MODEL_CHILD = 2,
  GPRIM_TYPE_HAS_CHILD = 3, PRIMVAR_ARRAY_LENGTH_MISMATCH = 4, INTERPOLATION_TYPE_MISMATCH = 5, PRIM_ARRAY_LENGTH_MISMATCH = 6,
  INVALID_PRIMVAR_INDICES = 7, MISSING_VALUECLIP_MANIFEST = 8, PYTHON_EXCEPTION = 9
}
 

Public Member Functions

 HUSD_SceneDoctor (HUSD_AutoAnyLock &lock, ValidationFlags &flags)
 
 ~HUSD_SceneDoctor ()
 
void validate (UT_Array< ValidationError > &errors, const HUSD_FindPrims *prims)
 
bool validatePython (const HUSD_FindPrims *validationPrims, const HUSD_FindPrims *collectionPrim, const UT_String &collectionName, PY_CompiledCode &pyExpr)
 

Detailed Description

Definition at line 18 of file HUSD_SceneDoctor.h.

Member Enumeration Documentation

Enumerator
UNDEFINED 
PARENT_PRIM_IS_NONE_KIND 
COMPONENT_HAS_MODEL_CHILD 
SUBCOMPONENT_HAS_MODEL_CHILD 
GPRIM_TYPE_HAS_CHILD 
PRIMVAR_ARRAY_LENGTH_MISMATCH 
INTERPOLATION_TYPE_MISMATCH 
PRIM_ARRAY_LENGTH_MISMATCH 
INVALID_PRIMVAR_INDICES 
MISSING_VALUECLIP_MANIFEST 
PYTHON_EXCEPTION 

Definition at line 21 of file HUSD_SceneDoctor.h.

Constructor & Destructor Documentation

HUSD_SceneDoctor::HUSD_SceneDoctor ( HUSD_AutoAnyLock lock,
ValidationFlags flags 
)
HUSD_SceneDoctor::~HUSD_SceneDoctor ( )

Member Function Documentation

void HUSD_SceneDoctor::validate ( UT_Array< ValidationError > &  errors,
const HUSD_FindPrims prims 
)
bool HUSD_SceneDoctor::validatePython ( const HUSD_FindPrims validationPrims,
const HUSD_FindPrims collectionPrim,
const UT_String collectionName,
PY_CompiledCode pyExpr 
)

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