Interface Technology Basics VST 3.8
SDK for developing VST plug-in
Loading...
Searching...
No Matches
UID< t1, t2, t3, t4 > Struct Template Reference

This class provides a compile-time uid and enables interfaces to specify a UID as a simple typedef. More...

#include <funknownimpl.h>

Public Types

enum  : int8 {
  l1_1 = static_cast<int8> ((t1 & 0xFF000000) >> 24) , l1_2 = static_cast<int8> ((t1 & 0x00FF0000) >> 16) , l1_3 = static_cast<int8> ((t1 & 0x0000FF00) >> 8) , l1_4 = static_cast<int8> ((t1 & 0x000000FF)) ,
  l2_1 = static_cast<int8> ((t2 & 0xFF000000) >> 24) , l2_2 = static_cast<int8> ((t2 & 0x00FF0000) >> 16) , l2_3 = static_cast<int8> ((t2 & 0x0000FF00) >> 8) , l2_4 = static_cast<int8> ((t2 & 0x000000FF)) ,
  l3_1 = static_cast<int8> ((t3 & 0xFF000000) >> 24) , l3_2 = static_cast<int8> ((t3 & 0x00FF0000) >> 16) , l3_3 = static_cast<int8> ((t3 & 0x0000FF00) >> 8) , l3_4 = static_cast<int8> ((t3 & 0x000000FF)) ,
  l4_1 = static_cast<int8> ((t4 & 0xFF000000) >> 24) , l4_2 = static_cast<int8> ((t4 & 0x00FF0000) >> 16) , l4_3 = static_cast<int8> ((t4 & 0x0000FF00) >> 8) , l4_4 = static_cast<int8> ((t4 & 0x000000FF))
}
 

Public Member Functions

 UID ()=delete
 

Static Public Member Functions

static const TUIDtoTUID ()
 

Static Public Attributes

static constexpr TUID data
 

Detailed Description

template<uint32 t1, uint32 t2, uint32 t3, uint32 t4>
struct Steinberg::U::UID< t1, t2, t3, t4 >

This class provides a compile-time uid and enables interfaces to specify a UID as a simple typedef.

This way the FUID, DECLARE_CLASS_IID and DEF_CLASS_IID code can be omitted.

Member Enumeration Documentation

◆ anonymous enum

template<uint32 t1, uint32 t2, uint32 t3, uint32 t4>
anonymous enum : int8
Enumerator
l1_1 
l1_2 
l1_3 
l1_4 
l2_1 
l2_2 
l2_3 
l2_4 
l3_1 
l3_2 
l3_3 
l3_4 
l4_1 
l4_2 
l4_3 
l4_4 

Constructor & Destructor Documentation

◆ UID()

template<uint32 t1, uint32 t2, uint32 t3, uint32 t4>
UID ( )
delete

Member Function Documentation

◆ toTUID()

template<uint32 t1, uint32 t2, uint32 t3, uint32 t4>
static const TUID & toTUID ( )
inlinestatic

Member Data Documentation

◆ data

template<uint32 t1, uint32 t2, uint32 t3, uint32 t4>
TUID data
staticconstexpr
Initial value:
= {
}
@ l1_3
Definition funknownimpl.h:179
@ l1_1
Definition funknownimpl.h:177
@ l4_2
Definition funknownimpl.h:190
@ l3_4
Definition funknownimpl.h:188
@ l1_2
Definition funknownimpl.h:178
@ l3_1
Definition funknownimpl.h:185
@ l2_4
Definition funknownimpl.h:184
@ l4_4
Definition funknownimpl.h:192
@ l4_1
Definition funknownimpl.h:189
@ l2_2
Definition funknownimpl.h:182
@ l3_3
Definition funknownimpl.h:187
@ l1_4
Definition funknownimpl.h:180
@ l2_3
Definition funknownimpl.h:183
@ l2_1
Definition funknownimpl.h:181
@ l3_2
Definition funknownimpl.h:186
@ l4_3
Definition funknownimpl.h:191
Empty

Copyright © Steinberg Media Technologies GmbH. All Rights Reserved. This documentation is under this license.