Program Listing for File SpeciationCommands.h

Return to documentation for file (necsim/SpeciationCommands.h)

//This file is part of necsim project which is released under MIT license.
//See file **LICENSE.txt** or visit for full license details.

#include <cstdio>
#include <memory>
#include "Community.h"
#include "TreeNode.h"
#include "SpecSimParameters.h"
namespace necsim
    class SpeciationCommands
        // Contains all speciation current_metacommunity_parameters
        shared_ptr<SpecSimParameters> sp;
        // Command-line arguments for parsing
        vector<string> comargs;
        // number of command-line arguments
        int argc;


        SpeciationCommands() : sp(make_shared<SpecSimParameters>())


        void parseArgs();

        int applyFromComargs(int argc_in, char** argv);