broke classes down into own files, preparing to change model to pass by reference with int return type for almost everything

This commit is contained in:
Chris Punches
2017-04-30 01:39:03 -04:00
parent 8a53aefd48
commit 245ee4323a
33 changed files with 648 additions and 326 deletions

29
src/loaders/Suite.h Normal file
View File

@@ -0,0 +1,29 @@
//
// Created by phanes on 4/22/17.
//
#ifndef FTESTS_UNITS_H
#define FTESTS_UNITS_H
#include <vector>
#include "../json/json.h"
#include "JLoader.h"
#include "Unit.h"
class Suite: public JLoader
{
private:
std::vector<Unit> units;
public:
// constructor
Suite( std::string filename );
// returns the unit type identified by name or null
Unit get_unit(std::string provided_name);
};
#endif //FTESTS_UNITS_H