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_GEOM_VALIDATORS_TOKENS_H
9 #define PXR_USD_VALIDATION_USD_GEOM_VALIDATORS_TOKENS_H
10 
11 /// \file
12 
13 #include "pxr/pxr.h"
16 
18 
19 #define USD_GEOM_VALIDATOR_NAME_TOKENS \
20  ((stageMetadataChecker, "usdGeomValidators:StageMetadataChecker")) \
21  ((subsetFamilies, "usdGeomValidators:SubsetFamilies")) \
22  ((subsetParentIsImageable, "usdGeomValidators:SubsetParentIsImageable"))
23 
24 #define USD_GEOM_VALIDATOR_KEYWORD_TOKENS \
25  (UsdGeomSubset) \
26  (UsdGeomValidators)
27 
28 #define USD_GEOM_VALIDATION_ERROR_NAME_TOKENS \
29  ((missingMetersPerUnitMetadata, "MissingMetersPerUnitMetadata")) \
30  ((missingUpAxisMetadata, "MissingUpAxisMetadata")) \
31  ((invalidSubsetFamily, "InvalidSubsetFamily")) \
32  ((notImageableSubsetParent, "NotImageableSubsetParent"))
33 
34 /// \def USD_GEOM_VALIDATOR_NAME_TOKENS
35 /// Tokens representing validator names. Note that for plugin provided
36 /// validators, the names must be prefixed by usdGeomValidators:, which is the
37 /// name of the usdGeomValidators plugin.
38 TF_DECLARE_PUBLIC_TOKENS(UsdGeomValidatorNameTokens, USDGEOMVALIDATORS_API,
40 
41 /// \def USD_GEOM_VALIDATOR_KEYWORD_TOKENS
42 /// Tokens representing keywords associated with any validator in the usdGeom
43 /// plugin. Clients can use this to inspect validators contained within a
44 /// specific keywords, or use these to be added as keywords to any new
45 /// validator.
46 TF_DECLARE_PUBLIC_TOKENS(UsdGeomValidatorKeywordTokens, USDGEOMVALIDATORS_API,
48 
49 /// \def USD_GEOM_VALIDATION_ERROR_NAME_TOKENS
50 /// Tokens representing validation error identifier.
51 TF_DECLARE_PUBLIC_TOKENS(UsdGeomValidationErrorNameTokens,
54 
56 
57 #endif
#define USD_GEOM_VALIDATION_ERROR_NAME_TOKENS
#define USD_GEOM_VALIDATOR_KEYWORD_TOKENS
TF_DECLARE_PUBLIC_TOKENS(UsdGeomValidatorNameTokens, USDGEOMVALIDATORS_API, USD_GEOM_VALIDATOR_NAME_TOKENS)
#define USDGEOMVALIDATORS_API
Definition: api.h:25
#define USD_GEOM_VALIDATOR_NAME_TOKENS
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
Definition: path.h:1425
#define PXR_NAMESPACE_CLOSE_SCOPE
Definition: pxr.h:74