VSTGUI  4.10
Graphical User Interface Framework not only for VST plugins
CResourceDescription Class Reference

Describes a resource by name or by ID. More...

Public Types

enum  { kIntegerType, kStringType, kUnknownType }
 

Public Member Functions

 CResourceDescription ()=default
 
 CResourceDescription (UTF8StringPtr name)
 
 CResourceDescription (int32_t id)
 
CResourceDescriptionoperator= (int32_t id)
 
CResourceDescriptionoperator= (const CResourceDescription &desc)
 

Public Attributes

int32_t type {kUnknownType}
 
union {
   int32_t   id
 
   UTF8StringPtr   name {nullptr}
 
u
 

Detailed Description

Describes a resource by name or by ID.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
kIntegerType 
kStringType 
kUnknownType 

Constructor & Destructor Documentation

◆ CResourceDescription() [1/3]

CResourceDescription ( )
default

◆ CResourceDescription() [2/3]

◆ CResourceDescription() [3/3]

CResourceDescription ( int32_t  id)
inlineexplicit

Member Function Documentation

◆ operator=() [1/2]

CResourceDescription& operator= ( int32_t  id)
inline

◆ operator=() [2/2]

CResourceDescription& operator= ( const CResourceDescription desc)
inline

Member Data Documentation

◆ id

int32_t id

◆ name

UTF8StringPtr name {nullptr}

◆ type

int32_t type {kUnknownType}

◆ u

union { ... } u

The documentation for this class was generated from the following file: