7#ifndef PXR_USD_SDF_USDA_FILE_FORMAT_H
8#define PXR_USD_SDF_USDA_FILE_FORMAT_H
14#include "pxr/usd/sdf/api.h"
17#include "pxr/usd/sdf/fileVersion.h"
22PXR_NAMESPACE_OPEN_SCOPE
25extern TfEnvSetting<std::string> USD_WRITE_NEW_USDA_FILES_AS_VERSION;
27#define SDF_USDA_FILE_FORMAT_TOKENS \
46extern TfEnvSetting<int> SDF_TEXTFILE_SIZE_WARNING_MB;
61 virtual bool CanRead(
const std::string &file)
const override;
66 const std::string& resolvedPath,
67 bool metadataOnly)
const override;
74 const std::string& filePath,
75 const std::string& comment = std::string(),
83 const std::string& filePath,
84 const std::string& comment = std::string(),
90 const std::string& str)
const override;
96 const std::string& comment = std::string())
const override;
100 const SdfSpecHandle &spec,
102 size_t indent)
const override;
129 SDF_FILE_FORMAT_FACTORY_ACCESS;
152 const std::string& resolvedPath,
153 const std::shared_ptr<ArAsset>& asset)
const;
159 const std::string& resolvedPath,
160 const std::shared_ptr<ArAsset>& asset,
161 bool metadataOnly)
const;
166 SDF_API
virtual bool _ShouldSkipAnonymousReload()
const override;
171PXR_NAMESPACE_CLOSE_SCOPE
Interface for accessing the contents of an asset.
A scene description container that can combine with other such containers to form simple component as...
Base class for all Sdf spec classes.
Token for efficient comparison, assignment, and hashing of known strings.
Standard pointer typedefs.
#define TF_DECLARE_WEAK_AND_REF_PTRS(type)
Define standard weak, ref, and vector pointer types.
Environment setting variable.
This file defines some macros that are useful for declaring and using static TfTokens.
#define TF_DECLARE_PUBLIC_TOKENS(...)
Macro to define public tokens.