text
stringlengths
0
2.2M
}
const bdlat_AttributeInfo *SqrtF::lookupAttributeInfo(int id)
{
switch (id) {
case ATTRIBUTE_ID_VALUE:
return &ATTRIBUTE_INFO_ARRAY[ATTRIBUTE_INDEX_VALUE];
default:
return 0;
}
}
// CREATORS
SqrtF::SqrtF()
: d_value()
{
}
SqrtF::SqrtF(const SqrtF& original)
: d_value(original.d_value)
{
}
SqrtF::~SqrtF()
{
}
// MANIPULATORS
SqrtF&
SqrtF::operator=(const SqrtF& rhs)
{
if (this != &rhs) {
d_value = rhs.d_value;
}
return *this;
}
#if defined(BSLS_COMPILERFEATURES_SUPPORT_RVALUE_REFERENCES) \
&& defined(BSLS_COMPILERFEATURES_SUPPORT_NOEXCEPT)
SqrtF&
SqrtF::operator=(SqrtF&& rhs)
{
if (this != &rhs) {
d_value = bsl::move(rhs.d_value);
}
return *this;
}
#endif
void SqrtF::reset()
{
bdlat_ValueTypeFunctions::reset(&d_value);
}
// ACCESSORS
bsl::ostream& SqrtF::print(
bsl::ostream& stream,
int level,
int spacesPerLevel) const
{
bslim::Printer printer(&stream, level, spacesPerLevel);
printer.start();
printer.printAttribute("value", this->value());
printer.end();
return stream;
}
} // close package namespace
} // close enterprise namespace
// GENERATED BY BLP_BAS_CODEGEN_2021.10.31
// USING bas_codegen.pl s_baltst_sqrtf.xsd --mode msg --includedir . --msgComponent sqrtf --noRecurse --noExternalization --noHashSupport --noAggregateConversion
// ----------------------------------------------------------------------------
// NOTICE:
// Copyright 2021 Bloomberg Finance L.P. All rights reserved.
// Property of Bloomberg Finance L.P. (BFLP)
// This software is made available solely pursuant to the
// terms of a BFLP license agreement which governs its use.
// ------------------------------- END-OF-FILE --------------------------------
/*
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2020 - Raw Material Software Limited
JUCE is an open source library subject to commercial or open-source
licensing.
By using JUCE, you agree to the terms of both the JUCE 6 End-User License
Agreement and JUCE Privacy Policy (both effective as of the 16th June 2020).
End User License Agreement: www.juce.com/juce-6-licence