All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
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, USD_API, USD_VALIDATOR_NAME_TOKENS)
 
 TF_DECLARE_PUBLIC_TOKENS (UsdValidatorKeywordTokens, USD_API, USD_VALIDATOR_KEYWORD_TOKENS)
 
 TF_DECLARE_PUBLIC_TOKENS (UsdValidationErrorNameTokens, USD_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, "usd:CompositionErrorTest")) \
((stageMetadataChecker, "usd:StageMetadataChecker"))

Tokens representing validator names.

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