[#BloombergLP-ball-Record-2constructor-08]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/ball.adoc[ball]::xref:BloombergLP/ball/Record.adoc[Record]::Record
:relfileprefix: ../../../
:mrdocs:

Constructors

== Synopses

Declared in `&lt;ball&lowbar;record&period;h&gt;`

Create a log record having default values for its fixed fields and its user&hyphen;defined fields&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
xref:BloombergLP/ball/Record/2constructor-0ef.adoc[Record](xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0);
----

[.small]#xref:BloombergLP/ball/Record/2constructor-0ef.adoc[_» more&period;&period;&period;_]#

Create a log record having the value of the specified `original` log record&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/ball/Record/2constructor-0c.adoc[Record](
    xref:BloombergLP/ball/Record.adoc[Record] const& original,
    xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0);
----

[.small]#xref:BloombergLP/ball/Record/2constructor-0c.adoc[_» more&period;&period;&period;_]#

Create a log record with fixed fields having the value of the specified `fixedFields` and user&hyphen;defined fields having the value of the specified `userFields`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/ball/Record/2constructor-0ed.adoc[Record](
    xref:BloombergLP/ball/RecordAttributes.adoc[RecordAttributes] const& fixedFields,
    xref:BloombergLP/ball/UserFields.adoc[UserFields] const& userFields,
    xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0);
----

[.small]#xref:BloombergLP/ball/Record/2constructor-0ed.adoc[_» more&period;&period;&period;_]#

== Parameters

[cols="1,4"]
|===
| Name| Description
| *basicAllocator*
| memory allocator&semi; null uses the default
| *original*
| log record to copy
| *fixedFields*
| fixed fields for the new record
| *userFields*
| user&hyphen;defined fields for the new record
|===


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