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    ((compositionErrorTest, "usd:CompositionErrorTest"))
 
#define USD_VALIDATOR_KEYWORD_TOKENS    (UsdCoreValidators)
 

Functions

 TF_DECLARE_PUBLIC_TOKENS (UsdValidatorNameTokens, USD_API, USD_VALIDATOR_NAME_TOKENS)
 Tokens representing validator names.
 
 TF_DECLARE_PUBLIC_TOKENS (UsdValidatorKeywordTokens, USD_API, USD_VALIDATOR_KEYWORD_TOKENS)
 Tokens representing keywords associated with any validator in the usd plugin.
 

Macro Definition Documentation

◆ USD_VALIDATOR_KEYWORD_TOKENS

#define USD_VALIDATOR_KEYWORD_TOKENS    (UsdCoreValidators)

Definition at line 22 of file validatorTokens.h.

◆ USD_VALIDATOR_NAME_TOKENS

#define USD_VALIDATOR_NAME_TOKENS    ((compositionErrorTest, "usd:CompositionErrorTest"))

Definition at line 19 of file validatorTokens.h.

Function Documentation

◆ TF_DECLARE_PUBLIC_TOKENS() [1/2]

TF_DECLARE_PUBLIC_TOKENS ( UsdValidatorKeywordTokens  ,
USD_API  ,
USD_VALIDATOR_KEYWORD_TOKENS   
)

Tokens representing keywords associated with any validator in the usd 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.

◆ TF_DECLARE_PUBLIC_TOKENS() [2/2]

TF_DECLARE_PUBLIC_TOKENS ( UsdValidatorNameTokens  ,
USD_API  ,
USD_VALIDATOR_NAME_TOKENS   
)

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.