{
this->nameConceptFile=nameConceptFile;
this->nameObjectFile=nameObjectFile;
+
this->things=things;
this->nameOtherConceptsFile = nameOtherConceptsFile;
this->environment= new SomeEnvironment<T>();
template<class T>
bool ReaderEnvironment<T>::addThings()
{
- int numObjects,j;
+ int numObjects=0,j=0;
bool addedInstants=true;
typename std::map<std::string,std::string>::iterator iteratorData;
typename std::map<std::string,T>::iterator iteratorThings;
template<class T>
bool ReaderEnvironment<T>::addConcepts()
{
- int numConcepts,i;
+ int numConcepts=0,i=0;
std::map<std::string,std::string>::iterator iteratorData;
//getting the number of concepts defined
iteratorData=dataInFile.find(NUMCONCEPTS);