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
21 const NdrVersion& version,
22 const std::string& name,
23 const TfToken& family,
25 const TfToken& sourceType,
26 const std::string& uri,
27 const std::string& resolvedUri,
28 const std::string &sourceCode=std::string(),
29 const NdrTokenMap &metadata=NdrTokenMap(),
30 const std::string& blindData=std::string(),
34 name(name),
38 uri(uri),
44 { }
45
53
57 NdrVersion version;
58
65 std::string name;
66
73
81
88
93 std::string uri;
94
101 std::string resolvedUri;
102
107 std::string sourceCode;
108
115 NdrTokenMap metadata;
116
120 std::string blindData;
121
130};
131
132typedef std::vector<NdrNodeDiscoveryResult> NdrNodeDiscoveryResultVec;
133
134PXR_NAMESPACE_CLOSE_SCOPE
135
136#endif // PXR_USD_NDR_NODE_DISCOVERY_RESULT_H
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.