Gnome::Gda::Command Class Reference

#include <command.h>

List of all members.

Public Member Functions

 Command ()
 Command (GdaCommand *castitem, bool make_a_copy=false)
 Command (const Command &src)
Commandoperator= (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< Transactionget_transaction ()
Glib::RefPtr< const Transactionget_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)


Constructor & Destructor Documentation

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]
 


Member Function Documentation

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.

Command& Gnome::Gda::Command::operator= const Command src  ) 
 

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  ) 
 


Friends And Related Function Documentation

Gnome::Gda::Command wrap GdaCommand *  object,
bool  take_copy = false
[related]
 

Parameters:
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.
Returns:
A C++ instance that wraps this C instance.


Member Data Documentation

GdaCommand* Gnome::Gda::Command::gobject_ [protected]
 


The documentation for this class was generated from the following file:
Generated on Sat Dec 31 18:35:08 2005 for libgdamm by  doxygen 1.4.5