#include <ap_Dialog_RDFQuery.h>
Public Member Functions | |
| AP_Dialog_RDFQuery (XAP_DialogFactory *pDlgFactory, XAP_Dialog_Id id) | |
| virtual | ~AP_Dialog_RDFQuery () |
| void | executeQuery (const std::string &sparql) |
| Execute the given SPARQL query, using clear() and addStatement() to update the GUI. | |
| void | showAllRDF () |
| std::string | uriToPrefixed (const std::string &uri) |
| PD_DocumentRDFHandle | getRDF () |
| virtual void | clear () |
| methods for GUI subclasses to override. | |
| virtual void | addStatement (const PD_RDFStatement &st) |
| virtual void | setupBindingsView (std::map< std::string, std::string > &b) |
| virtual void | addBinding (std::map< std::string, std::string > &b) |
| virtual void | setStatus (const std::string &msg) |
| virtual void | setQueryString (const std::string &sparql) |
Protected Member Functions | |
| virtual XAP_String_Id | getWindowTitleStringId () |
Protected Attributes | |
| int | m_count |
| AP_Dialog_RDFQuery::AP_Dialog_RDFQuery | ( | XAP_DialogFactory * | pDlgFactory, | |
| XAP_Dialog_Id | id | |||
| ) |
| AP_Dialog_RDFQuery::~AP_Dialog_RDFQuery | ( | void | ) | [virtual] |
| void AP_Dialog_RDFQuery::addBinding | ( | std::map< std::string, std::string > & | b | ) | [virtual] |
Reimplemented in AP_UnixDialog_RDFQuery.
References m_count, and UT_UNUSED.
Referenced by executeQuery().
| void AP_Dialog_RDFQuery::addStatement | ( | const PD_RDFStatement & | st | ) | [virtual] |
Reimplemented in AP_UnixDialog_RDFQuery.
| void AP_Dialog_RDFQuery::clear | ( | void | ) | [virtual] |
methods for GUI subclasses to override.
Reimplemented in AP_UnixDialog_RDFQuery.
References m_count.
Referenced by executeQuery().
| void AP_Dialog_RDFQuery::executeQuery | ( | const std::string & | sparql | ) |
Execute the given SPARQL query, using clear() and addStatement() to update the GUI.
References addBinding(), clear(), PD_RDFQuery::executeQuery(), getRDF(), XAP_App::getStringSet(), XAP_StringSet::getValueUTF8(), m_count, XAP_Dialog::m_pApp, setQueryString(), setStatus(), setupBindingsView(), UT_DEBUGMSG, and UT_std_string_sprintf().
Referenced by Defun1(), AP_UnixDialog_RDFQuery::onExecuteClicked(), and showAllRDF().
| PD_DocumentRDFHandle AP_Dialog_RDFQuery::getRDF | ( | ) |
References FV_View::getDocument(), PD_Document::getDocumentRDF(), and AP_Dialog_Modeless::getView().
Referenced by executeQuery(), and uriToPrefixed().
| XAP_String_Id AP_Dialog_RDFQuery::getWindowTitleStringId | ( | ) | [protected, virtual] |
Implements AP_Dialog_Modeless.
| void AP_Dialog_RDFQuery::setQueryString | ( | const std::string & | sparql | ) | [virtual] |
Reimplemented in AP_UnixDialog_RDFQuery.
References UT_UNUSED.
Referenced by executeQuery(), and showAllRDF().
| void AP_Dialog_RDFQuery::setStatus | ( | const std::string & | msg | ) | [virtual] |
Reimplemented from AP_Dialog_Modeless.
Reimplemented in AP_UnixDialog_RDFQuery.
References UT_UNUSED.
Referenced by executeQuery().
| void AP_Dialog_RDFQuery::setupBindingsView | ( | std::map< std::string, std::string > & | b | ) | [virtual] |
| void AP_Dialog_RDFQuery::showAllRDF | ( | ) |
References executeQuery(), and setQueryString().
Referenced by AP_UnixDialog_RDFQuery::onShowAllClicked().
| std::string AP_Dialog_RDFQuery::uriToPrefixed | ( | const std::string & | uri | ) |
References getRDF().
Referenced by AP_UnixDialog_RDFQuery::addBinding().
int AP_Dialog_RDFQuery::m_count [protected] |
Referenced by addBinding(), addStatement(), clear(), and executeQuery().
1.7.1