Public Types | Public Member Functions | Protected Member Functions | Private Attributes

AP_Dialog_GetStringCommon Class Reference

#include <ap_Dialog_GetStringCommon.h>

Inheritance diagram for AP_Dialog_GetStringCommon:
XAP_Dialog_NonPersistent XAP_Dialog AP_Dialog_InsertXMLID AP_UnixDialog_InsertXMLID

List of all members.

Public Types

enum  tAnswer { a_OK = 0, a_CANCEL = 1, a_DELETE = 2 }

Public Member Functions

 AP_Dialog_GetStringCommon (XAP_DialogFactory *pDlgFactory, XAP_Dialog_Id id, const char *dialogfile)
virtual ~AP_Dialog_GetStringCommon ()
virtual void runModal (XAP_Frame *pFrame)=0
tAnswer getAnswer () const
void setAnswer (tAnswer a)
const std::string & getString () const
void setString (const std::string &s)
void setDoc (FV_View *pView)

Protected Member Functions

virtual int getStringSizeLimit () const

Private Attributes

std::string m_string
AP_Dialog_GetStringCommon::tAnswer m_answer

Member Enumeration Documentation


Constructor & Destructor Documentation

AP_Dialog_GetStringCommon::AP_Dialog_GetStringCommon ( XAP_DialogFactory pDlgFactory,
XAP_Dialog_Id  id,
const char *  dialogfile 
AP_Dialog_GetStringCommon::~AP_Dialog_GetStringCommon ( void   )  [virtual]

Member Function Documentation

AP_Dialog_GetStringCommon::tAnswer AP_Dialog_GetStringCommon::getAnswer ( void   )  const

References m_answer.

Referenced by s_xmlidDlg().

const std::string & AP_Dialog_GetStringCommon::getString (  )  const

References m_string.

Referenced by s_xmlidDlg().

virtual int AP_Dialog_GetStringCommon::getStringSizeLimit (  )  const [inline, protected, virtual]

Referenced by setString().

virtual void AP_Dialog_GetStringCommon::runModal ( XAP_Frame pFrame  )  [pure virtual]

Implements XAP_Dialog_NonPersistent.

Implemented in AP_UnixDialog_InsertXMLID.

Referenced by s_xmlidDlg().

void AP_Dialog_GetStringCommon::setDoc ( FV_View pView  ) 

References FV_View::getDocument(), and m_pDoc.

Referenced by s_xmlidDlg().

void AP_Dialog_GetStringCommon::setString ( const std::string &  s  ) 

Member Data Documentation

std::string AP_Dialog_GetStringCommon::m_string [private]

Referenced by getString(), and setString().

The documentation for this class was generated from the following files: