24 #ifndef PXR_USD_USD_USDC_FILE_FORMAT_H 25 #define PXR_USD_USD_USDC_FILE_FORMAT_H 28 #include "pxr/usd/usd/api.h" 33 PXR_NAMESPACE_OPEN_SCOPE
35 #define USD_USDC_FILE_FORMAT_TOKENS \ 52 using string = std::string;
54 virtual SdfAbstractDataRefPtr
InitData(
57 virtual bool CanRead(
const string &file)
const override;
61 const string& resolvedPath,
62 bool metadataOnly)
const override;
66 const string& filePath,
67 const string& comment =
string(),
71 const string& str)
const override;
75 const string& comment =
string())
const override;
79 size_t indent)
const override;
82 SDF_FILE_FORMAT_FACTORY_ACCESS;
95 const std::string& resolvedPath,
96 bool metadataOnly)
const override;
98 bool _CanReadFromAsset(
99 const std::string& resolvedPath,
100 const std::shared_ptr<ArAsset>& asset)
const;
104 const std::string& resolvedPath,
105 const std::shared_ptr<ArAsset>& asset,
107 bool detached)
const;
109 template <
class ...Args>
112 const std::string& resolvedPath,
114 Args&&... args)
const;
118 PXR_NAMESPACE_CLOSE_SCOPE
120 #endif // PXR_USD_USD_USDC_FILE_FORMAT_H
A scene description container that can combine with other such containers to form simple component as...
Interface for accessing the contents of an asset.
#define TF_DECLARE_WEAK_AND_REF_PTRS(type)
Define standard weak, ref, and vector pointer types.
#define TF_DECLARE_PUBLIC_TOKENS(...)
Macro to define public tokens.
This file defines some macros that are useful for declaring and using static TfTokens.