Ardour  9.0-pre0-582-g084a23a80d
Steinberg::HostAttribute Class Reference

#include <vst3_host.h>

Classes

union  v
 

Public Types

enum  Type { kInteger , kFloat , kString , kBinary }
 

Public Member Functions

 HostAttribute (int64 value)
 
 HostAttribute (double value)
 
 HostAttribute (const Vst::TChar *value, uint32 size)
 
 HostAttribute (const void *value, uint32 size)
 
 ~HostAttribute ()
 
Type getType () const
 
int64 intValue () const
 
double floatValue () const
 
const Vst::TChar * stringValue (uint32 &stringSize)
 
const void * binaryValue (uint32 &binarySize)
 

Protected Attributes

union Steinberg::HostAttribute::v v
 
uint32 _size
 
Type _type
 

Private Member Functions

 HostAttribute (HostAttribute const &other)
 

Detailed Description

Definition at line 68 of file vst3_host.h.

Member Enumeration Documentation

◆ Type

Enumerator
kInteger 
kFloat 
kString 
kBinary 

Definition at line 71 of file vst3_host.h.

Constructor & Destructor Documentation

◆ HostAttribute() [1/5]

Steinberg::HostAttribute::HostAttribute ( int64  value)
inline

Definition at line 78 of file vst3_host.h.

◆ HostAttribute() [2/5]

Steinberg::HostAttribute::HostAttribute ( double  value)
inline

Definition at line 85 of file vst3_host.h.

◆ HostAttribute() [3/5]

Steinberg::HostAttribute::HostAttribute ( const Vst::TChar *  value,
uint32  size 
)
inline

Definition at line 92 of file vst3_host.h.

◆ HostAttribute() [4/5]

Steinberg::HostAttribute::HostAttribute ( const void *  value,
uint32  size 
)
inline

Definition at line 101 of file vst3_host.h.

◆ ~HostAttribute()

Steinberg::HostAttribute::~HostAttribute ( )
inline

Definition at line 109 of file vst3_host.h.

◆ HostAttribute() [5/5]

Steinberg::HostAttribute::HostAttribute ( HostAttribute const &  other)
private

Member Function Documentation

◆ binaryValue()

const void* Steinberg::HostAttribute::binaryValue ( uint32 &  binarySize)
inline

Definition at line 126 of file vst3_host.h.

◆ floatValue()

double Steinberg::HostAttribute::floatValue ( ) const
inline

Definition at line 118 of file vst3_host.h.

◆ getType()

Type Steinberg::HostAttribute::getType ( ) const
inline

Definition at line 116 of file vst3_host.h.

◆ intValue()

int64 Steinberg::HostAttribute::intValue ( ) const
inline

Definition at line 117 of file vst3_host.h.

◆ stringValue()

const Vst::TChar* Steinberg::HostAttribute::stringValue ( uint32 &  stringSize)
inline

Definition at line 120 of file vst3_host.h.

Member Data Documentation

◆ _size

uint32 Steinberg::HostAttribute::_size
protected

Definition at line 140 of file vst3_host.h.

◆ _type

Type Steinberg::HostAttribute::_type
protected

Definition at line 141 of file vst3_host.h.

◆ v


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