Gda.DataModel – libgda-5.0 Reference Manual
Packages
libgda-5.0
Gda
DataModel
error_quark
add_data_from_xml_node
append_row
array_copy_model
array_copy_model_ext
create_iter
describe_column
dump
dump_as_string
export_to_file
export_to_string
freeze
get_access_flags
get_attributes_at
get_column_index
get_column_name
get_column_title
get_exceptions
get_n_columns
get_n_rows
get_notify
get_typed_value_at
get_value_at
import_from_file
import_from_model
import_from_string
iter_at_row
iter_next
iter_prev
iter_set_value
remove_row
send_hint
set_column_name
set_column_title
set_notify
set_value_at
thaw
access_changed
changed
reset
row_inserted
row_removed
row_updated
DataModel
Object Hierarchy:
Description:
public
interface
DataModel
:
Object
All known implementing classes:
DataAccessWrapper
DataModelArray
DataModelDir
DataModelDsnList
DataModelImport
DataModelLdap
DataPivot
DataProxy
DataSelect
Namespace:
Gda
Package:
libgda-5.0
Content:
Static methods:
public
static
Quark
error_quark
()
Methods:
public
bool
add_data_from_xml_node
(
unowned
Node
* node)
throws
Error
public
abstract
int
append_row
()
throws
Error
public
DataModelArray
array_copy_model
()
throws
Error
public
DataModelArray
array_copy_model_ext
(
int
[] cols)
throws
Error
public
abstract
DataModelIter
create_iter
()
public
abstract
weak
Column
describe_column
(
int
col)
public
void
dump
(
void
* to_stream)
public
string
dump_as_string
()
public
bool
export_to_file
(
DataModelIOFormat
format,
string
file,
int
[]? cols,
int
[]? rows,
Set
options)
throws
Error
public
string
export_to_string
(
DataModelIOFormat
format,
int
[]? cols,
int
[]? rows,
Set
options)
public
void
freeze
()
public
abstract
DataModelAccessFlags
get_access_flags
()
public
abstract
ValueAttribute
get_attributes_at
(
int
col,
int
row)
public
int
get_column_index
(
string
name)
public
unowned
string
get_column_name
(
int
col)
public
unowned
string
get_column_title
(
int
col)
public
abstract
weak
Error
[]
get_exceptions
()
public
abstract
int
get_n_columns
()
public
abstract
int
get_n_rows
()
public
abstract
bool
get_notify
()
public
unowned
Value
?
get_typed_value_at
(
int
col,
int
row,
Type
expected_type,
bool
nullok)
throws
Error
public
abstract
unowned
Value
?
get_value_at
(
int
col,
int
row)
throws
Error
public
bool
import_from_file
(
string
file,
HashTable
<
int
,
int
>? cols_trans,
Set
options)
throws
Error
public
bool
import_from_model
(
DataModel
from,
bool
overwrite,
HashTable
<
int
,
int
>? cols_trans)
throws
Error
public
bool
import_from_string
(
string
string,
HashTable
<
int
,
int
>? cols_trans,
Set
options)
throws
Error
public
abstract
bool
iter_at_row
(
DataModelIter
iter,
int
row)
public
abstract
bool
iter_next
(
DataModelIter
iter)
public
abstract
bool
iter_prev
(
DataModelIter
iter)
public
abstract
bool
iter_set_value
(
DataModelIter
iter,
int
col,
Value
value)
throws
Error
public
abstract
bool
remove_row
(
int
row)
throws
Error
public
abstract
void
send_hint
(
DataModelHint
hint,
Value
? hint_value)
public
void
set_column_name
(
int
col,
string
name)
public
void
set_column_title
(
int
col,
string
title)
public
abstract
void
set_notify
(
bool
do_notify_changes)
public
abstract
bool
set_value_at
(
int
col,
int
row,
Value
value)
throws
Error
public
void
thaw
()
Signals:
public
virtual
signal
void
access_changed
()
public
virtual
signal
void
changed
()
public
virtual
signal
void
reset
()
public
virtual
signal
void
row_inserted
(
int
row)
public
virtual
signal
void
row_removed
(
int
row)
public
virtual
signal
void
row_updated
(
int
row)
Inherited Members:
All known members inherited from class GLib.Object
@new
newv
new_valist
get_type
get_class
@ref
unref
ref_sink
weak_ref
weak_unref
add_weak_pointer
remove_weak_pointer
@get
@set
get_property
set_property
get_data
set_data
set_data_full
steal_data
get_qdata
set_qdata
set_qdata_full
steal_qdata
freeze_notify
thaw_notify
dispose
constructed
notify_property
connect
disconnect
add_toggle_ref
remove_toggle_ref
bind_property
notify
ref_count