#include <command.h>
Public Member Functions | |
Command () | |
Command (GdaCommand *castitem, bool make_a_copy=false) | |
Command (const Command &src) | |
Command & | operator= (const Command &src) |
~Command () | |
GdaCommand * | gobj () |
const GdaCommand * | gobj () const |
GdaCommand * | gobj_copy () const |
Provides access to the underlying C instance. The caller is responsible for freeing it. Use when directly setting fields in structs. | |
Command (const Glib::ustring &text, CommandType type=COMMAND_TYPE_SQL, CommandOptions options=COMMAND_OPTION_STOP_ON_ERRORS) | |
Glib::ustring | get_text () const |
void | set_text (const Glib::ustring &text) |
CommandType | get_command_type () const |
void | set_command_type (CommandType type) |
CommandOptions | get_options () const |
void | set_options (CommandOptions options) |
Glib::RefPtr< Transaction > | get_transaction () |
Glib::RefPtr< const Transaction > | get_transaction () const |
void | set_transaction (const Glib::RefPtr< Transaction > &xaction) |
Protected Attributes | |
GdaCommand * | gobject_ |
Related Functions | |
(Note that these are not member functions.) | |
Gnome::Gda::Command | wrap (GdaCommand *object, bool take_copy=false) |
Gnome::Gda::Command::Command | ( | ) |
Gnome::Gda::Command::Command | ( | GdaCommand * | castitem, | |
bool | make_a_copy = false | |||
) | [explicit] |
Gnome::Gda::Command::Command | ( | const Command & | src | ) |
Gnome::Gda::Command::~Command | ( | ) |
Gnome::Gda::Command::Command | ( | const Glib::ustring & | text, | |
CommandType | type = COMMAND_TYPE_SQL , |
|||
CommandOptions | options = COMMAND_OPTION_STOP_ON_ERRORS | |||
) | [explicit] |
CommandType Gnome::Gda::Command::get_command_type | ( | ) | const |
CommandOptions Gnome::Gda::Command::get_options | ( | ) | const |
Glib::ustring Gnome::Gda::Command::get_text | ( | ) | const |
Glib::RefPtr<const Transaction> Gnome::Gda::Command::get_transaction | ( | ) | const |
Glib::RefPtr<Transaction> Gnome::Gda::Command::get_transaction | ( | ) |
const GdaCommand* Gnome::Gda::Command::gobj | ( | ) | const [inline] |
GdaCommand* Gnome::Gda::Command::gobj | ( | ) | [inline] |
GdaCommand* Gnome::Gda::Command::gobj_copy | ( | ) | const |
Provides access to the underlying C instance. The caller is responsible for freeing it. Use when directly setting fields in structs.
void Gnome::Gda::Command::set_command_type | ( | CommandType | type | ) |
void Gnome::Gda::Command::set_options | ( | CommandOptions | options | ) |
void Gnome::Gda::Command::set_text | ( | const Glib::ustring & | text | ) |
void Gnome::Gda::Command::set_transaction | ( | const Glib::RefPtr< Transaction > & | xaction | ) |
Gnome::Gda::Command wrap | ( | GdaCommand * | object, | |
bool | take_copy = false | |||
) | [related] |
object | The C instance | |
take_copy | False if the result should take ownership of the C instance. True if it should take a new copy or ref. |
GdaCommand* Gnome::Gda::Command::gobject_ [protected] |