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

Get pointers to all transactions in the cluster which arg is in&period; The transactions are returned in graph order&period; The queried graph must not be oversized&period; Returns &lcub;&rcub; if arg does not exist in the queried graph&period;

== Synopsis

Declared in `&lt;txgraph&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
virtual
std::vector&lt;Ref*&gt;
GetCluster(
    xref:TxGraph/Ref.adoc[Ref] const& arg,
    xref:TxGraph/Level.adoc[Level] level) noexcept = 0;
----

== Return Value

The cluster&apos;s transactions in graph order, or &lcub;&rcub; if the transaction does not exist&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *arg*
| Reference to a transaction in the cluster of interest&period;
| *level*
| Which graph (main or staging) to query&period;
|===


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