MCPcopy Create free account
hub / github.com/Kitware/ParaView / Initialize

Method Initialize

Remoting/Application/vtkInitializationHelper.cxx:135–147  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

133
134//----------------------------------------------------------------------------
135bool vtkInitializationHelper::Initialize(const char* executable, int type)
136{
137 if (!executable || !executable[0])
138 {
139 vtkLogF(ERROR, "Executable name must be specified!");
140 return false;
141 }
142
143 std::vector<char*> argv;
144 argv.push_back(vtksys::SystemTools::DuplicateString(executable));
145 argv.push_back(nullptr);
146 return vtkInitializationHelper::Initialize(static_cast<int>(argv.size()) - 1, argv.data(), type);
147}
148
149//----------------------------------------------------------------------------
150bool vtkInitializationHelper::Initialize(vtkStringList* slist, int type)

Callers

nothing calls this directly

Calls 6

push_backMethod · 0.80
GetLengthMethod · 0.80
InitializeFunction · 0.50
sizeMethod · 0.45
dataMethod · 0.45
GetStringMethod · 0.45

Tested by

no test coverage detected