/* CustomArgementParser class An OpenSceneGraph viewer for pyVolution .sww files. copyright (C) 2004-2005 Geoscience Australia */ #include #include #include #include class CustomArgumentParser : public osg::ArgumentParser { public: CustomArgumentParser(int *argc, char **argv); void write(std::ostream& s); bool isSWM(){ return _isswm; }; std::string getFilename(){ return *_filename; } protected: int _nargs; std::vector _vargs; std::string* _filename; bool _isswm; };