MCPcopy Create free account
hub / github.com/altairwei/WizNotePlus / getDocumentTagGuidsString

Method getDocumentTagGuidsString

src/database/WizIndex.cpp:1254–1265  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1252}
1253
1254CString WizIndex::getDocumentTagGuidsString(const CString& strDocumentGUID)
1255{
1256 CWizStdStringArray arrayTagGUID;
1257 if (!getDocumentTags(strDocumentGUID, arrayTagGUID))
1258 return CString();
1259
1260 std::sort(arrayTagGUID.begin(), arrayTagGUID.end());
1261
1262 CString strText;
1263 WizStringArrayToText(arrayTagGUID, strText, ";");
1264 return strText;
1265}
1266
1267bool WizIndex::setDocumentTags(WIZDOCUMENTDATA& data, const CWizTagDataArray& arrayTag)
1268{

Callers 5

setDocumentMethod · 0.80
setDocumentsMethod · 0.80
acceptMethod · 0.80
dropMethod · 0.80
acceptMethod · 0.80

Calls 4

WizStringArrayToTextFunction · 0.85
beginMethod · 0.80
endMethod · 0.80
CStringClass · 0.50

Tested by

no test coverage detected