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" 34 PXR_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& str)
const override;
93 const std::string& comment = std::string())
const override;
97 const SdfSpecHandle &spec,
99 size_t indent)
const override;
110 SDF_FILE_FORMAT_FACTORY_ACCESS;
117 const std::string& resolvedPath,
118 bool metadataOnly)
const override;
124 static SdfFileFormatConstPtr
125 _GetUnderlyingFileFormatForLayer(
const SdfLayer& layer);
127 template <
bool Detached>
130 const std::string& resolvedPath,
131 bool metadataOnly)
const;
134 PXR_NAMESPACE_CLOSE_SCOPE
136 #endif // PXR_USD_USD_USD_FILE_FORMAT_H
A scene description container that can combine with other such containers to form simple component as...
#define TF_DECLARE_WEAK_AND_REF_PTRS(type)
Define standard weak, ref, and vector pointer types.
Token for efficient comparison, assignment, and hashing of known strings.
#define TF_DECLARE_PUBLIC_TOKENS(...)
Macro to define public tokens.
This file defines some macros that are useful for declaring and using static TfTokens.