[#BloombergLP-balm-PublicationScheduler-getCategorySchedule-05a]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balm.adoc[balm]::xref:BloombergLP/balm/PublicationScheduler.adoc[PublicationScheduler]::getCategorySchedule
:relfileprefix: ../../../
:mrdocs:

Load the current category publication schedule into `result`&period;

== Synopsis

Declared in `&lt;balm&lowbar;publicationscheduler&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
getCategorySchedule(xref:bsl/vector-00d.adoc[bsl::vector&lt;bsl::pair&lt;Category const*, bsls::TimeInterval&gt;&gt;]* result) const;
----

== Description

Load into the specified `result` a representation of the current schedule for publishing categories being followed by this scheduler and return the number of scheduled categories&period; The schedule is represented using a series of (category address, time interval) pairs&semi; each pair in the series indicates the periodic time interval that the associated category will be published&period; Note that the `result` of this operation contains only those categories scheduled using the `scheduleCategory` operation, and does _not_ include categories published as part of the default publication&period;

== Return Value

number of scheduled categories loaded into `result`

== Parameters

[cols="1,4"]
|===
| Name| Description
| *result*
| receives (category, interval) schedule pairs
|===


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