nongnu.org/gsequencer


gsequencer 7.0.5
Advanced Gtk+ Sequencer
ags_vst_ustring.h File Reference
#include <glib.h>
Include dependency graph for ags_vst_ustring.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef struct UString AgsVstUstring
 
typedef struct UString128 AgsVstUstring128
 
typedef struct UString256 AgsVstUstring256
 

Functions

AgsVstUstringags_vst_ustring_new_from_buffer (gunichar2 *buffer, gint32 size)
 
gint32 ags_vst_ustring_get_size (AgsVstUstring *ustring)
 
gint32 ags_vst_ustring_get_length (AgsVstUstring *ustring)
 
AgsVstUstringags_vst_ustring_assign (AgsVstUstring *ustring, gunichar2 *src, gint32 src_size)
 
AgsVstUstringags_vst_ustring_append (AgsVstUstring *ustring, gunichar2 *src, gint32 src_size)
 
AgsVstUstringags_vst_ustring_copy_to (AgsVstUstring *ustring, gunichar2 *dst, gint32 dst_size)
 
AgsVstUstringags_vst_ustring_from_ascii (AgsVstUstring *ustring, const gchar *src, gint32 src_size)
 
AgsVstUstringags_vst_ustring_assign_from_ascii (AgsVstUstring *ustring, const gchar *src, gint32 src_size)
 
AgsVstUstringags_vst_ustring_to_ascii (AgsVstUstring *ustring, gchar *dst, gint32 dst_size)
 
gboolean ags_vst_ustring_scan_int (AgsVstUstring *ustring, gint64 *value)
 
gboolean ags_vst_ustring_print_int (AgsVstUstring *ustring, gint64 value)
 
gboolean ags_vst_ustring_scan_float (AgsVstUstring *ustring, gdouble *value)
 
gboolean ags_vst_ustring_print_float (AgsVstUstring *ustring, gdouble value)
 

Typedef Documentation

◆ AgsVstUstring

typedef struct UString AgsVstUstring

◆ AgsVstUstring128

typedef struct UString128 AgsVstUstring128

◆ AgsVstUstring256

typedef struct UString256 AgsVstUstring256

Function Documentation

◆ ags_vst_ustring_append()

AgsVstUstring * ags_vst_ustring_append ( AgsVstUstring ustring,
gunichar2 *  src,
gint32  src_size 
)

Append.

Parameters
ustringthe u-string
srcthe source
src_sizethe source size
Returns
the AgsVstUstring
Since
5.0.0

◆ ags_vst_ustring_assign()

AgsVstUstring * ags_vst_ustring_assign ( AgsVstUstring ustring,
gunichar2 *  src,
gint32  src_size 
)

Assign.

Parameters
ustringthe u-string
srcthe source
src_sizethe source size
Returns
the AgsVstUstring
Since
5.0.0

◆ ags_vst_ustring_assign_from_ascii()

AgsVstUstring * ags_vst_ustring_assign_from_ascii ( AgsVstUstring ustring,
const gchar *  src,
gint32  src_size 
)

Assign from ASCII.

Parameters
ustringthe u-string
srcthe source
src_sizethe source size
Returns
the AgsVstUstring
Since
5.0.0

◆ ags_vst_ustring_copy_to()

AgsVstUstring * ags_vst_ustring_copy_to ( AgsVstUstring ustring,
gunichar2 *  dst,
gint32  dst_size 
)

Copy to.

Parameters
ustringthe u-string
srcthe source
src_sizethe source size
Returns
the AgsVstUstring
Since
5.0.0

◆ ags_vst_ustring_from_ascii()

AgsVstUstring * ags_vst_ustring_from_ascii ( AgsVstUstring ustring,
const gchar *  src,
gint32  src_size 
)

From ASCII.

Parameters
ustringthe u-string
srcthe source
src_sizethe source size
Returns
the AgsVstUstring
Since
5.0.0

◆ ags_vst_ustring_get_length()

gint32 ags_vst_ustring_get_length ( AgsVstUstring ustring)

Get length.

Parameters
ustringthe u-string
Returns
the length
Since
5.0.0

◆ ags_vst_ustring_get_size()

gint32 ags_vst_ustring_get_size ( AgsVstUstring ustring)

Get size.

Parameters
ustringthe u-string
Returns
the size
Since
5.0.0

◆ ags_vst_ustring_new_from_buffer()

AgsVstUstring * ags_vst_ustring_new_from_buffer ( gunichar2 *  buffer,
gint32  size 
)

Instantiate Steinberg::UString and return a C99 compatible handle AgsVstUstring a void pointer.

Returns
the new instance of Steinberg::UString as AgsVstUstring
Since
5.0.0

◆ ags_vst_ustring_print_float()

gboolean ags_vst_ustring_print_float ( AgsVstUstring ustring,
gdouble  value 
)

Print float.

Parameters
ustringthe u-string
valuethe value
Returns
true on success, otherwise false
Since
5.0.0

◆ ags_vst_ustring_print_int()

gboolean ags_vst_ustring_print_int ( AgsVstUstring ustring,
gint64  value 
)

Print int.

Parameters
ustringthe u-string
valuethe value
Returns
true on success, otherwise false
Since
5.0.0

◆ ags_vst_ustring_scan_float()

gboolean ags_vst_ustring_scan_float ( AgsVstUstring ustring,
gdouble *  value 
)

Scan float.

Parameters
ustringthe u-string
valuethe value
Returns
true on success, otherwise false
Since
5.0.0

◆ ags_vst_ustring_scan_int()

gboolean ags_vst_ustring_scan_int ( AgsVstUstring ustring,
gint64 *  value 
)

Scan int.

Parameters
ustringthe u-string
valuethe value
Returns
true on success, otherwise false
Since
5.0.0

◆ ags_vst_ustring_to_ascii()

AgsVstUstring * ags_vst_ustring_to_ascii ( AgsVstUstring ustring,
gchar *  dst,
gint32  dst_size 
)

To ASCII.

Parameters
ustringthe u-string
dstthe destination
dst_sizethe destination size
Returns
the AgsVstUstring
Since
5.0.0