HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
tokens.h
Go to the documentation of this file.
1 //
2 // Copyright 2016 Pixar
3 //
4 // Licensed under the terms set forth in the LICENSE.txt file available at
5 // https://openusd.org/license.
6 //
7 #ifndef USDPROC_TOKENS_H
8 #define USDPROC_TOKENS_H
9 
10 /// \file usdProc/tokens.h
11 
12 // XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
13 //
14 // This is an automatically generated file (by usdGenSchema.py).
15 // Do not hand-edit!
16 //
17 // XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
18 
19 #include "pxr/pxr.h"
20 #include "pxr/usd/usdProc/api.h"
21 #include "pxr/base/tf/staticData.h"
22 #include "pxr/base/tf/token.h"
23 #include <vector>
24 
26 
27 
28 /// \class UsdProcTokensType
29 ///
30 /// \link UsdProcTokens \endlink provides static, efficient
31 /// \link TfToken TfTokens\endlink for use in all public USD API.
32 ///
33 /// These tokens are auto-generated from the module's schema, representing
34 /// property names, for when you need to fetch an attribute or relationship
35 /// directly by name, e.g. UsdPrim::GetAttribute(), in the most efficient
36 /// manner, and allow the compiler to verify that you spelled the name
37 /// correctly.
38 ///
39 /// UsdProcTokens also contains all of the \em allowedTokens values
40 /// declared for schema builtin attributes of 'token' scene description type.
41 /// Use UsdProcTokens like so:
42 ///
43 /// \code
44 /// gprim.GetMyTokenValuedAttr().Set(UsdProcTokens->proceduralSystem);
45 /// \endcode
48  /// \brief "proceduralSystem"
49  ///
50  /// UsdProcGenerativeProcedural
52  /// \brief "GenerativeProcedural"
53  ///
54  /// Schema identifer and family for UsdProcGenerativeProcedural
56  /// A vector of all of the tokens listed above.
57  const std::vector<TfToken> allTokens;
58 };
59 
60 /// \var UsdProcTokens
61 ///
62 /// A global variable with static, efficient \link TfToken TfTokens\endlink
63 /// for use in all public USD API. \sa UsdProcTokensType
65 
67 
68 #endif
Definition: token.h:70
USDPROC_API UsdProcTokensType()
#define USDPROC_API
Definition: api.h:23
const TfToken proceduralSystem
"proceduralSystem"
Definition: tokens.h:51
USDPROC_API TfStaticData< UsdProcTokensType > UsdProcTokens
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
Definition: path.h:1425
const std::vector< TfToken > allTokens
A vector of all of the tokens listed above.
Definition: tokens.h:57
#define PXR_NAMESPACE_CLOSE_SCOPE
Definition: pxr.h:74
const TfToken GenerativeProcedural
"GenerativeProcedural"
Definition: tokens.h:55