MCPcopy Create free account
hub / github.com/Phobos-developers/Phobos / Read

Method Read

src/Utilities/Constructs.cpp:156–169  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

154}
155
156bool PhobosPCXFile::Read(INIClass* pINI, const char* pSection, const char* pKey, const char* pDefault)
157{
158 char buffer[Capacity];
159 if (pINI->ReadString(pSection, pKey, pDefault, buffer))
160 {
161 *this = buffer;
162
163 if (this->checked && !this->exists)
164 {
165 Debug::INIParseFailed(pSection, pKey, this->filename, "PCX file not found.");
166 }
167 }
168 return buffer[0] != 0;
169}
170
171bool PhobosPCXFile::Load(PhobosStreamReader& Stm, bool RegisterForChange)
172{

Callers

nothing calls this directly

Calls 6

ReadStringMethod · 0.80
ReadIntegerMethod · 0.80
valueMethod · 0.80
sizeMethod · 0.45
endMethod · 0.45
c_strMethod · 0.45

Tested by

no test coverage detected