LAMA
/home/brandes/workspace/LAMA/src/lama/pgas/LAMAArguments.hpp
Go to the documentation of this file.
00001 
00033 #ifndef LAMA_LAMAINIT_HPP_
00034 #define LAMA_LAMAINIT_HPP_
00035 
00036 #include <vector>
00037 
00038 #include <boost/shared_ptr.hpp>
00039 #include <boost/weak_ptr.hpp>
00040 
00041 #include <LAMAInstance.hpp>
00042 
00043 namespace lama{
00044 
00045 
00046 class LAMAArguments
00047 {
00048     friend class LAMAInstance;
00049     int mArgc;
00050     char** mArgv;
00051 //    static std::vector<LAMAArgumentFilter> mFilters;
00052     LAMAArguments(int argc, char** argv);
00053     static std::auto_ptr<LAMAArguments> sInstance;
00054 public:
00055     static void init(int argc, char** argv, bool keepArguments=false);
00056     static char** getArgv();
00057     static int getArgc();
00058     static void finalize();
00059     static bool isInitialized();
00060     virtual ~LAMAArguments();
00061 };
00062 
00063 
00064 }
00065 #endif // LAMA_LAMAINIT_HPP_