Loading...
Searching...
No Matches
validatorTokens.h
Go to the documentation of this file.
1//
2// Copyright 2026 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_LUX_VALIDATOR_TOKENS_H
9#define PXR_USD_VALIDATION_USD_LUX_VALIDATOR_TOKENS_H
10
12
13#include "pxr/pxr.h"
15#include "pxr/usdValidation/usdLuxValidators/api.h"
16
17PXR_NAMESPACE_OPEN_SCOPE
18
19#define USD_LUX_VALIDATOR_NAME_TOKENS \
20 ((encapsulationValidator, \
21 "usdLuxValidators:EncapsulationRulesValidator"))
22
23#define USD_LUX_VALIDATOR_KEYWORD_TOKENS (UsdLuxValidators)
24
25#define USD_LUX_VALIDATION_ERROR_NAME_TOKENS \
26 ((lightUnderConnectable, "LightUnderConnectable")) \
27 ((lightFilterUnderLightFilter, "LightFilterUnderLightFilter")) \
28 ((connectableInNonContainer, "ConnectableInNonContainer")) \
29 ((invalidConnectableHierarchy, "InvalidConnectableHierarchy"))
30
35TF_DECLARE_PUBLIC_TOKENS(UsdLuxValidatorNameTokens, USDLUXVALIDATORS_API,
37
43TF_DECLARE_PUBLIC_TOKENS(UsdLuxValidatorKeywordTokens, USDLUXVALIDATORS_API,
45
48TF_DECLARE_PUBLIC_TOKENS(UsdLuxValidationErrorNameTokens,
49 USDLUXVALIDATORS_API,
51
52PXR_NAMESPACE_CLOSE_SCOPE
53
54#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.
#define USD_LUX_VALIDATOR_KEYWORD_TOKENS
Tokens representing keywords associated with any validator in the usdLux plugin.
#define USD_LUX_VALIDATOR_NAME_TOKENS
Tokens representing validator names.
#define USD_LUX_VALIDATION_ERROR_NAME_TOKENS
Tokens representing validation error identifier.