44 typedef const char* AttrID;
47 virtual tresult PLUGIN_API
setInt (AttrID
id, int64 value) = 0;
50 virtual tresult PLUGIN_API
getInt (AttrID
id, int64& value) = 0;
53 virtual tresult PLUGIN_API
setFloat (AttrID
id,
double value) = 0;
56 virtual tresult PLUGIN_API
getFloat (AttrID
id,
double& value) = 0;
63 virtual tresult PLUGIN_API
getString (AttrID
id,
TChar*
string, uint32 sizeInBytes) = 0;
66 virtual tresult PLUGIN_API
setBinary (AttrID
id,
const void* data, uint32 sizeInBytes) = 0;
69 virtual tresult PLUGIN_API
getBinary (AttrID
id,
const void*& data, uint32& sizeInBytes) = 0;
71 static const FUID iid;
74DECLARE_CLASS_IID (
IAttributeList, 0x1E5F0AEB, 0xCC7F4533, 0xA2544011, 0x38AD5EE4)
139 static const FUID iid;
142DECLARE_CLASS_IID (
IStreamAttributes, 0xD6CE2FFC, 0xEFAF4B8C, 0x9E74F1BB, 0x12DA44B4)
Handling 16 Byte Globally Unique Identifiers.
The basic interface of all interfaces.
Attribute list used in IMessage and IStreamAttributes: Vst::IAttributeList.
virtual tresult PLUGIN_API setInt(AttrID id, int64 value)=0
Sets integer value.
virtual tresult PLUGIN_API getBinary(AttrID id, const void *&data, uint32 &sizeInBytes)=0
Gets binary data.
virtual tresult PLUGIN_API getInt(AttrID id, int64 &value)=0
Gets integer value.
virtual tresult PLUGIN_API setFloat(AttrID id, double value)=0
Sets float value.
virtual tresult PLUGIN_API setString(AttrID id, const TChar *string)=0
Sets string value (UTF16) (must be null-terminated!).
virtual tresult PLUGIN_API setBinary(AttrID id, const void *data, uint32 sizeInBytes)=0
Sets binary data.
virtual tresult PLUGIN_API getFloat(AttrID id, double &value)=0
Gets float value.
virtual tresult PLUGIN_API getString(AttrID id, TChar *string, uint32 sizeInBytes)=0
Gets string value (UTF16).
Meta attributes of a stream: Vst::IStreamAttributes.
virtual tresult PLUGIN_API getFileName(String128 name)=0
Gets filename (without file extension) of the stream.
virtual IAttributeList *PLUGIN_API getAttributes()=0
Gets meta information list.
TChar String128[128]
128 character UTF-16 string
char16 TChar
UTF-16 character.