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;
90 bool _CanReadFromAsset(
91 const std::string& resolvedPath,
92 const std::shared_ptr<ArAsset>& asset)
const;
96 const std::string& resolvedPath,
97 const std::shared_ptr<ArAsset>& asset,
98 bool metadataOnly)
const;
100 template <
class ...Args>
103 const std::string& resolvedPath,
105 Args&&... args)
const;
109 PXR_NAMESPACE_CLOSE_SCOPE
111 #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.