[#BloombergLP-bdlcc-ObjectCatalog-add-07]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlcc.adoc[bdlcc]::xref:BloombergLP/bdlcc/ObjectCatalog.adoc[ObjectCatalog]::add
:relfileprefix: ../../../
:mrdocs:

`add` overloads

== Synopses

Declared in `&lt;bdlcc&lowbar;objectcatalog&period;h&gt;`

Add the specified movable `object` to this catalog and return its handle&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
xref:BloombergLP/bdlcc/ObjectCatalog/add-01.adoc[add](xref:BloombergLP/bslmf/MovableRef.adoc[bslmf::MovableRef&lt;TYPE&gt;] object);
----

[.small]#xref:BloombergLP/bdlcc/ObjectCatalog/add-01.adoc[_» more&period;&period;&period;_]#

Add the specified `object` to this catalog and return its handle&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
xref:BloombergLP/bdlcc/ObjectCatalog/add-0b.adoc[add](TYPE const& object);
----

[.small]#xref:BloombergLP/bdlcc/ObjectCatalog/add-0b.adoc[_» more&period;&period;&period;_]#

== Return Value

non&hyphen;zero handle referring to the added object

== Parameters

[cols="1,4"]
|===
| Name| Description
| *object*
| object to add
|===


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