Loading...
Searching...
No Matches
nodeDiscoveryResult.h
1//
2// Copyright 2018 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_NDR_NODE_DISCOVERY_RESULT_H
9#define PXR_USD_NDR_NODE_DISCOVERY_RESULT_H
10
11#include "pxr/usd/ndr/declare.h"
12
13PXR_NAMESPACE_OPEN_SCOPE
14
24 const NdrVersion& version,
25 const std::string& name,
26 const TfToken& family,
28 const TfToken& sourceType,
29 const std::string& uri,
30 const std::string& resolvedUri,
31 const std::string &sourceCode=std::string(),
32 const NdrTokenMap &metadata=NdrTokenMap(),
33 const std::string& blindData=std::string(),
37 name(name),
41 uri(uri),
47 { }
48
56
61
68 std::string name;
69
76
84
91
96 std::string uri;
97
104 std::string resolvedUri;
105
110 std::string sourceCode;
111
118 NdrTokenMap metadata;
119
123 std::string blindData;
124
133};
134
135typedef std::vector<NdrNodeDiscoveryResult> NdrNodeDiscoveryResultVec;
136
137PXR_NAMESPACE_CLOSE_SCOPE
138
139#endif // PXR_USD_NDR_NODE_DISCOVERY_RESULT_H
NdrVersion.
Definition: declare.h:79
Token for efficient comparison, assignment, and hashing of known strings.
Definition: token.h:71
Represents the raw data of a node, and some other bits of metadata, that were determined via a NdrDis...
std::string uri
The node's origin.
TfToken subIdentifier
The subIdentifier is associated with a particular asset and refers to a specific definition within th...
NdrVersion version
The node's version.
NdrTokenMap metadata
The node's metadata collected during the discovery process.
std::string sourceCode
The node's entire source code.
TfToken family
The node's family.
TfToken discoveryType
The node's discovery type.
NdrNodeDiscoveryResult(const NdrIdentifier &identifier, const NdrVersion &version, const std::string &name, const TfToken &family, const TfToken &discoveryType, const TfToken &sourceType, const std::string &uri, const std::string &resolvedUri, const std::string &sourceCode=std::string(), const NdrTokenMap &metadata=NdrTokenMap(), const std::string &blindData=std::string(), const TfToken &subIdentifier=TfToken())
Constructor.
TfToken sourceType
The node's source type.
std::string name
The node's name.
std::string resolvedUri
The node's fully-resolved URI.
std::string blindData
An optional detail for the parser plugin.
NdrIdentifier identifier
The node's identifier.
Common typedefs that are used throughout the NDR library.