HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
validatorTokens.h
Go to the documentation of this file.
1 //
2 // Copyright 2024 Pixar
3 //
4 // Licensed under the terms set forth in the LICENSE.txt file available at
5 // https://openusd.org/license.
6 //
7 
8 #ifndef PXR_USD_VALIDATION_USD_VALIDATION_VALIDATOR_TOKENS_H
9 #define PXR_USD_VALIDATION_USD_VALIDATION_VALIDATOR_TOKENS_H
10 
11 /// \file usdValidation/validatorTokens.h
12 
13 #include "pxr/pxr.h"
16 
18 
19 #define USD_VALIDATOR_NAME_TOKENS \
20  ((compositionErrorTest, "usdValidation:CompositionErrorTest")) \
21  ((stageMetadataChecker, "usdValidation:StageMetadataChecker")) \
22  ((attributeTypeMismatch, "usdValidation:AttributeTypeMismatch"))
23 
24 #define USD_VALIDATOR_KEYWORD_TOKENS \
25  (UsdCoreValidators)
26 
27 #define USD_VALIDATION_ERROR_NAME_TOKENS \
28  ((compositionError, "CompositionError")) \
29  ((missingDefaultPrim, "MissingDefaultPrim")) \
30  ((attributeTypeMismatch, "AttributeTypeMismatch"))
31 
32 /// \def USD_VALIDATOR_NAME_TOKENS
33 /// Tokens representing validator names. Note that for plugin provided
34 /// validators, the names must be prefixed by usdValidation:, which is the name
35 /// of the usdValidation plugin.
36 TF_DECLARE_PUBLIC_TOKENS(UsdValidatorNameTokens, USDVALIDATION_API,
38 
39 /// \def USD_VALIDATOR_KEYWORD_TOKENS
40 /// Tokens representing keywords associated with any validator in the usd
41 /// plugin. Clients can use this to inspect validators contained within a
42 /// specific keywords, or use these to be added as keywords to any new
43 /// validator.
44 TF_DECLARE_PUBLIC_TOKENS(UsdValidatorKeywordTokens, USDVALIDATION_API,
46 
47 /// \def USD_VALIDATION_ERROR_NAME_TOKENS
48 /// Tokens representing validation error identifier.
49 TF_DECLARE_PUBLIC_TOKENS(UsdValidationErrorNameTokens, USDVALIDATION_API,
51 
53 
54 #endif
#define USD_VALIDATION_ERROR_NAME_TOKENS
#define PXR_NAMESPACE_OPEN_SCOPE
Definition: pxr.h:73
TF_DECLARE_PUBLIC_TOKENS(UsdGeomValidatorNameTokens, USDGEOMVALIDATORS_API, USD_GEOM_VALIDATOR_NAME_TOKENS)
#define USDVALIDATION_API
Definition: api.h:25
#define USD_VALIDATOR_KEYWORD_TOKENS
#define USD_VALIDATOR_NAME_TOKENS
#define PXR_NAMESPACE_CLOSE_SCOPE
Definition: pxr.h:74