Gnome::Gda Namespace Reference


Classes

class  Blob
class  BlobOp
 Blobs handling. More...
class  ClientError
 Exception class for Gda client errors. More...
class  Client
 Database client access. More...
class  Column
 Management of DataModel column attributes. More...
class  ColumnIndex
 DataModel column indexes — Management of DataModel column index attributes. More...
class  Command
 For issuing commands to the provider. More...
class  GeneralError
 Exception class for Gda errors. More...
class  ConnectionError
 Exception class for Gda connection errors. More...
class  Connection
 Manages a connection to a data source. More...
class  ConnectionEvent
 Any event which has occurred on a GdaConnection. More...
class  DataHandler
 Base class which provides data handling capabilities. More...
class  DataModel
 Abstract DataModel (Base class for all DataModels). More...
class  DataModelArray
 An implementation of DataModel based on an array. More...
class  DataModelFilterSQL
 Filtering data from one or several DataModel objects. More...
class  DataModelHash
 An implementation of GdaDataModel based on a hash table. More...
class  DataModelImport
 Importing data from a string or a file. More...
class  DataModelIndex
class  DataModelIter
class  DataModelQueryError
 Exception class for DataModelQuery errors. More...
class  DataModelQuery
 An implementation of DataModel based on a SELECT query. More...
class  DataModelRow
 Base implementation for other objects to implement the DataModel interface based on the use of rows. More...
class  DataProxy
 Proxy to hold modifications for any DataModel, providing the DataModel interface itself. More...
class  DataSourceInfo
class  Dict
 This object is a "proxy repository" for objects in a database. More...
class  DictAggregate
 Represents an aggregate in the DBMS (like COUNT() or AVG(), for example). More...
class  DictConstraint
 Represents a constraint within a database. More...
class  DictDatabase
 Represents a database structure in the DBMS server. More...
class  DictField
 Represents a field in a table or a view in the database. More...
class  DictTable
 Represents a table or a view in the database. More...
class  DictType
 Represents a data type in the DBMS. More...
class  Entity
 Base class to represent a generic entity (for tables, views or queries). More...
class  EntityField
 Base class to represent a generic field (for tables' fields, etc). More...
class  HandlerBin
 Default handler for binary values. More...
class  HandlerBoolean
 Default Handler for booleans. More...
class  HandlerNumerical
 Default handler for numeric values. More...
class  HandlerString
 Default handler for strings. More...
class  HandlerTime
 Default handler for time, date and timestamp. More...
class  HandlerType
 Default handler for GType values. More...
class  Object
 The base class for many of the libgda objects. More...
class  ParameterError
 Exception class for Gda parameter errors. More...
class  Parameter
 Represents a Value with various attributes. More...
class  ParameterListError
 Exception class for Gda parameter list errors. More...
class  ParameterList
 Manages a list of GdaParameter objects which contain individual values. More...
class  ProviderInfo
class  Query
 Represents any kind of DML query. More...
class  QueryCondition
 Represents a condition within a query. More...
class  QueryField
 Parent class for any query's field. More...
class  QueryFieldAgg
 Represents a function (selected by a DictAggregate object). More...
class  QueryFieldAll
 Represents all the fields of an entity (through a GdaQueryTarget object). More...
class  QueryFieldField
 Represents one field of an entity (through a QueryTarget object). More...
class  QueryFieldValue
 Represents a single value (or a parameter). More...
class  QueryObject
 Parent class for any object participating in a GdaQuery query. More...
class  QueryTarget
 Represents a target entity within a query. More...
class  Referer
 Base class to know when on object is completely defined. More...
class  Renderer
 Base class to get representations of objects as SQL statements, XML nodes or human readable text. More...
class  Row
class  ServerOperation
 Handles any DDL query in an abstract way. More...
class  ServerProvider
class  TransactionStatus
 Keeps track of the transactional status of a connection. More...
class  Value
 Use value_type() to identify the value type at runtime. More...
class  XmlStorage
 Base class which provides saving and loading using XML structures. More...

Namespaces

namespace  Config

Typedefs

typedef GdaServerProviderInfo ServerProviderInfo
typedef GdaServerProviderInfo ServerProviderInfo
typedef GdaGeometricPoint GeometricPoint
typedef GdaTime Time
typedef GdaTimestamp Timestamp
typedef Glib::ListHandle<
Value, ValueTraits > 
ValueList
typedef Glib::SListHandle<
Value, ValueTraits > 
ValueSList
typedef GdaGeometricPoint GeometricPoint

Enumerations

enum  ClientEvent {
  CLIENT_EVENT_INVALID, CLIENT_EVENT_ERROR, CLIENT_EVENT_CONNECTION_OPENED, CLIENT_EVENT_CONNECTION_CLOSED,
  CLIENT_EVENT_TRANSACTION_STARTED, CLIENT_EVENT_TRANSACTION_COMMITTED, CLIENT_EVENT_TRANSACTION_CANCELLED
}
enum  Sorting { SORTING_ASCENDING, SORTING_DESCENDING }
enum  CommandType {
  COMMAND_TYPE_SQL, COMMAND_TYPE_XML, COMMAND_TYPE_PROCEDURE, COMMAND_TYPE_TABLE,
  COMMAND_TYPE_SCHEMA, COMMAND_TYPE_INVALID
}
enum  CommandOptions { COMMAND_OPTION_IGNORE_ERRORS = 1, COMMAND_OPTION_STOP_ON_ERRORS = 1 << 1, COMMAND_OPTION_BAD_OPTION = 1 << 2 }
enum  ConnectionFeature {
  CONNECTION_FEATURE_AGGREGATES, CONNECTION_FEATURE_BLOBS, CONNECTION_FEATURE_INDEXES, CONNECTION_FEATURE_INHERITANCE,
  CONNECTION_FEATURE_NAMESPACES, CONNECTION_FEATURE_PROCEDURES, CONNECTION_FEATURE_SEQUENCES, CONNECTION_FEATURE_SQL,
  CONNECTION_FEATURE_TRANSACTIONS, CONNECTION_FEATURE_SAVEPOINTS, CONNECTION_FEATURE_SAVEPOINTS_REMOVE, CONNECTION_FEATURE_TRIGGERS,
  CONNECTION_FEATURE_UPDATABLE_CURSOR, CONNECTION_FEATURE_USERS, CONNECTION_FEATURE_VIEWS, CONNECTION_FEATURE_XML_QUERIES
}
enum  ConnectionSchema {
  CONNECTION_SCHEMA_AGGREGATES, CONNECTION_SCHEMA_DATABASES, CONNECTION_SCHEMA_FIELDS, CONNECTION_SCHEMA_INDEXES,
  CONNECTION_SCHEMA_LANGUAGES, CONNECTION_SCHEMA_NAMESPACES, CONNECTION_SCHEMA_PARENT_TABLES, CONNECTION_SCHEMA_PROCEDURES,
  CONNECTION_SCHEMA_SEQUENCES, CONNECTION_SCHEMA_TABLES, CONNECTION_SCHEMA_TRIGGERS, CONNECTION_SCHEMA_TYPES,
  CONNECTION_SCHEMA_USERS, CONNECTION_SCHEMA_VIEWS, CONNECTION_SCHEMA_CONSTRAINTS, CONNECTION_SCHEMA_TABLE_CONTENTS
}
enum  ConnectionOptions { CONNECTION_OPTIONS_NONE = 0, CONNECTION_OPTIONS_READ_ONLY = 1 << 0 }
enum  DataModelAccessFlags {
  DATA_MODEL_ACCESS_RANDOM = 1 << 0, DATA_MODEL_ACCESS_CURSOR_FORWARD = 1 << 1, DATA_MODEL_ACCESS_CURSOR_BACKWARD = 1 << 2, DATA_MODEL_ACCESS_INSERT = 1 << 3,
  DATA_MODEL_ACCESS_UPDATE = 1 << 4, DATA_MODEL_ACCESS_DELETE = 1 << 5, DATA_MODEL_ACCESS_WRITE = 0x8
}
enum  DataModelHint { DATA_MODEL_HINT_START_BATCH_UPDATE, DATA_MODEL_HINT_END_BATCH_UPDATE, DATA_MODEL_HINT_REFRESH }
enum  DataModelIOFormat { DATA_MODEL_IO_DATA_ARRAY_XML, DATA_MODEL_IO_TEXT_SEPARATED }
enum  DataModelQueryOptions { DATA_MODEL_QUERY_OPTION_USE_ALL_FIELDS_IF_NO_PK = 1 << 0 }
enum  DictConstraintType {
  PRIMARY_KEY, FOREIGN_KEY, UNIQUE, NOT_NULL,
  CHECK_EXPR, CHECK_IN_LIST, CHECK_SETOF_LIST, UNKNOWN
}
enum  DictConstraintFkAction {
  FK_ACTION_CASCADE, FK_ACTION_SET_NULL, FK_ACTION_SET_DEFAULT, FK_ACTION_SET_VALUE,
  FK_ACTION_NO_ACTION
}
enum  DictFieldAttribute { AUTO_INCREMENT = 1 << 0 }
enum  ValueAttribute {
  VALUE_ATTR_NONE = 0, VALUE_ATTR_IS_NULL = 1 << 0, VALUE_ATTR_CAN_BE_NULL = 1 << 1, VALUE_ATTR_IS_DEFAULT = 1 << 2,
  VALUE_ATTR_CAN_BE_DEFAULT = 1 << 3, VALUE_ATTR_IS_UNCHANGED = 1 << 4, VALUE_ATTR_ACTIONS_SHOWN = 1 << 5, VALUE_ATTR_DATA_NON_VALID = 1 << 6,
  VALUE_ATTR_HAS_VALUE_ORIG = 1 << 7, VALUE_ATTR_NO_MODIF = 1 << 8, VALUE_ATTR_UNUSED = 1 << 9
}
enum  QueryType {
  QUERY_TYPE_SELECT, QUERY_TYPE_INSERT, QUERY_TYPE_UPDATE, QUERY_TYPE_DELETE,
  QUERY_TYPE_UNION, QUERY_TYPE_INTERSECT, QUERY_TYPE_EXCEPT, QUERY_TYPE_NON_PARSED_SQL
}
enum  QueryFieldState { ENTITY_FIELD_VISIBLE = 1 << 0, ENTITY_FIELD_INVISIBLE = 1 << 1, ENTITY_FIELD_ANY = 0x1 }
enum  QueryConditionType {
  QUERY_CONDITION_NODE_AND, QUERY_CONDITION_NODE_OR, QUERY_CONDITION_NODE_NOT, QUERY_CONDITION_LEAF_EQUAL,
  QUERY_CONDITION_LEAF_DIFF, QUERY_CONDITION_LEAF_SUP, QUERY_CONDITION_LEAF_SUPEQUAL, QUERY_CONDITION_LEAF_INF,
  QUERY_CONDITION_LEAF_INFEQUAL, QUERY_CONDITION_LEAF_LIKE, QUERY_CONDITION_LEAF_SIMILAR, QUERY_CONDITION_LEAF_REGEX,
  QUERY_CONDITION_LEAF_REGEX_NOCASE, QUERY_CONDITION_LEAF_NOT_REGEX, QUERY_CONDITION_LEAF_NOT_REGEX_NOCASE, QUERY_CONDITION_LEAF_IN,
  QUERY_CONDITION_LEAF_BETWEEN, QUERY_CONDITION_TYPE_UNKNOWN
}
enum  QueryConditionOperator { QUERY_CONDITION_OP_LEFT, QUERY_CONDITION_OP_RIGHT, QUERY_CONDITION_OP_RIGHT2 }
enum  RendererOptions {
  RENDERER_EXTRA_PRETTY_SQL = 1 << 0, RENDERER_PARAMS_AS_DETAILED = 1 << 1, RENDERER_ERROR_IF_DEFAULT = 1 << 2, RENDERER_FIELDS_NO_TARGET_ALIAS = 1 << 3,
  RENDERER_PARAMS_AS_COLON = 1 << 4, RENDERER_PARAMS_AS_DOLLAR = 1 << 5
}
enum  ServerOperationNodeType {
  SERVER_OPERATION_NODE_PARAMLIST, SERVER_OPERATION_NODE_DATA_MODEL, SERVER_OPERATION_NODE_PARAM, SERVER_OPERATION_NODE_SEQUENCE,
  SERVER_OPERATION_NODE_SEQUENCE_ITEM, SERVER_OPERATION_NODE_DATA_MODEL_COLUMN, SERVER_OPERATION_NODE_UNKNOWN
}
enum  ServerOperationType {
  SERVER_OPERATION_CREATE_DB, SERVER_OPERATION_DROP_DB, SERVER_OPERATION_CREATE_TABLE, SERVER_OPERATION_DROP_TABLE,
  SERVER_OPERATION_RENAME_TABLE, SERVER_OPERATION_ADD_COLUMN, SERVER_OPERATION_DROP_COLUMN, SERVER_OPERATION_CREATE_INDEX,
  SERVER_OPERATION_DROP_INDEX, SERVER_OPERATION_NB
}
enum  TransactionIsolation {
  TRANSACTION_ISOLATION_UNKNOWN, TRANSACTION_ISOLATION_READ_COMMITTED, TRANSACTION_ISOLATION_READ_UNCOMMITTED, TRANSACTION_ISOLATION_REPEATABLE_READ,
  TRANSACTION_ISOLATION_SERIALIZABLE
}

Functions

CommandOptions operator| (CommandOptions lhs, CommandOptions rhs)
CommandOptions operator& (CommandOptions lhs, CommandOptions rhs)
CommandOptions operator^ (CommandOptions lhs, CommandOptions rhs)
CommandOptions operator~ (CommandOptions flags)
CommandOptionsoperator|= (CommandOptions& lhs, CommandOptions rhs)
CommandOptionsoperator&= (CommandOptions& lhs, CommandOptions rhs)
CommandOptionsoperator^= (CommandOptions& lhs, CommandOptions rhs)
ConnectionOptions operator| (ConnectionOptions lhs, ConnectionOptions rhs)
ConnectionOptions operator& (ConnectionOptions lhs, ConnectionOptions rhs)
ConnectionOptions operator^ (ConnectionOptions lhs, ConnectionOptions rhs)
ConnectionOptions operator~ (ConnectionOptions flags)
ConnectionOptionsoperator|= (ConnectionOptions& lhs, ConnectionOptions rhs)
ConnectionOptionsoperator&= (ConnectionOptions& lhs, ConnectionOptions rhs)
ConnectionOptionsoperator^= (ConnectionOptions& lhs, ConnectionOptions rhs)
DataModelAccessFlags operator| (DataModelAccessFlags lhs, DataModelAccessFlags rhs)
DataModelAccessFlags operator& (DataModelAccessFlags lhs, DataModelAccessFlags rhs)
DataModelAccessFlags operator^ (DataModelAccessFlags lhs, DataModelAccessFlags rhs)
DataModelAccessFlags operator~ (DataModelAccessFlags flags)
DataModelAccessFlagsoperator|= (DataModelAccessFlags& lhs, DataModelAccessFlags rhs)
DataModelAccessFlagsoperator&= (DataModelAccessFlags& lhs, DataModelAccessFlags rhs)
DataModelAccessFlagsoperator^= (DataModelAccessFlags& lhs, DataModelAccessFlags rhs)
DataModelQueryOptions operator| (DataModelQueryOptions lhs, DataModelQueryOptions rhs)
DataModelQueryOptions operator& (DataModelQueryOptions lhs, DataModelQueryOptions rhs)
DataModelQueryOptions operator^ (DataModelQueryOptions lhs, DataModelQueryOptions rhs)
DataModelQueryOptions operator~ (DataModelQueryOptions flags)
DataModelQueryOptionsoperator|= (DataModelQueryOptions& lhs, DataModelQueryOptions rhs)
DataModelQueryOptionsoperator&= (DataModelQueryOptions& lhs, DataModelQueryOptions rhs)
DataModelQueryOptionsoperator^= (DataModelQueryOptions& lhs, DataModelQueryOptions rhs)
DictFieldAttribute operator| (DictFieldAttribute lhs, DictFieldAttribute rhs)
DictFieldAttribute operator& (DictFieldAttribute lhs, DictFieldAttribute rhs)
DictFieldAttribute operator^ (DictFieldAttribute lhs, DictFieldAttribute rhs)
DictFieldAttribute operator~ (DictFieldAttribute flags)
DictFieldAttributeoperator|= (DictFieldAttribute& lhs, DictFieldAttribute rhs)
DictFieldAttributeoperator&= (DictFieldAttribute& lhs, DictFieldAttribute rhs)
DictFieldAttributeoperator^= (DictFieldAttribute& lhs, DictFieldAttribute rhs)
void init (const Glib::ustring& app_id, const Glib::ustring& version, int nargs, gchar* args[])
ValueAttribute operator| (ValueAttribute lhs, ValueAttribute rhs)
ValueAttribute operator& (ValueAttribute lhs, ValueAttribute rhs)
ValueAttribute operator^ (ValueAttribute lhs, ValueAttribute rhs)
ValueAttribute operator~ (ValueAttribute flags)
ValueAttributeoperator|= (ValueAttribute& lhs, ValueAttribute rhs)
ValueAttributeoperator&= (ValueAttribute& lhs, ValueAttribute rhs)
ValueAttributeoperator^= (ValueAttribute& lhs, ValueAttribute rhs)
QueryFieldState operator| (QueryFieldState lhs, QueryFieldState rhs)
QueryFieldState operator& (QueryFieldState lhs, QueryFieldState rhs)
QueryFieldState operator^ (QueryFieldState lhs, QueryFieldState rhs)
QueryFieldState operator~ (QueryFieldState flags)
QueryFieldStateoperator|= (QueryFieldState& lhs, QueryFieldState rhs)
QueryFieldStateoperator&= (QueryFieldState& lhs, QueryFieldState rhs)
QueryFieldStateoperator^= (QueryFieldState& lhs, QueryFieldState rhs)
RendererOptions operator| (RendererOptions lhs, RendererOptions rhs)
RendererOptions operator& (RendererOptions lhs, RendererOptions rhs)
RendererOptions operator^ (RendererOptions lhs, RendererOptions rhs)
RendererOptions operator~ (RendererOptions flags)
RendererOptionsoperator|= (RendererOptions& lhs, RendererOptions rhs)
RendererOptionsoperator&= (RendererOptions& lhs, RendererOptions rhs)
RendererOptionsoperator^= (RendererOptions& lhs, RendererOptions rhs)
GType value_get_type_null ()
GType value_get_type_binary ()
GType value_get_type_blob ()
GType value_get_type_geometric_point ()
GType value_get_type_list ()
GType value_get_type_numeric ()
GType value_get_type_short ()
GType value_get_type_ushort ()
GType value_get_type_time ()
GType value_get_type_timestamp ()
int value_compare (const Glib::ValueBase& value1, const Glib::ValueBase& value2)
int value_compare_ext (const Glib::ValueBase& value1, const Glib::ValueBase& value2)
bool value_equal (const Glib::ValueBase& value1, const Glib::ValueBase& value2)
void wrap_init ()


Typedef Documentation

typedef GdaServerProviderInfo Gnome::Gda::ServerProviderInfo

typedef GdaServerProviderInfo Gnome::Gda::ServerProviderInfo

typedef GdaGeometricPoint Gnome::Gda::GeometricPoint

typedef GdaTime Gnome::Gda::Time

typedef GdaTimestamp Gnome::Gda::Timestamp

typedef Glib::ListHandle<Value, ValueTraits> Gnome::Gda::ValueList

typedef Glib::SListHandle<Value, ValueTraits> Gnome::Gda::ValueSList

typedef GdaGeometricPoint Gnome::Gda::GeometricPoint


Function Documentation

void Gnome::Gda::init ( const Glib::ustring app_id,
const Glib::ustring version,
int  nargs,
gchar *  args[] 
)

GType Gnome::Gda::value_get_type_null (  ) 

GType Gnome::Gda::value_get_type_binary (  ) 

GType Gnome::Gda::value_get_type_blob (  ) 

GType Gnome::Gda::value_get_type_geometric_point (  ) 

GType Gnome::Gda::value_get_type_list (  ) 

GType Gnome::Gda::value_get_type_numeric (  ) 

GType Gnome::Gda::value_get_type_short (  ) 

GType Gnome::Gda::value_get_type_ushort (  ) 

GType Gnome::Gda::value_get_type_time (  ) 

GType Gnome::Gda::value_get_type_timestamp (  ) 

int Gnome::Gda::value_compare ( const Glib::ValueBase value1,
const Glib::ValueBase value2 
)

int Gnome::Gda::value_compare_ext ( const Glib::ValueBase value1,
const Glib::ValueBase value2 
)

bool Gnome::Gda::value_equal ( const Glib::ValueBase value1,
const Glib::ValueBase value2 
)

void Gnome::Gda::wrap_init (  ) 


Generated on Sat Feb 10 20:06:28 2007 for libgdamm by  doxygen 1.4.7