The idea of this class is to be able to slice up a document's RDF. More...
Classes | |
| class | StatementIterator |
Public Types | |
| typedef std::list< const PP_AttrProp * > | m_APList_t |
Public Member Functions | |
| PD_RDFModelFromStartEndPos (PD_Document *doc, PT_DocPosition b, PT_DocPosition e) | |
| virtual | ~PD_RDFModelFromStartEndPos () |
| virtual const PP_AttrProp * | getAP (void) |
| virtual UT_Error | setAP (PP_AttrProp *newAP) |
| virtual bool | isStandAlone () const |
| void | updateAPList () |
| m_APList_t::iterator | apBegin () |
| m_APList_t::iterator | apEnd () |
| virtual PD_ObjectList | getObjects (const PD_URI &s, const PD_URI &p) |
| virtual PD_Object | getObject (const PD_URI &s, const PD_URI &p) |
| virtual PD_URIList | getSubjects (const PD_URI &p, const PD_Object &o) |
| virtual PD_URI | getSubject (const PD_URI &p, const PD_Object &o) |
| virtual PD_URIList | getAllSubjects () |
| virtual POCol | getArcsOut (const PD_URI &s) |
| virtual bool | contains (const PD_URI &s, const PD_URI &p, const PD_Object &o) |
| virtual void | dumpModel (const std::string &headerMsg="dumpModel()") |
Public Attributes | |
| m_APList_t | m_APList |
Private Attributes | |
| PT_DocPosition | m_beginPos |
| PT_DocPosition | m_endPos |
The idea of this class is to be able to slice up a document's RDF.
So you can explicitly say, give me the RDF that is contained in all the AP between two positions in the document.
| typedef std::list< const PP_AttrProp* > PD_RDFModelFromStartEndPos::m_APList_t |
| PD_RDFModelFromStartEndPos::PD_RDFModelFromStartEndPos | ( | PD_Document * | doc, | |
| PT_DocPosition | b, | |||
| PT_DocPosition | e | |||
| ) | [inline, explicit] |
References updateAPList().
| virtual PD_RDFModelFromStartEndPos::~PD_RDFModelFromStartEndPos | ( | ) | [inline, virtual] |
| m_APList_t::iterator PD_RDFModelFromStartEndPos::apBegin | ( | ) | [inline] |
References m_APList.
Referenced by contains(), dumpModel(), getAllSubjects(), getArcsOut(), getObjects(), and getSubjects().
| m_APList_t::iterator PD_RDFModelFromStartEndPos::apEnd | ( | ) | [inline] |
References m_APList.
Referenced by contains(), dumpModel(), getAllSubjects(), getArcsOut(), getObjects(), and getSubjects().
| virtual bool PD_RDFModelFromStartEndPos::contains | ( | const PD_URI & | s, | |
| const PD_URI & | p, | |||
| const PD_Object & | o | |||
| ) | [inline, virtual] |
Reimplemented from PD_DocumentRDF.
References apBegin(), PD_DocumentRDF::apContains(), and apEnd().
| virtual void PD_RDFModelFromStartEndPos::dumpModel | ( | const std::string & | headerMsg = "dumpModel()" |
) | [inline, virtual] |
Reimplemented from PD_DocumentRDF.
References apBegin(), PD_DocumentRDF::apDumpModel(), apEnd(), PD_DocumentRDF::m_doc, UT_DEBUG_ONLY_ARG, and UT_DEBUGMSG.
| virtual PD_URIList PD_RDFModelFromStartEndPos::getAllSubjects | ( | ) | [inline, virtual] |
Reimplemented from PD_DocumentRDF.
References apBegin(), apEnd(), and PD_DocumentRDF::apGetAllSubjects().
| virtual const PP_AttrProp* PD_RDFModelFromStartEndPos::getAP | ( | void | ) | [inline, virtual] |
Reimplemented from PD_DocumentRDF.
References UT_DEBUGMSG.
Reimplemented from PD_DocumentRDF.
References apBegin(), apEnd(), and PD_DocumentRDF::apGetArcsOut().
| virtual PD_Object PD_RDFModelFromStartEndPos::getObject | ( | const PD_URI & | s, | |
| const PD_URI & | p | |||
| ) | [inline, virtual] |
Reimplemented from PD_RDFModel.
References PD_RDFModel::front(), and getObjects().
| virtual PD_ObjectList PD_RDFModelFromStartEndPos::getObjects | ( | const PD_URI & | s, | |
| const PD_URI & | p | |||
| ) | [inline, virtual] |
Reimplemented from PD_DocumentRDF.
References apBegin(), apEnd(), and PD_DocumentRDF::apGetObjects().
Referenced by getObject().
| virtual PD_URI PD_RDFModelFromStartEndPos::getSubject | ( | const PD_URI & | p, | |
| const PD_Object & | o | |||
| ) | [inline, virtual] |
Reimplemented from PD_RDFModel.
References PD_RDFModel::front(), and getSubjects().
| virtual PD_URIList PD_RDFModelFromStartEndPos::getSubjects | ( | const PD_URI & | p, | |
| const PD_Object & | o | |||
| ) | [inline, virtual] |
Reimplemented from PD_DocumentRDF.
References apBegin(), apEnd(), and PD_DocumentRDF::apGetSubjects().
Referenced by getSubject().
| virtual bool PD_RDFModelFromStartEndPos::isStandAlone | ( | ) | const [inline, virtual] |
Reimplemented from PD_DocumentRDF.
| virtual UT_Error PD_RDFModelFromStartEndPos::setAP | ( | PP_AttrProp * | newAP | ) | [inline, virtual] |
Reimplemented from PD_DocumentRDF.
References UT_UNUSED.
| void PD_RDFModelFromStartEndPos::updateAPList | ( | ) | [inline] |
References PD_Document::getAttrProp(), PD_Document::getFragFromPosition(), pf_Frag::getIndexAP(), pf_Frag::getNext(), m_APList, m_beginPos, PD_DocumentRDF::m_doc, m_endPos, and UT_DEBUGMSG.
Referenced by PD_RDFModelFromStartEndPos().
Referenced by apBegin(), apEnd(), and updateAPList().
Referenced by updateAPList().
Referenced by updateAPList().
1.7.1