ClaimSupport.h header
#include <ew/app/ClaimSupport.h>
Namespace ew::app
Functions
std::vector< const ew::core::Source * > ew::app::citedSources(const ew::core::Document &document, const ew::core::Project &project)
The sources cited by document, resolved to the Source objects in project, in the document's citation order. Ids that no longer resolve, or that resolve to a non-source, are skipped, so the result is exactly the live sources backing the document's claims.
std::vector< const ew::core::Document * > ew::app::unsupportedClaimDocuments(const ew::core::Project &project)
The note documents in project that make claims (have body prose) but cite no source – the "unsupported claims" report. Only Note-kind documents are considered, since notes are where researched claims are recorded; prose and screenplay documents are creative writing and are not expected to carry citations. Run this on a research project to find assertions that still need a source.