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_UTILS_VALIDATOR_NAME_TOKENS
 
#define USD_UTILS_VALIDATOR_KEYWORD_TOKENS
 
#define USD_UTILS_VALIDATION_ERROR_NAME_TOKENS
 Tokens representing validation error identifier.
 

Functions

 TF_DECLARE_PUBLIC_TOKENS (UsdUtilsValidatorNameTokens, USDUTILSVALIDATORS_API, USD_UTILS_VALIDATOR_NAME_TOKENS)
 Tokens representing validator names.
 
 TF_DECLARE_PUBLIC_TOKENS (UsdUtilsValidatorKeywordTokens, USDUTILSVALIDATORS_API, USD_UTILS_VALIDATOR_KEYWORD_TOKENS)
 Tokens representing keywords associated with any validator in the usdGeom plugin.
 
 TF_DECLARE_PUBLIC_TOKENS (UsdUtilsValidationErrorNameTokens, USDUTILSVALIDATORS_API, USD_UTILS_VALIDATION_ERROR_NAME_TOKENS)
 

Macro Definition Documentation

◆ USD_UTILS_VALIDATION_ERROR_NAME_TOKENS

#define USD_UTILS_VALIDATION_ERROR_NAME_TOKENS
Value:
((layerNotInPackage, "LayerNotInPackage")) \
((assetNotInPackage, "AssetNotInPackage")) \
((invalidLayerInPackage, "InvalidLayerInPackage")) \
((unsupportedFileExtensionInPackage, \
"UnsupportedFileExtensionInPackage")) \
((unresolvableDependency, "UnresolvableDependency")) \
((compressionDetected, "CompressionDetected")) \
((byteMisalignment, "ByteMisalignment"))

Tokens representing validation error identifier.

Definition at line 33 of file validatorTokens.h.

◆ USD_UTILS_VALIDATOR_KEYWORD_TOKENS

#define USD_UTILS_VALIDATOR_KEYWORD_TOKENS
Value:
(UsdUtilsValidators) \
(UsdzValidators)

Definition at line 29 of file validatorTokens.h.

◆ USD_UTILS_VALIDATOR_NAME_TOKENS

#define USD_UTILS_VALIDATOR_NAME_TOKENS
Value:
((packageEncapsulationValidator, \
"usdUtilsValidators:PackageEncapsulationValidator")) \
((fileExtensionValidator, \
"usdUtilsValidators:FileExtensionValidator")) \
((missingReferenceValidator, \
"usdUtilsValidators:MissingReferenceValidator")) \
((rootPackageValidator, "usdUtilsValidators:RootPackageValidator")) \
((usdzPackageValidator, "usdUtilsValidators:UsdzPackageValidator"))

Definition at line 19 of file validatorTokens.h.

Function Documentation

◆ TF_DECLARE_PUBLIC_TOKENS() [1/2]

TF_DECLARE_PUBLIC_TOKENS ( UsdUtilsValidatorKeywordTokens ,
USDUTILSVALIDATORS_API ,
USD_UTILS_VALIDATOR_KEYWORD_TOKENS  )

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

◆ TF_DECLARE_PUBLIC_TOKENS() [2/2]

TF_DECLARE_PUBLIC_TOKENS ( UsdUtilsValidatorNameTokens ,
USDUTILSVALIDATORS_API ,
USD_UTILS_VALIDATOR_NAME_TOKENS  )

Tokens representing validator names.

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