MCPcopy Create free account
hub / github.com/OpenFOAM/OpenFOAM-dev / writeHeader

Function writeHeader

src/surfMesh/surfaceFormats/x3d/X3DsurfaceFormatCore.C:31–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29// * * * * * * * * * * * * Protected Member Functions * * * * * * * * * * * //
30
31void Foam::fileFormats::X3DsurfaceFormatCore::writeHeader
32(
33 Ostream& os
34)
35{
36 os <<
37 "<?xml version='1.0' encoding='UTF-8'?>\n"
38 "<!DOCTYPE X3D PUBLIC \"ISO//Web3D//DTD X3D 3.0//EN\" "
39 "\"http://www.web3d.org/specifications/x3d-3.0.dtd\">\n"
40 "<X3D\n"
41 " version='3.0'\n"
42 " profile='Immersive'\n"
43 " xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance'\n"
44 " xsd:noNamespaceSchemaLocation="
45 "'http://www.web3d.org/specifications/x3d-3.0.xsd'\n"
46 " >\n";
47}
48
49
50void Foam::fileFormats::X3DsurfaceFormatCore::writeAppearance

Callers 2

X3DsurfaceFormat.CFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected