7 #ifndef PXR_USD_SDF_CRATE_INFO_H
8 #define PXR_USD_SDF_CRATE_INFO_H
34 : name(name), start(start), size(size) {}
69 explicit operator bool()
const {
return (
bool)_impl; }
74 std::shared_ptr<_Impl> _impl;
80 #endif // PXR_USD_SDF_CRATE_INFO_H
static SDF_API SdfCrateInfo Open(std::string const &fileName)
Attempt to open and read fileName.
#define PXR_NAMESPACE_OPEN_SCOPE
SDF_API TfToken GetSoftwareVersion() const
Return the software version.
SDF_API TfToken GetFileVersion() const
Return the file version.
SDF_API std::vector< Section > GetSections() const
Return the named file sections, their location and sizes in the file.
GLuint const GLchar * name
SDF_API SummaryStats GetSummaryStats() const
Return summary statistics structure for this file.
size_t numUniqueFieldSets
Section(std::string const &name, int64_t start, int64_t size)
#define PXR_NAMESPACE_CLOSE_SCOPE