All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules 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 USD_VALIDATOR_TOKENS_H
9#define USD_VALIDATOR_TOKENS_H
10
12
13#include "pxr/pxr.h"
14#include "pxr/usd/usd/api.h"
16
17PXR_NAMESPACE_OPEN_SCOPE
18
19#define USD_VALIDATOR_NAME_TOKENS \
20 ((compositionErrorTest, "usd:CompositionErrorTest")) \
21 ((stageMetadataChecker, "usd: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
34TF_DECLARE_PUBLIC_TOKENS(UsdValidatorNameTokens, USD_API,
36
42TF_DECLARE_PUBLIC_TOKENS(UsdValidatorKeywordTokens, USD_API,
44
47TF_DECLARE_PUBLIC_TOKENS(UsdValidationErrorNameTokens, USD_API,
49
50PXR_NAMESPACE_CLOSE_SCOPE
51
52#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_VALIDATOR_KEYWORD_TOKENS
Tokens representing keywords associated with any validator in the usd plugin.
#define USD_VALIDATION_ERROR_NAME_TOKENS
Tokens representing validation error identifier.
#define USD_VALIDATOR_NAME_TOKENS
Tokens representing validator names.