Loading...
Searching...
No Matches
UsdCrateInfo Class Reference

A class for introspecting the underlying qualities of .usdc 'crate' files, for diagnostic purposes. More...

#include <crateInfo.h>

Public Member Functions

USD_API SummaryStats GetSummaryStats () const
 Return summary statistics structure for this file.
 
USD_API std::vector< Section > GetSections () const
 Return the named file sections, their location and sizes in the file.
 
USD_API TfToken GetFileVersion () const
 Return the file version.
 
USD_API TfToken GetSoftwareVersion () const
 Return the software version.
 
 operator bool () const
 Return true if this object refers to a valid file.
 

Static Public Member Functions

static USD_API UsdCrateInfo Open (std::string const &fileName)
 Attempt to open and read fileName.
 

Detailed Description

A class for introspecting the underlying qualities of .usdc 'crate' files, for diagnostic purposes.

Definition at line 45 of file crateInfo.h.

Member Function Documentation

◆ GetFileVersion()

USD_API TfToken GetFileVersion ( ) const

Return the file version.

◆ GetSections()

USD_API std::vector< Section > GetSections ( ) const

Return the named file sections, their location and sizes in the file.

◆ GetSoftwareVersion()

USD_API TfToken GetSoftwareVersion ( ) const

Return the software version.

◆ GetSummaryStats()

USD_API SummaryStats GetSummaryStats ( ) const

Return summary statistics structure for this file.

◆ Open()

static USD_API UsdCrateInfo Open ( std::string const &  fileName)
static

Attempt to open and read fileName.

◆ operator bool()

operator bool ( ) const
inlineexplicit

Return true if this object refers to a valid file.

Definition at line 86 of file crateInfo.h.


The documentation for this class was generated from the following file: