25#ifndef PXR_USD_NDR_FILESYSTEM_DISCOVERY_H
26#define PXR_USD_NDR_FILESYSTEM_DISCOVERY_H
31#include "pxr/usd/ndr/api.h"
32#include "pxr/usd/ndr/discoveryPlugin.h"
35PXR_NAMESPACE_OPEN_SCOPE
90 const NdrStringVec&
GetSearchURIs()
const override {
return _searchPaths; }
94 NdrStringVec _searchPaths;
99 NdrStringVec _allowedExtensions;
102 bool _followSymlinks;
108PXR_NAMESPACE_CLOSE_SCOPE
Discovers nodes on the filesystem.
NDR_API _NdrFilesystemDiscoveryPlugin()
Constructor.
NDR_API _NdrFilesystemDiscoveryPlugin(Filter filter)
DiscoverNodes() will pass each result to the given function for modification.
std::function< bool(NdrNodeDiscoveryResult &)> Filter
A filter for discovered nodes.
NDR_API const NdrStringVec & GetSearchURIs() const override
Gets the paths that this plugin is searching for nodes in.
NDR_API NdrNodeDiscoveryResultVec DiscoverNodes(const Context &) override
Discover all of the nodes that appear within the the search paths provided and match the extensions p...
NDR_API ~_NdrFilesystemDiscoveryPlugin()
Destructor.
Interface for discovery plugins.
#define TF_DECLARE_WEAK_AND_REF_PTRS(type)
Define standard weak, ref, and vector pointer types.
Represents the raw data of a node, and some other bits of metadata, that were determined via a NdrDis...