MCPcopy Create free account
hub / github.com/Kitware/VTK / OpenFile

Method OpenFile

IO/ParallelXML/vtkXMLDataWriterHelper.cxx:31–47  ·  view source on GitHub ↗

----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

29
30//----------------------------------------------------------------------------
31bool vtkXMLDataWriterHelper::OpenFile()
32{
33 assert(this->Writer != nullptr);
34 this->SetDebug(this->Writer->GetDebug());
35 this->SetByteOrder(this->Writer->GetByteOrder());
36 this->SetCompressor(this->Writer->GetCompressor());
37 this->SetBlockSize(this->Writer->GetBlockSize());
38 this->SetDataMode(this->Writer->GetDataMode());
39 this->SetEncodeAppendedData(this->Writer->GetEncodeAppendedData());
40 this->SetHeaderType(this->Writer->GetHeaderType());
41 this->SetIdType(this->Writer->GetIdType());
42 this->SetWriteToOutputString(this->Writer->GetWriteToOutputString());
43 this->SetFileName(this->Writer->GetFileName());
44 this->SetWriteTimeValue(this->Writer->GetWriteTimeValue());
45
46 return this->Superclass::OpenStream() != 0;
47}
48
49//----------------------------------------------------------------------------
50bool vtkXMLDataWriterHelper::BeginWriting()

Callers 2

WriteSummaryXMLMethod · 0.45
WriteSummaryXMLMethod · 0.45

Calls 10

GetDebugMethod · 0.80
SetByteOrderMethod · 0.80
GetBlockSizeMethod · 0.80
SetHeaderTypeMethod · 0.80
SetIdTypeMethod · 0.80
assertFunction · 0.50
SetDebugMethod · 0.45
SetBlockSizeMethod · 0.45
SetFileNameMethod · 0.45
GetFileNameMethod · 0.45

Tested by

no test coverage detected