text
stringlengths
0
2.2M
b2CollideEdgeAndPolygon( manifold,
(b2EdgeShape*)m_fixtureA->GetShape(), xfA,
(b2PolygonShape*)m_fixtureB->GetShape(), xfB);
}
// bslstl_function.cpp -*-C++-*-
#include <bslstl_function.h>
#include <bsls_ident.h>
BSLS_IDENT_RCSID(bslstl_function_cpp, "$Id$ $CSID$")
#include <bsla_maybeunused.h> // For testing only
#include <bslmf_usesallocator.h> // For testing only
namespace BloombergLP {
// 'BSLS_ASSERT' filename fix -- See {'bsls_assertimputil'}
#ifdef BSLS_ASSERTIMPUTIL_AVOID_STRING_CONSTANTS
extern const char s_bslstl_function_h[] = "bslstl_function.h";
#endif
} // close enterprise namespace
// ----------------------------------------------------------------------------
// Copyright 2020 Bloomberg Finance L.P.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// ----------------------------- END-OF-FILE ----------------------------------
// s_baltst_sqrtf.cpp *DO NOT EDIT* @generated -*-C++-*-
#include <bsls_ident.h>
BSLS_IDENT_RCSID(s_baltst_sqrtf_cpp, "$Id$ $CSID$")
#include <s_baltst_sqrtf.h>
#include <bdlat_formattingmode.h>
#include <bdlat_valuetypefunctions.h>
#include <bdlb_print.h>
#include <bdlb_printmethods.h>
#include <bdlb_string.h>
#include <bslim_printer.h>
#include <bsls_assert.h>
#include <bsl_cstring.h>
#include <bsl_iomanip.h>
#include <bsl_limits.h>
#include <bsl_ostream.h>
#include <bsl_utility.h>
namespace BloombergLP {
namespace s_baltst {
// -----------
// class SqrtF
// -----------
// CONSTANTS
const char SqrtF::CLASS_NAME[] = "SqrtF";
const bdlat_AttributeInfo SqrtF::ATTRIBUTE_INFO_ARRAY[] = {
{
ATTRIBUTE_ID_VALUE,
"value",
sizeof("value") - 1,
"",
bdlat_FormattingMode::e_DEFAULT
}
};
// CLASS METHODS
const bdlat_AttributeInfo *SqrtF::lookupAttributeInfo(
const char *name,
int nameLength)
{
for (int i = 0; i < 1; ++i) {
const bdlat_AttributeInfo& attributeInfo =
SqrtF::ATTRIBUTE_INFO_ARRAY[i];
if (nameLength == attributeInfo.d_nameLength
&& 0 == bsl::memcmp(attributeInfo.d_name_p, name, nameLength))
{
return &attributeInfo;
}
}
return 0;