Loading...
Searching...
No Matches
validatorTokens.h File Reference
+ Include dependency graph for validatorTokens.h:

Go to the source code of this file.

Macros

#define USD_VALIDATOR_NAME_TOKENS
 Tokens representing validator names.
 
#define USD_VALIDATOR_KEYWORD_TOKENS    (UsdCoreValidators)
 Tokens representing keywords associated with any validator in the usd plugin.
 
#define USD_VALIDATION_ERROR_NAME_TOKENS
 Tokens representing validation error identifier.
 

Functions

 TF_DECLARE_PUBLIC_TOKENS (UsdValidatorNameTokens, USDVALIDATION_API, USD_VALIDATOR_NAME_TOKENS)
 
 TF_DECLARE_PUBLIC_TOKENS (UsdValidatorKeywordTokens, USDVALIDATION_API, USD_VALIDATOR_KEYWORD_TOKENS)
 
 TF_DECLARE_PUBLIC_TOKENS (UsdValidationErrorNameTokens, USDVALIDATION_API, USD_VALIDATION_ERROR_NAME_TOKENS)
 

Macro Definition Documentation

◆ USD_VALIDATION_ERROR_NAME_TOKENS

#define USD_VALIDATION_ERROR_NAME_TOKENS
Value:
((compositionError, "CompositionError")) \
((missingDefaultPrim, "MissingDefaultPrim"))

Tokens representing validation error identifier.

◆ USD_VALIDATOR_KEYWORD_TOKENS

#define USD_VALIDATOR_KEYWORD_TOKENS    (UsdCoreValidators)

Tokens representing keywords associated with any validator in the usd plugin.

Clients can use this to inspect validators contained within a specific keywords, or use these to be added as keywords to any new validator.

◆ USD_VALIDATOR_NAME_TOKENS

#define USD_VALIDATOR_NAME_TOKENS
Value:
((compositionErrorTest, "usdValidation:CompositionErrorTest")) \
((stageMetadataChecker, "usdValidation:StageMetadataChecker"))

Tokens representing validator names.

Note that for plugin provided validators, the names must be prefixed by usdValidation:, which is the name of the usdValidation plugin.