7 #ifndef PXR_EXEC_VDF_CONNECTOR_SPECS_H
8 #define PXR_EXEC_VDF_CONNECTOR_SPECS_H
49 template <
typename T >
71 : _specs(std::move(rhs._specs)) {
86 _specs = std::move(rhs._specs);
93 for (
const T *spec : specs._specs) {
170 const TfToken &outName = VdfTokens->empty,
171 bool prerequisite =
false)
202 const TfToken &outName = VdfTokens->empty,
203 bool prerequisite =
false)
231 return !(*
this == rhs);
273 return !(*
this == rhs);
VdfConnectorSpecs()
Constructor.
void push_back(const value_type &v)
void Reserve(size_t numSpecs)
void reserve(size_type newCapacity)
#define PXR_NAMESPACE_OPEN_SCOPE
size_t GetSize() const
Returns number of connectors in this spec.
void _AddConnector(T *cs)
Adds a connector to our list.
VdfConnectorSpecs(VdfConnectorSpecs< T > &&rhs)
Move constructor.
bool operator!=(const VdfOutputSpecs &rhs) const
GLint GLint GLsizei GLint GLenum GLenum type
VdfConnectorSpecs< T > & operator=(const VdfConnectorSpecs< T > &rhs)
Copy assignment operator.
static VdfOutputSpec * New(const TfToken &name)
VdfConnectorSpecs(const VdfConnectorSpecs< T > &rhs)
Copy constructor.
VDF_API bool operator==(const VdfOutputSpecs &rhs) const
VdfConnectorSpecs< T > & operator=(VdfConnectorSpecs< T > &&rhs)
Move assignment operator.
const_iterator end() const
Returns a const_iterator to the end of the connectors.
GLuint const GLchar * name
VdfOutputSpecs & Connector(const TfType &type, const TfToken &name)
const T * _GetConnectorSpec(int idx) const
Returns connector spec at index idx.
const_iterator begin() const
Returns a const_iterator to the beginning of the connectors.
void _ClearSpecs()
Clears list of specs.
#define PXR_NAMESPACE_CLOSE_SCOPE
const VdfOutputSpec * GetOutputSpec(int idx) const
Returns connector spec at index idx.
VdfOutputSpecs & Connector(const TfToken &name)
Create an "Out" connector with the given name.
void Append(const VdfConnectorSpecs< T > &specs)
Appends a set of specs to this one.
typename _VectorType::const_iterator const_iterator
Iterator type.
const T ** const_iterator