GEOCAT_DIALOG Class Reference

GEOCAT_DIALOG class definition. More...

#include <mi32/geocatd.h>

Inheritance diagram for GEOCAT_DIALOG:

Inheritance graph
[legend]
List of all members.

Public Member Functions

void ClearSelectedObjects ()
 GEOCAT_DIALOG ()
bool GetSelectedObject (RVCOBJITEM &objitem) const
bool GetSelectedObjects (RVCOBJITEMLIST &objlist) const
void SetAllowedObjTypes (const SIMPLE_ARRAY< UINT16 > &objtypes)
void SetSearchExtents (const DRECT2D &SearchExtents, const SPATREF::COORDREFSYS &ExtentsCRS)
void SetSearchObjType (UINT16 objtype)
void SetSearchObjTypes (const SIMPLE_ARRAY< UINT16 > &objtypes)
void SetSearchPoint (const DPOINT2D &SearchPoint, const SPATREF::COORDREFSYS &PointCRS)
virtual ~GEOCAT_DIALOG ()

Protected Member Functions

virtual const char * GetDialogHelpID () const
virtual const char * GetDialogName () const
virtual void OnApply ()
virtual ERRVALUE OnInitDialog (Widget form)
virtual void OnOK ()
virtual void OnOpen ()

Detailed Description

GEOCAT_DIALOG class definition.

Definition at line 77 of file geocatd.h.


Constructor & Destructor Documentation

GEOCAT_DIALOG::GEOCAT_DIALOG  ) 
 

virtual GEOCAT_DIALOG::~GEOCAT_DIALOG  )  [virtual]
 


Member Function Documentation

void GEOCAT_DIALOG::ClearSelectedObjects  )  [inline]
 

Clear selected objects.

Definition at line 87 of file geocatd.h.

virtual const char* GEOCAT_DIALOG::GetDialogHelpID  )  const [inline, protected, virtual]
 

Get dialog HelpID.

Implements MIDIALOG.

Definition at line 147 of file geocatd.h.

virtual const char* GEOCAT_DIALOG::GetDialogName  )  const [inline, protected, virtual]
 

Get dialog name for title resource.

Implements MIDIALOG.

Definition at line 153 of file geocatd.h.

bool GEOCAT_DIALOG::GetSelectedObject RVCOBJITEM objitem  )  const [inline]
 

Get first selected object.

Returns:
true if any selected, false if not

Definition at line 96 of file geocatd.h.

bool GEOCAT_DIALOG::GetSelectedObjects RVCOBJITEMLIST objlist  )  const [inline]
 

Get current selected object list.

Returns:
true if any selected, false if not.
Parameters:
objlist  Selected object list filled in and returned

Definition at line 105 of file geocatd.h.

virtual void GEOCAT_DIALOG::OnApply  )  [protected, virtual]
 

Called when user presses "Apply" or "OK" button.

Derived class must call superclass OnApply() method before performing its own processing.

Reimplemented from MIDIALOG.

virtual ERRVALUE GEOCAT_DIALOG::OnInitDialog Widget  form  )  [protected, virtual]
 

Create dialog contents.

Implements MIDIALOG.

virtual void GEOCAT_DIALOG::OnOK  )  [protected, virtual]
 

Called when OK button pressed.

Reimplemented from MIDIALOG.

virtual void GEOCAT_DIALOG::OnOpen  )  [protected, virtual]
 

Called when dialog is opened.

Reimplemented from MIDIALOG.

void GEOCAT_DIALOG::SetAllowedObjTypes const SIMPLE_ARRAY< UINT16 > &  objtypes  ) 
 

Set object types to search for.

If used, this must be done before initially opening the dialog. If more than one type is allowed the 'Search' panel will include buttons to choose from among the specified types. The default is to allow all "displayable" object types.

Parameters:
objtypes  Object types user is allowed to search for

void GEOCAT_DIALOG::SetSearchExtents const DRECT2D SearchExtents,
const SPATREF::COORDREFSYS ExtentsCRS
 

Set extents for next "range" search operation.

void GEOCAT_DIALOG::SetSearchObjType UINT16  objtype  ) 
 

Set single object type to search for.

If object type is not allowed for searching the setting will be ignored

Parameters:
objtype  Object type to search for, OTYPE_ALL for all allowed types

void GEOCAT_DIALOG::SetSearchObjTypes const SIMPLE_ARRAY< UINT16 > &  objtypes  ) 
 

Set object types to search for.

Object types not "allowed" for selection will be ignored.

Parameters:
objtypes  Object types to search for

void GEOCAT_DIALOG::SetSearchPoint const DPOINT2D SearchPoint,
const SPATREF::COORDREFSYS PointCRS
 

Set point for next "point" search operation.


The documentation for this class was generated from the following file:
Generated on Tue Dec 14 13:19:45 2004 for TNTsdk by  doxygen 1.3.8-20040913