FluctuatingChargeAtomTypesSectionParser::FluctuatingChargeAtomTypesSectionParser(ForceFieldOptions& options) : options_(options) {
    setSectionName("FluctuatingChargeAtomTypes");

    stringToEnumMap_["Hardness"] =  fqtHardness;
    stringToEnumMap_["MultipleMinima"] =  fqtMultipleMinima;
    stringToEnumMap_["Metal"] =  fqtMetal;

  }
Пример #2
0
void DumpMemoryGui::setAllSectionNames( DWORD_PTR moduleBase, WCHAR * moduleName )
{
	WCHAR sectionNameW[IMAGE_SIZEOF_SHORT_NAME + 1] = {0};

	PeParser peFile(moduleName);

	if (peFile.isValidPeFile())
	{
		std::vector<PeFileSection> & listSectionHeader = peFile.getSectionHeaderList();

		for (WORD i = 0; i < peFile.getNumberOfSections(); i++)
		{
			peFile.getSectionNameUnicode(i, sectionNameW, _countof(sectionNameW));

			setSectionName(moduleBase + listSectionHeader[i].sectionHeader.VirtualAddress, listSectionHeader[i].sectionHeader.Misc.VirtualSize, sectionNameW);
		}
	}
	else
	{
		MessageBox(moduleName,L"Not a valid PE -> This should never happen",MB_ICONERROR);
	}

}
 InversionTypesSectionParser::InversionTypesSectionParser(ForceFieldOptions& options) : options_(options){
   
   setSectionName("InversionTypes");
 }
Пример #4
0
 BendTypesSectionParser::BendTypesSectionParser(ForceFieldOptions& options) : options_(options){
   setSectionName("BendTypes");
 }