25 #ifndef PXR_USD_NDR_PROPERTY_H
26 #define PXR_USD_NDR_PROPERTY_H
141 virtual bool CanConnectTo(
const NdrProperty& other)
const;
179 NdrProperty&
operator=(
const NdrProperty&) =
delete;
193 #endif // PXR_USD_NDR_PROPERTY_H
NDR_API int GetArraySize() const
virtual NDR_API const NdrTokenMap & GetMetadata() const
All of the metadata that came from the parse process.
virtual NDR_API bool CanConnectTo(const NdrProperty &other) const
Determines if this property can be connected to the specified property.
GLsizei const GLchar *const * string
NDR_API bool IsDynamicArray() const
Whether this property's array type is dynamically-sized.
virtual NDR_API std::string GetInfoString() const
NdrProperty & operator=(const NdrProperty &)=delete
NDR_API bool IsOutput() const
Whether this property is an output.
std::pair< SdfValueTypeName, TfToken > NdrSdfTypeIndicator
virtual NDR_API ~NdrProperty()
Destructor.
virtual NDR_API bool IsConnectable() const
Whether this property can be connected to other properties.
virtual NDR_API const VtValue & GetDefaultValueAsSdfType() const
NDR_API NdrProperty(const TfToken &name, const TfToken &type, const VtValue &defaultValue, bool isOutput, size_t arraySize, bool isDynamicArray, const NdrTokenMap &metadata)
Constructor.
NDR_API const TfToken & GetName() const
Gets the name of the property.
GLuint const GLchar * name
NDR_API const VtValue & GetDefaultValue() const
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
#define PXR_NAMESPACE_CLOSE_SCOPE
NDR_API bool IsArray() const
Whether this property's type is an array type.
std::unordered_map< TfToken, std::string, TfToken::HashFunctor > NdrTokenMap
NDR_API const TfToken & GetType() const
Gets the type of the property.
virtual NDR_API const NdrSdfTypeIndicator GetTypeAsSdfType() const