void addEntity(string entityName, enmlEntity &in)/enmlFile

Inserts an enml-entity to the enml-file.

Sample:

enmlFile f;

enmlEntity entity;
entity.add("class", "rogue");
entity.add("level", "85");
entity.add("name", "Nathan");
f.addEntity("partyMember0", entity);

entity.clear();
entity.add("class", "paladin");
entity.add("level", "71");
entity.add("name", "John");
f.addEntity("partyMember1", entity);

string str = f.generateString();
SaveStringToFile("myFile.txt", str);