7#ifndef PXR_EXEC_VDF_TYPED_VECTOR_H
8#define PXR_EXEC_VDF_TYPED_VECTOR_H
17PXR_NAMESPACE_OPEN_SCOPE
21template<
typename TYPE>
33 "VdfTypedVector must have same size as VdfVector");
40 "VdfTypedVector must have same size as VdfVector");
50 enum _WithSizeTag { _WithSize };
53 "VdfTypedVector must have same size as VdfVector");
68PXR_NAMESPACE_CLOSE_SCOPE
void New(Args &&... args)
Creates an instance.
Implements Vdf_VectorData storage that holds a contiguous range of elements, which may be a subrange ...
Implements a Vdf_VectorData storage that is always empty.
Implements a Vdf_VectorData storage that is holds a single element.
A VdfTypedVector implements a VdfVector with a specific type.
static VdfTypedVector CreateWithSize(size_t size)
Constructs a new vector with the specified size.
VdfTypedVector()
Constructs an empty vector.
VdfTypedVector(const TYPE &value)
Constructs a new vector and initializes it with a specific value.
This class is used to abstract away knowledge of the cache data used for each node.