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_MEDIA_VALIDATORS_VALIDATOR_TOKENS_H
9#define PXR_USD_VALIDATION_USD_MEDIA_VALIDATORS_VALIDATOR_TOKENS_H
10
12
13#include "pxr/pxr.h"
15#include "pxr/usdValidation/usdMediaValidators/api.h"
16
17PXR_NAMESPACE_OPEN_SCOPE
18
19#define USD_MEDIA_VALIDATOR_NAME_TOKENS \
20 ((shadowedOrDuplicateAuthorship, \
21 "usdMediaValidators:ShadowedOrDuplicateAuthorship")) \
22 ((authorshipInputsPaired, \
23 "usdMediaValidators:AuthorshipInputsPaired"))
24
25#define USD_MEDIA_VALIDATOR_KEYWORD_TOKENS (UsdMediaValidators)
26
27#define USD_MEDIA_VALIDATION_ERROR_NAME_TOKENS \
28 ((shadowedAuthorshipApplication, "ShadowedAuthorshipApplication")) \
29 ((duplicateAuthorshipApplication, "DuplicateAuthorshipApplication")) \
30 ((unpairedAuthorshipInputs, "UnpairedAuthorshipInputs"))
31
35TF_DECLARE_PUBLIC_TOKENS(UsdMediaValidatorNameTokens, USDMEDIAVALIDATORS_API,
37
41TF_DECLARE_PUBLIC_TOKENS(UsdMediaValidatorKeywordTokens,
42 USDMEDIAVALIDATORS_API,
44
47TF_DECLARE_PUBLIC_TOKENS(UsdMediaValidationErrorNameTokens,
48 USDMEDIAVALIDATORS_API,
50
51PXR_NAMESPACE_CLOSE_SCOPE
52
53#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_MEDIA_VALIDATOR_NAME_TOKENS
Tokens for validator names.
#define USD_MEDIA_VALIDATION_ERROR_NAME_TOKENS
Tokens for validation error identifiers.
#define USD_MEDIA_VALIDATOR_KEYWORD_TOKENS
Keyword tokens associated with validators in the usdMediaValidators plugin.