24#ifndef PXR_USD_USD_USD_FILE_FORMAT_H
25#define PXR_USD_USD_USD_FILE_FORMAT_H
28#include "pxr/usd/usd/api.h"
34PXR_NAMESPACE_OPEN_SCOPE
38#define USD_USD_FILE_FORMAT_TOKENS \
42 ((FormatArg, "format"))
65 virtual SdfAbstractDataRefPtr
69 virtual bool CanRead(
const std::string &file)
const override;
74 const std::string& resolvedPath,
75 bool metadataOnly)
const override;
80 const std::string& filePath,
81 const std::string& comment = std::string(),
87 const std::string& filePath,
88 const std::string& comment = std::string(),
94 const std::string& str)
const override;
100 const std::string& comment = std::string())
const override;
104 const SdfSpecHandle &spec,
106 size_t indent)
const override;
117 SDF_FILE_FORMAT_FACTORY_ACCESS;
124 const std::string& resolvedPath,
125 bool metadataOnly)
const override;
131 static SdfFileFormatConstPtr
132 _GetUnderlyingFileFormatForLayer(
const SdfLayer& layer);
134 template <
bool Detached>
137 const std::string& resolvedPath,
138 bool metadataOnly)
const;
141PXR_NAMESPACE_CLOSE_SCOPE
A scene description container that can combine with other such containers to form simple component as...
Token for efficient comparison, assignment, and hashing of known strings.
#define TF_DECLARE_WEAK_AND_REF_PTRS(type)
Define standard weak, ref, and vector pointer types.
This file defines some macros that are useful for declaring and using static TfTokens.
#define TF_DECLARE_PUBLIC_TOKENS(...)
Macro to define public tokens.