7#ifndef PXR_USD_SDF_USD_FILE_FORMAT_H
8#define PXR_USD_SDF_USD_FILE_FORMAT_H
11#include "pxr/usd/sdf/api.h"
17PXR_NAMESPACE_OPEN_SCOPE
21#define SDF_USD_FILE_FORMAT_TOKENS \
25 ((FormatArg, "format"))
28 SDF_USD_FILE_FORMAT_TOKENS);
49 virtual SdfAbstractDataRefPtr
53 virtual bool CanRead(
const std::string &file)
const override;
58 const std::string& resolvedPath,
59 bool metadataOnly)
const override;
64 const std::string& filePath,
65 const std::string& comment = std::string(),
71 const std::string& filePath,
72 const std::string& comment = std::string(),
78 const std::string& str)
const override;
84 const std::string& comment = std::string())
const override;
88 const SdfSpecHandle &spec,
90 size_t indent)
const override;
101 SDF_FILE_FORMAT_FACTORY_ACCESS;
108 const std::string& resolvedPath,
109 bool metadataOnly)
const override;
115 static SdfFileFormatConstPtr
116 _GetUnderlyingFileFormatForLayer(
const SdfLayer& layer);
118 template <
bool Detached>
121 const std::string& resolvedPath,
122 bool metadataOnly)
const;
125PXR_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.