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 USDGEOM_VALIDATOR_TOKENS_H
9#define USDGEOM_VALIDATOR_TOKENS_H
10
12
13#include "pxr/pxr.h"
14#include "pxr/usd/usdUtils/api.h"
16
17PXR_NAMESPACE_OPEN_SCOPE
18
19#define USD_UTILS_VALIDATOR_NAME_TOKENS \
20 ((packageEncapsulationValidator, "usdUtils:PackageEncapsulationValidator"))
21
22#define USD_UTILS_VALIDATOR_KEYWORD_TOKENS \
23 (UsdUtilsValidators) \
24 (UsdzValidators)
25
26#define USD_UTILS_VALIDATION_ERROR_NAME_TOKENS \
27 ((layerNotInPackage, "LayerNotInPackage")) \
28 ((assetNotInPackage, "AssetNotInPackage"))
29
34 TF_DECLARE_PUBLIC_TOKENS(UsdUtilsValidatorNameTokens, USDUTILS_API,
35 USD_UTILS_VALIDATOR_NAME_TOKENS);
36
42 TF_DECLARE_PUBLIC_TOKENS(UsdUtilsValidatorKeywordTokens, USDUTILS_API,
43 USD_UTILS_VALIDATOR_KEYWORD_TOKENS);
44
47TF_DECLARE_PUBLIC_TOKENS(UsdUtilsValidationErrorNameTokens, USDUTILS_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_UTILS_VALIDATION_ERROR_NAME_TOKENS
Tokens representing validation error identifier.