MCPcopy Create free account
hub / github.com/bwapi/bwapi / writeUnitCommandInfo

Function writeUnitCommandInfo

bwapi/DocumentationGen/unitcommandtypes.cpp:3–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1#include "helpers.h"
2
3void writeUnitCommandInfo()
4{
5 std::ofstream of("unitcommandtypes.dox");
6 for (auto t : UnitCommandTypes::allUnitCommandTypes())
7 {
8 if (t == UnitCommandTypes::Unknown || t == UnitCommandTypes::None) continue;
9 of << docEnum(t);
10 of << docBegin(t);
11
12 of << docIntro(t) << "\n";
13
14
15 of << docEnd();
16 }
17}

Callers 1

mainFunction · 0.85

Calls 4

docEnumFunction · 0.85
docBeginFunction · 0.85
docIntroFunction · 0.85
docEndFunction · 0.85

Tested by

no test coverage detected