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
< 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)
 
Parameters:
object The C instance


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

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

GdaCommand* Gnome::Gda::Command::gobj (  )  [inline]

const GdaCommand* Gnome::Gda::Command::gobj (  )  const [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.

Glib::ustring Gnome::Gda::Command::get_text (  )  const

void Gnome::Gda::Command::set_text ( const Glib::ustring text  ) 

CommandType Gnome::Gda::Command::get_command_type (  )  const

void Gnome::Gda::Command::set_command_type ( CommandType  type  ) 

CommandOptions Gnome::Gda::Command::get_options (  )  const

void Gnome::Gda::Command::set_options ( CommandOptions  options  ) 

Glib::RefPtr<Transaction> Gnome::Gda::Command::get_transaction (  ) 

Glib::RefPtr<const Transaction> Gnome::Gda::Command::get_transaction (  )  const

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

Parameters:
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 Sun Aug 26 23:19:30 2007 for libgdamm by  doxygen 1.5.3