Version: 0.6.0
wxGISGPMultiParameter Class Reference

A Geoprocessing tools multiparameter class. More...

#include <gpparam.h>

Inheritance diagram for wxGISGPMultiParameter:
Collaboration diagram for wxGISGPMultiParameter:

Public Member Functions

 wxGISGPMultiParameter (const wxString &sName, const wxString &sDisplayName, wxGISEnumGPParameterType eType, wxGISEnumGPParameterDataType eDataType)
 
virtual void AddColumn (const wxString &sName)
 
virtual void RemoveColumn (size_t nIndex)
 
virtual size_t GetColumnCount (void) const
 
virtual wxString GetColumnName (size_t nIndex) const
 
virtual size_t GetRowCount (void) const
 
virtual void AddParameter (size_t nColIndex, size_t nRowIndex, wxGISGPParameter *pParam)
 
virtual bool IsValid (void) const
 
virtual void SetValid (bool bIsValid)
 
virtual void Clear ()
 
virtual
wxGISEnumGPParameterDataType 
GetDataType (void) const
 
virtual wxString GetAsString (void) const
 Serialize parameter to string. More...
 
virtual bool SetFromString (wxString &sParam)
 Serialize parameter from string. More...
 
virtual wxGISGPParameterGetParameter (size_t nCol, size_t nRow) const
 
- Public Member Functions inherited from wxGISGPParameter
 wxGISGPParameter (const wxString &sName, const wxString &sDisplayName, wxGISEnumGPParameterType eType, wxGISEnumGPParameterDataType eDataType)
 
virtual bool GetAltered (void) const
 
virtual void SetAltered (bool bAltered)
 
virtual bool GetHasBeenValidated (void) const
 
virtual void SetHasBeenValidated (bool bHasBeenValidated)
 
virtual wxString GetName (void) const
 
virtual void SetName (const wxString &sName)
 
virtual wxString GetDisplayName (void) const
 
virtual void SetDisplayName (const wxString &sDisplayName)
 
virtual void SetDataType (wxGISEnumGPParameterDataType nType)
 
virtual
wxGISEnumGPParameterDirection 
GetDirection (void) const
 
virtual void SetDirection (wxGISEnumGPParameterDirection nDirection)
 
virtual wxGISEnumGPParameterType GetParameterType (void) const
 
virtual void SetParameterType (wxGISEnumGPParameterType nType)
 
virtual wxVariant GetValue (void) const
 
virtual void SetValue (const wxVariant &Val)
 
virtual wxGISGPValueDomainGetDomain (void) const
 
virtual void SetDomain (wxGISGPValueDomain *pDomain)
 
virtual wxString GetMessage (void) const
 
virtual wxGISEnumGPMessageType GetMessageType (void) const
 
virtual void SetMessage (wxGISEnumGPMessageType nType=wxGISEnumGPMessageUnknown, const wxString &sMsg=wxEmptyString)
 
virtual void AddDependency (const wxString &sParamName)
 
virtual wxArrayString GetDependences (void) const
 
virtual int GetSelDomainValue (void) const
 
virtual void SetSelDomainValue (int nNewSelection)
 
virtual void OnValueAdded (const wxVariant &Value, const wxString &sName)
 
virtual void OnCleared (void)
 
- Public Member Functions inherited from wxGISConnectionPointContainer
virtual long Advise (wxEvtHandler *pEvtHandler)
 
virtual void Unadvise (long nCookie)
 
- Public Member Functions inherited from IGISGPDomainParent
virtual ~IGISGPDomainParent (void)
 

Protected Attributes

wxGISGPParameterArray m_paParameters
 
wxArrayString m_saColumnNames
 
- Protected Attributes inherited from wxGISGPParameter
bool m_bAltered
 
bool m_bHasBeenValidated
 
bool m_bIsValid
 
wxString m_sName
 
wxString m_sDisplayName
 
wxGISEnumGPParameterDataType m_DataType
 
wxGISEnumGPParameterDirection m_Direction
 
wxGISEnumGPParameterType m_ParameterType
 
wxVariant m_Value
 
wxGISGPValueDomainm_pDomain
 
wxString m_sMessage
 
wxGISEnumGPMessageType m_nMsgType
 
int m_nSelection
 
wxArrayString m_saDependencies
 
size_t m_nId
 
- Protected Attributes inherited from wxGISConnectionPointContainer
wxVector< wxEvtHandler * > m_pPointsArray
 
wxCriticalSection m_CritSectEvt
 

Additional Inherited Members

- Protected Member Functions inherited from wxGISGPParameter
virtual void SetId (size_t nId)
 
virtual size_t GetId (void) const
 
- Protected Member Functions inherited from wxGISConnectionPointContainer
virtual void AddEvent (const wxEvent &event)
 
virtual void PostEvent (wxEvent *event)
 

Detailed Description

A Geoprocessing tools multiparameter class.

This class store parameters in array. In tool dialog it show the grid filled with parmeter data.

Member Function Documentation

wxString wxGISGPMultiParameter::GetAsString ( void  ) const
virtual

Serialize parameter to string.

Returns
The string representation of parameter

Reimplemented from wxGISGPParameter.

bool wxGISGPMultiParameter::SetFromString ( wxString &  sParam)
virtual

Serialize parameter from string.

Parameters
sParamThe string representation of parameter

Reimplemented from wxGISGPParameter.

Here is the call graph for this function:


The documentation for this class was generated from the following files:
  • /home/bishop/work/projects/nextgismanager/include/wxgis/geoprocessing/gpparam.h
  • /home/bishop/work/projects/nextgismanager/src/geoprocessing/gpparam.cpp