MCPcopy Create free account
hub / github.com/NatLabRockies/EnergyPlus / getStringFromCharArray

Function getStringFromCharArray

src/EnergyPlus/ExternalInterface.cc:2379–2383  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2377}
2378
2379std::string getStringFromCharArray(std::vector<char> originalCharArray)
2380{
2381 originalCharArray.push_back('\0');
2382 return std::string(&originalCharArray.front());
2383}
2384
2385} // namespace EnergyPlus::ExternalInterface

Callers 2

InitExternalInterfaceFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected