24 #ifndef _GUSD_DEFAULTARRAY_H_
25 #define _GUSD_DEFAULTARRAY_H_
47 memset((
void*)&_default, 0,
sizeof(
T));
51 : _default(defaultVal) {}
54 {
return _array.
size(); }
57 {
return _array.
clear(); }
const T & operator()(exint i) const
const array_type & GetArray() const
void SetDefault(const T &val)
const T & GetDefault() const
void SetConstant(const T &val)
Turn this into a constant array, with value val.
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
#define PXR_NAMESPACE_CLOSE_SCOPE
void clear()
Resets list to an empty list.
GusdDefaultArray(const T &defaultVal)