EvidenceComboBox Class Reference

Combo box to display evidence. More...

#include <casecombobox.h>

List of all members.

Public Member Functions

 EvidenceComboBox (const EvidenceMap &ev)
 Constructor.
bool empty () const
 See if the combo box is empty.
void set_active_internal (const Glib::ustring &id)
 Set the active evidence by internal ID.
Glib::ustring get_selected_name () const
 Get the selected evidence's name.
Glib::ustring get_selected_internal () const
 Get the selected evidence's internal ID.
Case::Evidenceget_selected_evidence ()
 Get the selected evidence.

Protected Attributes

EvidenceMap m_Evidence
 Internal record of evidence.


Detailed Description

Combo box to display evidence.

Constructor & Destructor Documentation

EvidenceComboBox::EvidenceComboBox ( const EvidenceMap &  ev  ) 

Constructor.

Parameters:
ev Map of evidence to display


Member Function Documentation

bool EvidenceComboBox::empty (  )  const [inline]

See if the combo box is empty.

Returns:
true if empty, false otherwise

void EvidenceComboBox::set_active_internal ( const Glib::ustring &  id  ) 

Set the active evidence by internal ID.

Parameters:
id The internal ID

Glib::ustring EvidenceComboBox::get_selected_name (  )  const

Get the selected evidence's name.

Returns:
The display name of the selected evidence

Glib::ustring EvidenceComboBox::get_selected_internal (  )  const

Get the selected evidence's internal ID.

Returns:
The internal ID of the selected evidence

Case::Evidence * EvidenceComboBox::get_selected_evidence (  ) 

Get the selected evidence.

Returns:
Pointer to selected Case::Evidence object


The documentation for this class was generated from the following files:
Generated on Fri Feb 22 22:34:18 2008 for Phoenix Wright Case Editor API by  doxygen 1.5.3