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 
23 #define USD_VALIDATOR_KEYWORD_TOKENS \
24  (UsdCoreValidators)
25 
26 #define USD_VALIDATION_ERROR_NAME_TOKENS \
27  ((compositionError, "CompositionError")) \
28  ((missingDefaultPrim, "MissingDefaultPrim"))
29 
30 /// \def USD_VALIDATOR_NAME_TOKENS
31 /// Tokens representing validator names. Note that for plugin provided
32 /// validators, the names must be prefixed by usdValidation:, which is the name
33 /// of the usdValidation plugin.
34 TF_DECLARE_PUBLIC_TOKENS(UsdValidatorNameTokens, USDVALIDATION_API,
36 
37 /// \def USD_VALIDATOR_KEYWORD_TOKENS
38 /// Tokens representing keywords associated with any validator in the usd
39 /// plugin. Clients can use this to inspect validators contained within a
40 /// specific keywords, or use these to be added as keywords to any new
41 /// validator.
42 TF_DECLARE_PUBLIC_TOKENS(UsdValidatorKeywordTokens, USDVALIDATION_API,
44 
45 /// \def USD_VALIDATION_ERROR_NAME_TOKENS
46 /// Tokens representing validation error identifier.
47 TF_DECLARE_PUBLIC_TOKENS(UsdValidationErrorNameTokens, USDVALIDATION_API,
49 
51 
52 #endif
#define USD_VALIDATION_ERROR_NAME_TOKENS
TF_DECLARE_PUBLIC_TOKENS(UsdGeomValidatorNameTokens, USDGEOMVALIDATORS_API, USD_GEOM_VALIDATOR_NAME_TOKENS)
#define USDVALIDATION_API
Definition: api.h:25
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
Definition: path.h:1425
#define USD_VALIDATOR_KEYWORD_TOKENS
#define USD_VALIDATOR_NAME_TOKENS
#define PXR_NAMESPACE_CLOSE_SCOPE
Definition: pxr.h:74