[#BloombergLP-ball-RecordAttributes-2constructor-0e] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/ball.adoc[ball]::xref:BloombergLP/ball/RecordAttributes.adoc[RecordAttributes]::RecordAttributes :relfileprefix: ../../../ :mrdocs: Constructors == Synopses Declared in `<ball_recordattributes.h>` Create a record attributes object with all attributes having default values. Optionally specify a `basicAllocator` used to supply memory. If `basicAllocator` is 0, the currently installed default allocator is used. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit xref:BloombergLP/ball/RecordAttributes/2constructor-0f.adoc[RecordAttributes](xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0); ---- [.small]#xref:BloombergLP/ball/RecordAttributes/2constructor-0f.adoc[_» more..._]# Create a record attributes object having the value of the specified `original` record attributes object. Optionally specify a `basicAllocator` used to supply memory. If `basicAllocator` is 0, the currently installed default allocator is used. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/ball/RecordAttributes/2constructor-0d.adoc[RecordAttributes]( xref:BloombergLP/ball/RecordAttributes.adoc[RecordAttributes] const& original, xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0); ---- [.small]#xref:BloombergLP/ball/RecordAttributes/2constructor-0d.adoc[_» more..._]# Create a record attributes object having the specified `timestamp`, `processID`, `threadID`, `kernelThreadId`, `fileName`, `lineNumber`, `category`, `severity` and `message` values, respectively. Optionally specify a `basicAllocator` used to supply memory. If `basicAllocator` is 0, the currently installed default allocator is used. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/ball/RecordAttributes/2constructor-06.adoc[RecordAttributes]( xref:BloombergLP/bdlt/Datetime.adoc[bdlt::Datetime] const& timestamp, int processID, xref:BloombergLP/bsls/Types/Uint64.adoc[bsls::Types::Uint64] threadID, std::string_view const& fileName, int lineNumber, std::string_view const& category, int severity, std::string_view const& message, xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0); ---- [.small]#xref:BloombergLP/ball/RecordAttributes/2constructor-06.adoc[_» more..._]# Same as the preceding overload, additionally taking the specified `kernelThreadID`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/ball/RecordAttributes/2constructor-03.adoc[RecordAttributes]( xref:BloombergLP/bdlt/Datetime.adoc[bdlt::Datetime] const& timestamp, int processID, xref:BloombergLP/bsls/Types/Uint64.adoc[bsls::Types::Uint64] threadID, xref:BloombergLP/bsls/Types/Uint64.adoc[bsls::Types::Uint64] kernelThreadID, std::string_view const& fileName, int lineNumber, std::string_view const& category, int severity, std::string_view const& message, xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0); ---- [.small]#xref:BloombergLP/ball/RecordAttributes/2constructor-03.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#