24 #ifndef PXR_USD_USD_CRATE_INFO_H
25 #define PXR_USD_USD_CRATE_INFO_H
51 : name(name), start(start), size(size) {}
86 explicit operator bool()
const {
return (
bool)_impl; }
91 std::shared_ptr<_Impl> _impl;
97 #endif // PXR_USD_USD_CRATE_INFO_H
static USD_API UsdCrateInfo Open(std::string const &fileName)
Attempt to open and read fileName.
GLsizei const GLchar *const * string
Section(std::string const &name, int64_t start, int64_t size)
USD_API SummaryStats GetSummaryStats() const
Return summary statistics structure for this file.
size_t numUniqueFieldSets
GLuint const GLchar * name
USD_API TfToken GetSoftwareVersion() const
Return the software version.
USD_API std::vector< Section > GetSections() const
Return the named file sections, their location and sizes in the file.
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
USD_API TfToken GetFileVersion() const
Return the file version.
#define PXR_NAMESPACE_CLOSE_SCOPE