7#ifndef PXR_USD_USD_USDC_FILE_FORMAT_H
8#define PXR_USD_USD_USDC_FILE_FORMAT_H
11#include "pxr/usd/usd/api.h"
16PXR_NAMESPACE_OPEN_SCOPE
18#define USD_USDC_FILE_FORMAT_TOKENS \
35 using string = std::string;
40 virtual bool CanRead(
const string &file)
const override;
44 const string& resolvedPath,
45 bool metadataOnly)
const override;
49 const string& filePath,
50 const string& comment =
string(),
55 const string& filePath,
56 const string& comment =
string(),
60 const string& str)
const override;
64 const string& comment =
string())
const override;
68 size_t indent)
const override;
71 SDF_FILE_FORMAT_FACTORY_ACCESS;
79 SdfAbstractDataRefPtr _InitDetachedData(
84 const std::string& resolvedPath,
85 bool metadataOnly)
const override;
87 bool _CanReadFromAsset(
88 const std::string& resolvedPath,
89 const std::shared_ptr<ArAsset>& asset)
const;
93 const std::string& resolvedPath,
94 const std::shared_ptr<ArAsset>& asset,
98 template <
class ...Args>
101 const std::string& resolvedPath,
103 Args&&... args)
const;
107PXR_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...
#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.