25 #ifndef WPROJECTFILEIO_H
26 #define WPROJECTFILEIO_H
32 #include <boost/shared_ptr.hpp>
34 #include "WProperties.h"
52 typedef boost::shared_ptr< WProjectFileIO >
SPtr;
57 typedef boost::shared_ptr< const WProjectFileIO >
ConstSPtr;
78 virtual bool parse( std::string line,
unsigned int lineNumber ) = 0;
92 virtual void save( std::ostream& output ) = 0;
106 const std::vector< std::string >&
getErrors()
const;
120 const std::vector< std::string >&
getWarnings()
const;
163 void addError( std::string description );
183 void printProperties( std::ostream& output, boost::shared_ptr< WProperties > props, std::string indent,
184 std::string prefix,
unsigned int index, std::string indexPrefix =
"" );
223 #endif // WPROJECTFILEIO_H