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"
33PXR_NAMESPACE_OPEN_SCOPE
35#define USD_USDC_FILE_FORMAT_TOKENS \
52 using string = std::string;
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(),
72 const string& filePath,
73 const string& comment =
string(),
77 const string& str)
const override;
81 const string& comment =
string())
const override;
85 size_t indent)
const override;
88 SDF_FILE_FORMAT_FACTORY_ACCESS;
96 SdfAbstractDataRefPtr _InitDetachedData(
101 const std::string& resolvedPath,
102 bool metadataOnly)
const override;
104 bool _CanReadFromAsset(
105 const std::string& resolvedPath,
106 const std::shared_ptr<ArAsset>& asset)
const;
110 const std::string& resolvedPath,
111 const std::shared_ptr<ArAsset>& asset,
113 bool detached)
const;
115 template <
class ...Args>
118 const std::string& resolvedPath,
120 Args&&... args)
const;
124PXR_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.