24 #ifndef PXR_USD_SDF_DATA_H
25 #define PXR_USD_SDF_DATA_H
95 const TfToken& fieldName)
const;
109 virtual std::set<double>
113 virtual std::set<double>
128 double* tLower,
double* tUpper)
const;
169 typedef std::pair<TfToken, VtValue> _FieldValuePair;
174 std::vector<_FieldValuePair> fields;
187 #endif // PXR_USD_SDF_DATA_H
PXR_NAMESPACE_OPEN_SCOPE TF_DECLARE_WEAK_AND_REF_PTRS(SdfData)
virtual SDF_API bool HasSpec(const SdfPath &path) const
Return true if this data has a spec for path.
virtual SDF_API bool GetBracketingTimeSamples(double time, double *tLower, double *tUpper) const
GT_API const UT_StringHolder time
virtual SDF_API SdfSpecType GetSpecType(const SdfPath &path) const
GLsizei const GLchar *const * path
virtual SDF_API void EraseSpec(const SdfPath &path)
virtual SDF_API ~SdfData()
virtual SDF_API size_t GetNumTimeSamplesForPath(const SdfPath &path) const
virtual SDF_API bool StreamsData() const
SdfAbstractData overrides.
virtual SDF_API bool QueryTimeSample(const SdfPath &path, double time, SdfAbstractDataValue *optionalValue) const
virtual SDF_API std::set< double > ListAllTimeSamples() const
virtual SDF_API void _VisitSpecs(SdfAbstractDataSpecVisitor *visitor) const
virtual SDF_API std::vector< TfToken > List(const SdfPath &path) const
Return the names of all the fields that are set at path.
virtual SDF_API void CreateSpec(const SdfPath &path, SdfSpecType specType)
virtual SDF_API void MoveSpec(const SdfPath &oldPath, const SdfPath &newPath)
virtual SDF_API bool Has(const SdfPath &path, const TfToken &fieldName, SdfAbstractDataValue *value) const
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
virtual SDF_API VtValue Get(const SdfPath &path, const TfToken &fieldName) const
#define PXR_NAMESPACE_CLOSE_SCOPE
virtual SDF_API void Erase(const SdfPath &path, const TfToken &fieldName)
Remove the field at path and fieldName, if one exists.
virtual SDF_API bool GetBracketingTimeSamplesForPath(const SdfPath &path, double time, double *tLower, double *tUpper) const
virtual SDF_API std::set< double > ListTimeSamplesForPath(const SdfPath &path) const
virtual SDF_API void EraseTimeSample(const SdfPath &path, double time)
virtual SDF_API void SetTimeSample(const SdfPath &path, double time, const VtValue &value)
virtual SDF_API bool IsDetached() const
virtual SDF_API bool HasSpecAndField(const SdfPath &path, const TfToken &fieldName, SdfAbstractDataValue *value, SdfSpecType *specType) const
virtual SDF_API void Set(const SdfPath &path, const TfToken &fieldName, const VtValue &value)