mrdocs::Corpus
The collection of declarations in extracted form.
Synopsis
Declared in <mrdocs/Corpus.hpp>
class Corpus;
Description
A corpus is a plain value holding the extracted symbols, so it can be moved freely and stays valid wherever it is built. It does not own the configuration: the Config that drives a build is passed to build, and again to whatever consumes the corpus (for example a Generator). Use build to produce one from a Config.
Types
Name |
Description |
Options to traverse the members of a Symbol. |
|
The iterator type for the index of all symbols. |
Member Functions
Name |
Description |
Return the begin iterator for the index of all symbols. |
|
Whether the corpus contains any symbols. |
|
Return the end iterator for the index. |
|
Return true if a Symbol with the specified symbol ID exists. |
|
Finalize the corpus. |
|
|
|
Return the Symbol with the specified symbol ID. |
|
Return the metadata for the global namespace. |
|
|
|
|
|
Return the number of symbols in the corpus. |
|
Visit the members of the specified Symbol. |
|
Visit the specified Symbol IDs. |
Friends
Name |
Description |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Non-Member Functions
Name |
Description |
Build a DOM object representing an entire corpus. |
|
Build a DOM object representing an entire corpus. |
|
Return the parents of the specified symbol |
Created with MrDocs