8#ifndef PXR_USD_SDR_NODE_DISCOVERY_RESULT_H
9#define PXR_USD_SDR_NODE_DISCOVERY_RESULT_H
15PXR_NAMESPACE_OPEN_SCOPE
24 const std::string&
name,
28 const std::string&
uri,
31 const SdrTokenMap &
metadata=SdrTokenMap(),
32 const std::string&
blindData=std::string(),
92 this->identifier = std::move(other.identifier);
93 this->version = std::move(other.version);
94 this->name = std::move(other.name);
95 this->function = std::move(other.function);
97 this->discoveryType = std::move(other.discoveryType);
98 this->shadingSystem = std::move(other.shadingSystem);
100 this->uri = std::move(other.uri);
101 this->resolvedUri = std::move(other.resolvedUri);
102 this->
sourceCode = std::move(other.sourceCode);
103 this->
metadata = std::move(other.metadata);
104 this->
blindData = std::move(other.blindData);
113 *
this = std::move(copy);
216typedef std::vector<SdrShaderNodeDiscoveryResult> SdrShaderNodeDiscoveryResultVec;
218PXR_NAMESPACE_CLOSE_SCOPE
Token for efficient comparison, assignment, and hashing of known strings.
Represents the raw data of a node, and some other bits of metadata, that were determined via a SdrDis...
SdrShaderNodeDiscoveryResult(SdrShaderNodeDiscoveryResult &&other)
The following methods will removed in favor of implicitly defined methods once sourceType is fully re...
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...
SdrShaderNodeDiscoveryResult(const SdrIdentifier &identifier, const SdrVersion &version, const std::string &name, const TfToken &function, const TfToken &discoveryType, const TfToken &shadingSystem, const std::string &uri, const std::string &resolvedUri, const std::string &sourceCode=std::string(), const SdrTokenMap &metadata=SdrTokenMap(), const std::string &blindData=std::string(), const TfToken &subIdentifier=TfToken())
Constructor.
std::string sourceCode
The node's entire source code.
TfToken discoveryType
The node's discovery type.
TfToken shadingSystem
The node's shading system.
SdrTokenMap metadata
The node's metadata collected during the discovery process.
TfToken & sourceType
The node's source type.
TfToken & family
The node's family.
std::string name
The node's name.
TfToken function
The node's function.
std::string resolvedUri
The node's fully-resolved URI.
std::string blindData
An optional detail for the parser plugin.
SdrIdentifier identifier
The node's identifier.
SdrVersion version
The node's version.