Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
LocationPlanSet Class Reference

#include <locationplan.h>

Collaboration diagram for LocationPlanSet:

Public Member Functions

void add (QString formatformat, QString outputDir, LocationPlan plan)
 Adds a published format at outputDir, with its completed plan.
const LocationPlan * plan (const QString &formatformat) const
std::optional< PublicationLocation > entity (const Node *node, const QString &formatformat, const QString &relativeDir) const
 Resolves node in format, then in published HTML.

Static Public Member Functions

static LocationPlanSet build (const Config &configconfig, const Tree *tree, const OutputConfiguration &output)
 Builds plans for requested publications in output.

Detailed Description

Definition at line 77 of file locationplan.h.

Member Function Documentation

◆ add()

void LocationPlanSet::add ( QString format,
QString outputDir,
LocationPlan plan )

Adds a published format at outputDir, with its completed plan.

Finish building the set before handing it to renderers.

Definition at line 49 of file locationplanlookup.cpp.

◆ build()

LocationPlanSet LocationPlanSet::build ( const Config & config,
const Tree * tree,
const OutputConfiguration & output )
staticnodiscard

Builds plans for requested publications in output.

The compatibility driver exposes only its selected legacy HTML publication as a fallback; historical template format aliases keep their own naming plans.

Definition at line 333 of file locationplan.cpp.

References LocationPlan::buildPublished(), OutputSelection::Compatibility, Config::createInclusionPolicy(), OutputConfiguration::hasErrors(), and OutputConfiguration::mode.

Referenced by processQdocconfFile().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ entity()

std::optional< PublicationLocation > LocationPlanSet::entity ( const Node * node,
const QString & format,
const QString & relativeDir ) const
nodiscard

Resolves node in format, then in published HTML.

The result is relative to relativeDir. Explicit URLs retain their original spelling. Neither lookup nor path relativization requires output files to exist.

Definition at line 66 of file locationplanlookup.cpp.

◆ plan()

const LocationPlan * LocationPlanSet::plan ( const QString & format) const
nodiscard

Definition at line 55 of file locationplanlookup.cpp.


The documentation for this class was generated from the following files: