#include <pd_Document.h>
Public Member Functions | |
| ~PD_XMLIDCreator () | |
| std::string | createUniqueXMLID (const std::string &desiredID, bool deepCopyRDF=false) |
Protected Member Functions | |
| PD_XMLIDCreator (PD_Document *doc) | |
| void | rebuildCache () |
Private Attributes | |
| PD_Document * | m_doc |
| PD_XMLIDCreatorPrivate * | m_impl |
Friends | |
| class | PD_Document |
| PD_XMLIDCreator::PD_XMLIDCreator | ( | PD_Document * | doc | ) | [protected] |
References PD_XMLIDCreatorPrivate::m_cacheIsVirgin, and m_impl.
| PD_XMLIDCreator::~PD_XMLIDCreator | ( | ) |
References m_impl.
| std::string PD_XMLIDCreator::createUniqueXMLID | ( | const std::string & | desiredID, | |
| bool | deepCopyRDF = false | |||
| ) |
References UT_UUIDGenerator::createUUID(), XAP_App::getApp(), PD_Document::getDocumentRDF(), XAP_App::getUUIDGenerator(), PD_XMLIDCreatorPrivate::m_cache, PD_XMLIDCreatorPrivate::m_cacheIsVirgin, m_doc, m_impl, rebuildCache(), starts_with(), UT_UUID::toString(), UT_DEBUGMSG, and UT_UTF8String::utf8_str().
| void PD_XMLIDCreator::rebuildCache | ( | ) | [protected] |
References gchar, PP_AttrProp::getAttribute(), PD_Document::getAttrProp(), pf_Fragments::getFirst(), pt_PieceTable::getFragments(), pf_Frag::getIndexAP(), pf_Frag::getNext(), PD_Document::getPieceTable(), PD_XMLIDCreatorPrivate::m_cache, PD_XMLIDCreatorPrivate::m_cacheIsVirgin, m_doc, m_impl, PT_XMLID, UT_DEBUGMSG, and v.
Referenced by createUniqueXMLID().
friend class PD_Document [friend] |
PD_Document* PD_XMLIDCreator::m_doc [private] |
Referenced by createUniqueXMLID(), and rebuildCache().
PD_XMLIDCreatorPrivate* PD_XMLIDCreator::m_impl [private] |
Referenced by createUniqueXMLID(), PD_XMLIDCreator(), rebuildCache(), and ~PD_XMLIDCreator().
1.7.1