00001 #ifndef INPUTFORMAT_H 00002 #define INPUTFORMAT_H 00003 00004 #include <iostream> 00005 #include <vector> 00006 #include "InputProperty.h" 00007 00011 class InputFormat 00012 { 00013 public: 00017 void addProperty( InputProperty* p_property ){ m_property_list.push_back( p_property ); } 00018 00022 unsigned int getNbrProperty( void ) const { return m_property_list.size(); } 00023 00027 std::string toString( void ) const; 00028 00032 const std::vector< InputProperty* >& getProperties( void ) const { return m_property_list; } 00033 00034 protected: 00035 std::vector< InputProperty* > m_property_list; 00036 }; 00037 00038 #endif 00039 ty* > m_property_list; 00040 }; 00041 00042 #endif