7#ifndef PXR_USD_USD_USD_FILE_FORMAT_H
8#define PXR_USD_USD_USD_FILE_FORMAT_H
11#include "pxr/usd/usd/api.h"
17PXR_NAMESPACE_OPEN_SCOPE
21#define USD_USD_FILE_FORMAT_TOKENS \
25 ((FormatArg, "format"))
48 virtual SdfAbstractDataRefPtr
52 virtual bool CanRead(
const std::string &file)
const override;
57 const std::string& resolvedPath,
58 bool metadataOnly)
const override;
63 const std::string& filePath,
64 const std::string& comment = std::string(),
70 const std::string& filePath,
71 const std::string& comment = std::string(),
77 const std::string& str)
const override;
83 const std::string& comment = std::string())
const override;
87 const SdfSpecHandle &spec,
89 size_t indent)
const override;
100 SDF_FILE_FORMAT_FACTORY_ACCESS;
107 const std::string& resolvedPath,
108 bool metadataOnly)
const override;
114 static SdfFileFormatConstPtr
115 _GetUnderlyingFileFormatForLayer(
const SdfLayer& layer);
117 template <
bool Detached>
120 const std::string& resolvedPath,
121 bool metadataOnly)
const;
124PXR_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.