Purple.Value – purple Reference Manual
Value
Object Hierarchy:
Purple.Value
Purple.Value
Purple.Value
Description:
[
CCode
( free_function =
"purple_value_destroy"
) ]
[
Compact
]
public
class
Value
Namespace:
Purple
Package:
purple
Content:
Creation methods:
public
Value
(
Type
type)
public
Value.outgoing
(
Type
type)
Methods:
public
unowned
Value
dup
()
public
bool
get_boolean
()
public
void
*
get_boxed
()
public
unowned
ObjectPath
get_char
()
public
int
get_enum
()
public
int
get_int
()
public
int64
get_int64
()
public
long
get_long
()
public
void
*
get_object
()
public
void
*
get_pointer
()
public
short
get_short
()
public
unowned
string
get_specific_type
()
public
unowned
string
get_string
()
public
uint
get_subtype
()
public
uint
get_uchar
()
public
uint
get_uint
()
public
uint64
get_uint64
()
public
uint
get_ulong
()
public
uint
get_ushort
()
public
bool
is_outgoing
()
public
void
set_boolean
(
bool
data)
public
void
set_boxed
(
void
* data)
public
void
set_char
(
ObjectPath
data)
public
void
set_enum
(
int
data)
public
void
set_int
(
int
data)
public
void
set_int64
(
int64
data)
public
void
set_long
(
long
data)
public
void
set_object
(
void
* data)
public
void
set_pointer
(
void
* data)
public
void
set_short
(
short
data)
public
void
set_string
(
string
data)
public
void
set_uchar
(
uint
data)
public
void
set_uint
(
uint
data)
public
void
set_uint64
(
uint64
data)
public
void
set_ulong
(
uint
data)
public
void
set_ushort
(
uint
data)
Fields:
public
void
*
data
public
uint
flags
public
Type
type
public
void
*
u
2022 vala-language.org