TerraForge3D
2.3.1
3D Terrain And Landscape Generator
◆
get_msgpack_array()
template<typename BasicJsonType , typename InputAdapterType , typename SAX = json_sax_dom_parser<BasicJsonType>>
bool
nlohmann::detail::binary_reader
< BasicJsonType, InputAdapterType, SAX >::get_msgpack_array
(
const std::size_t
len
)
inline
private
Parameters
[in]
len
the length of the array
Returns
whether array creation completed
Definition at line
10166
of file
json.hpp
.
10167
{
10168
if
(JSON_HEDLEY_UNLIKELY(!
sax
->start_array(len)))
10169
{
10170
return
false
;
10171
}
10172
10173
for
(std::size_t i = 0; i < len; ++i)
10174
{
10175
if
(JSON_HEDLEY_UNLIKELY(!
parse_msgpack_internal
()))
10176
{
10177
return
false
;
10178
}
10179
}
10180
10181
return
sax
->end_array();
10182
}
nlohmann::detail::binary_reader::sax
json_sax_t * sax
the SAX parser
Definition:
json.hpp:10987
nlohmann::detail::binary_reader::parse_msgpack_internal
bool parse_msgpack_internal()
Definition:
json.hpp:9593
nlohmann
detail
binary_reader
Generated on Thu Apr 7 2022 14:11:00 for TerraForge3D by
1.9.3