21 std::cout<<
"Element "<<el->GetName()<<
" already defined:skipping"<<std::endl;
33 std::cout<<
"Material "<<mat->GetName()<<
" already defined:skipping"<<std::endl;
47 std::cout<<
" Material "<<mat<<
" not found!"<<std::endl;
57 std::cout<<
" Element "<<el<<
" not found!"<<std::endl;
64 std::cout<<
"List of elements so far defined: "<<
66 AGDDElementMap::const_iterator it;
71 if (!(i%5)) std::cout<<std::endl<<
"-----> ";
72 std::cout<<(*it).first<<
",";
78 std::cout<<
"List of materials so far defined: "<<
80 AGDDMaterialMap::const_iterator it;
85 if (!(i%5)) std::cout<<std::endl<<
"-----> ";
86 std::cout<<(*it).first<<
",";
95 std::cout<<
"Element "<<n<<
" not found!"<<std::endl;
103 std::cout<<
"Material "<<n<<
" not found!"<<std::endl;
void RegisterElement(AGDDElement *)
AGDDMaterialMap m_theMaterials
void RegisterMaterial(AGDDSimpleMaterial *)
AGDDSimpleMaterial * GetMaterial(std::string)
void PrintElement(const std::string &n)
AGDDElementMap m_theElements
void PrintMaterialNames()
void PrintMaterial(const std::string &n)
AGDDElement * GetElement(std::string)