MCPcopy Create free account
hub / github.com/SakuraEngine/SakuraEngine / BeginArray

Method BeginArray

modules/engine/graphics/src/d3d12/D3D12MemAlloc.cpp:1377–1389  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1375}
1376
1377void JsonWriter::BeginArray(bool singleLine)
1378{
1379 D3D12MA_ASSERT(!m_InsideString);
1380
1381 BeginValue(false);
1382 m_SB.Add(L'[');
1383
1384 StackItem stackItem;
1385 stackItem.type = COLLECTION_TYPE_ARRAY;
1386 stackItem.valueCount = 0;
1387 stackItem.singleLineMode = singleLine;
1388 m_Stack.push_back(stackItem);
1389}
1390
1391void JsonWriter::EndArray()
1392{

Callers 3

NormalBlockClass · 0.45
serializeImplMethod · 0.45

Calls 2

AddMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected