MCPcopy Create free account
hub / github.com/Tripwire/tripwire-open-source / InitPredefinedVariables

Method InitPredefinedVariables

src/twparser/genreparseinfo.cpp:141–153  ·  view source on GitHub ↗

////////////////////////////////////////////////////////////////////////// InitPredefinedVariables -- //////////////////////////////////////////////////////////////////////////

Source from the content-addressed store, hash-verified

139// InitPredefinedVariables --
140///////////////////////////////////////////////////////////////////////////////
141void cGenreParseInfo::InitPredefinedVariables()
142{
143 iParserGenreUtil* pGU = iTWFactory::GetInstance()->CreateParserGenreUtil();
144
145 TSTRING sVarName, sValue;
146 int index = 0;
147 while (pGU->EnumPredefinedVariables(index++, sVarName, sValue))
148 {
149 mLocalPredefVarTable.Insert(sVarName, sValue);
150 }
151
152 delete pGU;
153}
154
155
156///////////////////////////////////////////////////////////////////////////////

Callers

nothing calls this directly

Calls 3

CreateParserGenreUtilMethod · 0.80
InsertMethod · 0.45

Tested by

no test coverage detected