All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
dependenciesSchema.h
Go to the documentation of this file.
1//
2// Copyright 2023 Pixar
3//
4// Licensed under the terms set forth in the LICENSE.txt file available at
5// https://openusd.org/license.
6//
8
9/* ************************************************************************** */
10/* ** ** */
11/* ** This file is generated by a script. ** */
12/* ** ** */
13/* ** Do not edit it directly (unless it is within a CUSTOM CODE section)! ** */
14/* ** Edit hdSchemaDefs.py instead to make changes. ** */
15/* ** ** */
16/* ************************************************************************** */
17
18#ifndef PXR_IMAGING_HD_DEPENDENCIES_SCHEMA_H
19#define PXR_IMAGING_HD_DEPENDENCIES_SCHEMA_H
20
22
23#include "pxr/imaging/hd/api.h"
25
26#include "pxr/imaging/hd/schema.h"
27
28// --(BEGIN CUSTOM CODE: Includes)--
29// --(END CUSTOM CODE: Includes)--
30
31PXR_NAMESPACE_OPEN_SCOPE
32
33// --(BEGIN CUSTOM CODE: Declares)--
34// --(END CUSTOM CODE: Declares)--
35
36#define HD_DEPENDENCIES_SCHEMA_TOKENS \
37 (__dependencies) \
38
39TF_DECLARE_PUBLIC_TOKENS(HdDependenciesSchemaTokens, HD_API,
40 HD_DEPENDENCIES_SCHEMA_TOKENS);
41
42//-----------------------------------------------------------------------------
43
44
45class HdDependenciesSchema : public HdSchema
46{
47public:
50
51 HdDependenciesSchema(HdContainerDataSourceHandle container)
52 : HdSchema(container) {}
53
59 HD_API
60 static HdDependenciesSchema GetFromParent(
61 const HdContainerDataSourceHandle &fromParentContainer);
62
64
65// --(BEGIN CUSTOM CODE: Schema Methods)--
66
67 using EntryPair = std::pair<TfToken, HdDependencySchema>;
68 using EntryVector = TfSmallVector<EntryPair, 8>;
69
70 EntryVector GetEntries();
71
72// --(END CUSTOM CODE: Schema Methods)--
73
76
78
81
84 HD_API
85 static const TfToken &GetSchemaToken();
86
89 HD_API
90 static const HdDataSourceLocator &GetDefaultLocator();
91
93
96 HD_API
97 static HdContainerDataSourceHandle
98 BuildRetained(
99 size_t count,
100 const TfToken *names,
101 const HdDataSourceBaseHandle *values);
102
104};
105
106PXR_NAMESPACE_CLOSE_SCOPE
107
108#endif
Represents an object that can identify the location of a data source.
Schema classes represent a structured view of the inherently unstructured container data source passe...
Definition: schema.h:26
This is a small-vector class with local storage optimization, the local storage can be specified via ...
Definition: smallVector.h:157
Token for efficient comparison, assignment, and hashing of known strings.
Definition: token.h:71
#define TF_DECLARE_PUBLIC_TOKENS(...)
Macro to define public tokens.
Definition: staticTokens.h:81