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_LUX_VALIDATOR_NAME_TOKENS
 Tokens representing validator names.
 
#define USD_LUX_VALIDATOR_KEYWORD_TOKENS   (UsdLuxValidators)
 Tokens representing keywords associated with any validator in the usdLux plugin.
 
#define USD_LUX_VALIDATION_ERROR_NAME_TOKENS
 Tokens representing validation error identifier.
 

Functions

 TF_DECLARE_PUBLIC_TOKENS (UsdLuxValidatorNameTokens, USDLUXVALIDATORS_API, USD_LUX_VALIDATOR_NAME_TOKENS)
 
 TF_DECLARE_PUBLIC_TOKENS (UsdLuxValidatorKeywordTokens, USDLUXVALIDATORS_API, USD_LUX_VALIDATOR_KEYWORD_TOKENS)
 
 TF_DECLARE_PUBLIC_TOKENS (UsdLuxValidationErrorNameTokens, USDLUXVALIDATORS_API, USD_LUX_VALIDATION_ERROR_NAME_TOKENS)
 

Macro Definition Documentation

◆ USD_LUX_VALIDATION_ERROR_NAME_TOKENS

#define USD_LUX_VALIDATION_ERROR_NAME_TOKENS
Value:
((lightUnderConnectable, "LightUnderConnectable")) \
((lightFilterUnderLightFilter, "LightFilterUnderLightFilter")) \
((connectableInNonContainer, "ConnectableInNonContainer")) \
((invalidConnectableHierarchy, "InvalidConnectableHierarchy"))

Tokens representing validation error identifier.

Definition at line 25 of file validatorTokens.h.

◆ USD_LUX_VALIDATOR_KEYWORD_TOKENS

#define USD_LUX_VALIDATOR_KEYWORD_TOKENS   (UsdLuxValidators)

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

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

Definition at line 23 of file validatorTokens.h.

◆ USD_LUX_VALIDATOR_NAME_TOKENS

#define USD_LUX_VALIDATOR_NAME_TOKENS
Value:
((encapsulationValidator, \
"usdLuxValidators:EncapsulationRulesValidator"))

Tokens representing validator names.

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

Definition at line 19 of file validatorTokens.h.