00001 #include "AtlfastEvent/AtlfastDumperObject.h" 00002 #include "AtlfastEvent/IKinematic.h" 00003 #include <iostream> 00004 00005 00006 #ifndef STD_STRING_H 00007 #include <string> 00008 #define STD_STRING_H 00009 #endif 00010 00011 namespace Atlfast{ 00012 00013 AtlfastDumperObject::AtlfastDumperObject(const std::string& location, 00014 const std::string& coordinates, 00015 std::string inset): 00016 m_front(inset), m_coordinates(coordinates){ 00017 std::cout<<std::endl 00018 <<std::endl 00019 <<"Dumping objects from " 00020 <<location 00021 <<std::endl 00022 <<std::endl; 00023 } 00024 00025 void AtlfastDumperObject::operator()(const IKinematic* a)const{ 00026 a->print(m_coordinates, m_front); 00027 } 00028 00029 }