Loading...
Searching...
No Matches
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
12
13#include "pxr/pxr.h"
15#include "pxr/usdValidation/usdGeomValidators/api.h"
16
17PXR_NAMESPACE_OPEN_SCOPE
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
38TF_DECLARE_PUBLIC_TOKENS(UsdGeomValidatorNameTokens, USDGEOMVALIDATORS_API,
40
46TF_DECLARE_PUBLIC_TOKENS(UsdGeomValidatorKeywordTokens, USDGEOMVALIDATORS_API,
48
51TF_DECLARE_PUBLIC_TOKENS(UsdGeomValidationErrorNameTokens,
52 USDGEOMVALIDATORS_API,
54
55PXR_NAMESPACE_CLOSE_SCOPE
56
57#endif
This file defines some macros that are useful for declaring and using static TfTokens.
#define TF_DECLARE_PUBLIC_TOKENS(...)
Macro to define public tokens.
Definition: staticTokens.h:81
#define USD_GEOM_VALIDATOR_NAME_TOKENS
Tokens representing validator names.
#define USD_GEOM_VALIDATOR_KEYWORD_TOKENS
Tokens representing keywords associated with any validator in the usdGeom plugin.
#define USD_GEOM_VALIDATION_ERROR_NAME_TOKENS
Tokens representing validation error identifier.