[#mrdocs-Corpus]
= xref:mrdocs.adoc[mrdocs]::Corpus
:relfileprefix: ../
:mrdocs:

The collection of declarations in extracted form&period;

== Synopsis

Declared in `&lt;mrdocs&sol;Corpus&period;hpp&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
class Corpus;
----

== Types

[cols="1,4"]
|===
| Name| Description
| xref:mrdocs/Corpus/TraverseOptions.adoc[`TraverseOptions`] 
| Options to traverse the members of an Symbol&period;
| xref:mrdocs/Corpus/iterator.adoc[`iterator`] 
| The iterator type for the index of all symbols&period;
|===


== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:mrdocs/Corpus/2destructor.adoc[`&#126;Corpus`] [.small]#[destructor]# [.small]#[virtual]#
| Destructor&period;
| xref:mrdocs/Corpus/begin.adoc[`begin`]  [.small]#[virtual]#
| Return the begin iterator for the index of all symbols&period;
| xref:mrdocs/Corpus/empty.adoc[`empty`] 
| Whether the corpus contains any symbols&period;
| xref:mrdocs/Corpus/end.adoc[`end`]  [.small]#[virtual]#
| Return the end iterator for the index&period;
| xref:mrdocs/Corpus/exists.adoc[`exists`] 
| Return true if an Symbol with the specified symbol ID exists&period;
| xref:mrdocs/Corpus/find.adoc[`find`]  [.small]#[virtual]#
| Return the Symbol with the matching ID, or nullptr&period;
| xref:mrdocs/Corpus/get.adoc[`get`] 
| Return the Symbol with the specified symbol ID&period;
| xref:mrdocs/Corpus/globalNamespace.adoc[`globalNamespace`] 
| Return the metadata for the global namespace&period;
| xref:mrdocs/Corpus/lookup-05.adoc[`lookup`] 
| `lookup` overloads
| xref:mrdocs/Corpus/qualifiedName-0b7.adoc[`qualifiedName`] 
| `qualifiedName` overloads
| xref:mrdocs/Corpus/size.adoc[`size`]  [.small]#[virtual]#
| Return the number of symbols in the corpus&period;
| xref:mrdocs/Corpus/traverse-02.adoc[`traverse`] 
| Visit the members of specified Symbol&period;
| xref:mrdocs/Corpus/visitIDs.adoc[`visitIDs`] 
| Visit the specified Symbol IDs
|===


== Static Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:mrdocs/Corpus/build.adoc[`build`] 
| Build a Corpus from a configuration&period;
|===


== Data Members

[cols="1,4"]
|===
| Name| Description
| xref:mrdocs/Corpus/config.adoc[`config`] 
| The configuration used to generate this corpus&period;
|===


== Protected Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:mrdocs/Corpus/2constructor.adoc[`Corpus`]         [.small]#[constructor]#
| Create a corpus using the provided configuration&period;
|===


== Non-Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:mrdocs/getParents-04.adoc[`getParents`]
| Return a list of the parent symbols of the specified Symbol&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
