broke classes into their own files

master
Chris Punches 2017-04-22 08:07:11 -04:00
parent f66391d2b0
commit 69539ae019
37 changed files with 1016 additions and 353 deletions

View File

@ -12,15 +12,36 @@
</component> </component>
<component name="ChangeListManager"> <component name="ChangeListManager">
<list default="true" id="50b7ab1f-b700-44ff-b78d-e32f34492ff2" name="Default" comment=""> <list default="true" id="50b7ab1f-b700-44ff-b78d-e32f34492ff2" name="Default" comment="">
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/src/loaders/Conf.cpp" />
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/src/loaders/Conf.h" />
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/src/loaders/JLoader.cpp" />
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/src/loaders/JLoader.h" />
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/src/loaders/Plan.cpp" />
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/src/loaders/Plan.h" />
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/src/loaders/Units.cpp" />
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/src/loaders/Units.h" />
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/src/loaders/helpers.cpp" />
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/src/loaders/helpers.h" />
<change type="DELETED" beforePath="$PROJECT_DIR$/cmake-build-debug/CMakeFiles/ftests.dir/src/loaders.cpp.o" afterPath="" />
<change type="MOVED" beforePath="$PROJECT_DIR$/src/loaders.cpp" afterPath="$PROJECT_DIR$/src/loaders/loaders.cpp" />
<change type="MOVED" beforePath="$PROJECT_DIR$/src/loaders.h" afterPath="$PROJECT_DIR$/src/loaders/loaders.h" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/cmake-build-debug/CMakeFiles/ftests.dir/examplar.cpp.o" afterPath="$PROJECT_DIR$/cmake-build-debug/CMakeFiles/ftests.dir/examplar.cpp.o" /> <change type="MODIFICATION" beforePath="$PROJECT_DIR$/cmake-build-debug/CMakeFiles/ftests.dir/examplar.cpp.o" afterPath="$PROJECT_DIR$/cmake-build-debug/CMakeFiles/ftests.dir/examplar.cpp.o" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/cmake-build-debug/CMakeFiles/ftests.dir/src/loaders.cpp.o" afterPath="$PROJECT_DIR$/cmake-build-debug/CMakeFiles/ftests.dir/src/loaders.cpp.o" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/cmake-build-debug/ftests" afterPath="$PROJECT_DIR$/cmake-build-debug/ftests" /> <change type="MODIFICATION" beforePath="$PROJECT_DIR$/cmake-build-debug/ftests" afterPath="$PROJECT_DIR$/cmake-build-debug/ftests" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/workspace.xml" afterPath="$PROJECT_DIR$/.idea/workspace.xml" /> <change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/workspace.xml" afterPath="$PROJECT_DIR$/.idea/workspace.xml" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/CMakeLists.txt" afterPath="$PROJECT_DIR$/CMakeLists.txt" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/cmake-build-debug/CMakeFiles/Makefile2" afterPath="$PROJECT_DIR$/cmake-build-debug/CMakeFiles/Makefile2" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/cmake-build-debug/CMakeFiles/ftests.dir/CXX.includecache" afterPath="$PROJECT_DIR$/cmake-build-debug/CMakeFiles/ftests.dir/CXX.includecache" /> <change type="MODIFICATION" beforePath="$PROJECT_DIR$/cmake-build-debug/CMakeFiles/ftests.dir/CXX.includecache" afterPath="$PROJECT_DIR$/cmake-build-debug/CMakeFiles/ftests.dir/CXX.includecache" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/cmake-build-debug/conf/test.plan" afterPath="$PROJECT_DIR$/cmake-build-debug/conf/test.plan" /> <change type="MODIFICATION" beforePath="$PROJECT_DIR$/cmake-build-debug/CMakeFiles/ftests.dir/DependInfo.cmake" afterPath="$PROJECT_DIR$/cmake-build-debug/CMakeFiles/ftests.dir/DependInfo.cmake" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/cmake-build-debug/CMakeFiles/ftests.dir/build.make" afterPath="$PROJECT_DIR$/cmake-build-debug/CMakeFiles/ftests.dir/build.make" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/cmake-build-debug/CMakeFiles/ftests.dir/cmake_clean.cmake" afterPath="$PROJECT_DIR$/cmake-build-debug/CMakeFiles/ftests.dir/cmake_clean.cmake" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/cmake-build-debug/CMakeFiles/ftests.dir/depend.internal" afterPath="$PROJECT_DIR$/cmake-build-debug/CMakeFiles/ftests.dir/depend.internal" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/cmake-build-debug/CMakeFiles/ftests.dir/depend.make" afterPath="$PROJECT_DIR$/cmake-build-debug/CMakeFiles/ftests.dir/depend.make" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/cmake-build-debug/CMakeFiles/ftests.dir/link.txt" afterPath="$PROJECT_DIR$/cmake-build-debug/CMakeFiles/ftests.dir/link.txt" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/cmake-build-debug/CMakeFiles/ftests.dir/progress.make" afterPath="$PROJECT_DIR$/cmake-build-debug/CMakeFiles/ftests.dir/progress.make" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/cmake-build-debug/CMakeFiles/progress.marks" afterPath="$PROJECT_DIR$/cmake-build-debug/CMakeFiles/progress.marks" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/cmake-build-debug/Makefile" afterPath="$PROJECT_DIR$/cmake-build-debug/Makefile" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/cmake-build-debug/ftests.cbp" afterPath="$PROJECT_DIR$/cmake-build-debug/ftests.cbp" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/examplar.cpp" afterPath="$PROJECT_DIR$/examplar.cpp" /> <change type="MODIFICATION" beforePath="$PROJECT_DIR$/examplar.cpp" afterPath="$PROJECT_DIR$/examplar.cpp" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/loaders.cpp" afterPath="$PROJECT_DIR$/src/loaders.cpp" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/loaders.h" afterPath="$PROJECT_DIR$/src/loaders.h" />
</list> </list>
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" /> <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
<option name="TRACKING_ENABLED" value="true" /> <option name="TRACKING_ENABLED" value="true" />
@ -40,23 +61,11 @@
<splitter split-orientation="horizontal" split-proportion="0.4510178"> <splitter split-orientation="horizontal" split-proportion="0.4510178">
<split-first> <split-first>
<leaf SIDE_TABS_SIZE_LIMIT_KEY="300"> <leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
<file leaf-file-name="loaders.h" pinned="false" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/src/loaders.h">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="24">
<caret line="13" column="0" lean-forward="true" selection-start-line="13" selection-start-column="0" selection-end-line="13" selection-end-column="0" />
<folding>
<element signature="e#0#2#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
</file>
<file leaf-file-name="all_test.units" pinned="false" current-in-tab="false"> <file leaf-file-name="all_test.units" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/cmake-build-debug/conf/units/all_test.units"> <entry file="file://$PROJECT_DIR$/cmake-build-debug/conf/units/all_test.units">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="378"> <state relative-caret-position="36">
<caret line="21" column="1" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="21" selection-end-column="1" /> <caret line="2" column="9" lean-forward="false" selection-start-line="2" selection-start-column="9" selection-end-line="2" selection-end-column="9" />
<folding /> <folding />
</state> </state>
</provider> </provider>
@ -72,23 +81,54 @@
</provider> </provider>
</entry> </entry>
</file> </file>
<file leaf-file-name="loaders.h" pinned="false" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/src/loaders/loaders.h">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="108">
<caret line="6" column="0" lean-forward="false" selection-start-line="6" selection-start-column="0" selection-end-line="6" selection-end-column="0" />
<folding>
<element signature="e#0#2#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
</file>
</leaf> </leaf>
</split-first> </split-first>
<split-second> <split-second>
<leaf SIDE_TABS_SIZE_LIMIT_KEY="300"> <leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
<file leaf-file-name="loaders.cpp" pinned="false" current-in-tab="true"> <file leaf-file-name="loaders.cpp" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/src/loaders.cpp"> <entry file="file://$PROJECT_DIR$/src/loaders/loaders.cpp">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="1446"> <state relative-caret-position="36">
<caret line="89" column="13" lean-forward="false" selection-start-line="89" selection-start-column="13" selection-end-line="89" selection-end-column="13" /> <caret line="2" column="0" lean-forward="true" selection-start-line="2" selection-start-column="0" selection-end-line="2" selection-end-column="0" />
<folding />
</state>
</provider>
</entry>
</file>
<file leaf-file-name="Units.cpp" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/src/loaders/Units.cpp">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="1062">
<caret line="61" column="0" lean-forward="false" selection-start-line="61" selection-start-column="0" selection-end-line="61" selection-end-column="0" />
<folding> <folding>
<element signature="e#1915#2049#0" expanded="true" /> <element signature="e#1095#1229#0" expanded="true" />
<element signature="e#3196#3318#0" expanded="true" />
</folding> </folding>
</state> </state>
</provider> </provider>
</entry> </entry>
</file> </file>
<file leaf-file-name="Units.h" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/src/loaders/Units.h">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="126">
<caret line="9" column="19" lean-forward="false" selection-start-line="9" selection-start-column="19" selection-end-line="9" selection-end-column="19" />
<folding />
</state>
</provider>
</entry>
</file>
<file leaf-file-name="config.json" pinned="false" current-in-tab="false"> <file leaf-file-name="config.json" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/cmake-build-debug/config.json"> <entry file="file://$PROJECT_DIR$/cmake-build-debug/config.json">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
@ -99,11 +139,11 @@
</provider> </provider>
</entry> </entry>
</file> </file>
<file leaf-file-name="examplar.cpp" pinned="false" current-in-tab="false"> <file leaf-file-name="examplar.cpp" pinned="false" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/examplar.cpp"> <entry file="file://$PROJECT_DIR$/examplar.cpp">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="252"> <state relative-caret-position="108">
<caret line="14" column="9" lean-forward="false" selection-start-line="14" selection-start-column="9" selection-end-line="14" selection-end-column="9" /> <caret line="6" column="0" lean-forward="false" selection-start-line="6" selection-start-column="0" selection-end-line="6" selection-end-column="0" />
<folding /> <folding />
</state> </state>
</provider> </provider>
@ -131,6 +171,18 @@
<option value="$PROJECT_DIR$/cmake-build-debug/conf/test.plan" /> <option value="$PROJECT_DIR$/cmake-build-debug/conf/test.plan" />
<option value="$PROJECT_DIR$/src/loaders.h" /> <option value="$PROJECT_DIR$/src/loaders.h" />
<option value="$PROJECT_DIR$/src/loaders.cpp" /> <option value="$PROJECT_DIR$/src/loaders.cpp" />
<option value="$PROJECT_DIR$/src/loaders/JLoader.cpp" />
<option value="$PROJECT_DIR$/src/loaders/JLoader.h" />
<option value="$PROJECT_DIR$/src/loaders/helpers.cpp" />
<option value="$PROJECT_DIR$/src/loaders/helpers.h" />
<option value="$PROJECT_DIR$/src/loaders/Units.cpp" />
<option value="$PROJECT_DIR$/src/loaders/Units.h" />
<option value="$PROJECT_DIR$/src/loaders/Plan.cpp" />
<option value="$PROJECT_DIR$/src/loaders/Plan.h" />
<option value="$PROJECT_DIR$/src/loaders/loaders.cpp" />
<option value="$PROJECT_DIR$/src/loaders/Conf.cpp" />
<option value="$PROJECT_DIR$/src/loaders/Conf.h" />
<option value="$PROJECT_DIR$/src/loaders/loaders.h" />
</list> </list>
</option> </option>
</component> </component>
@ -173,6 +225,24 @@
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" /> <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT> </PATH_ELEMENT>
</PATH> </PATH>
<PATH>
<PATH_ELEMENT>
<option name="myItemId" value="ftests" />
<option name="myItemType" value="com.jetbrains.cidr.projectView.CidrFilesViewHelper$MyProjectTreeStructure$1" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="ftests" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="src" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="loaders" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT>
</PATH>
<PATH> <PATH>
<PATH_ELEMENT> <PATH_ELEMENT>
<option name="myItemId" value="ftests" /> <option name="myItemId" value="ftests" />
@ -251,17 +321,18 @@
<property name="js.eslint.eslintPackage" value="" /> <property name="js.eslint.eslintPackage" value="" />
</component> </component>
<component name="RecentsManager"> <component name="RecentsManager">
<key name="CopyFile.RECENT_KEYS">
<recent name="$PROJECT_DIR$/cmake-build-debug/conf" />
<recent name="$PROJECT_DIR$/cmake-build-debug" />
<recent name="$PROJECT_DIR$/units" />
</key>
<key name="MoveFile.RECENT_KEYS"> <key name="MoveFile.RECENT_KEYS">
<recent name="$PROJECT_DIR$/src/loaders" />
<recent name="$PROJECT_DIR$/src/json" /> <recent name="$PROJECT_DIR$/src/json" />
<recent name="$PROJECT_DIR$/src" /> <recent name="$PROJECT_DIR$/src" />
<recent name="$PROJECT_DIR$/cmake-build-debug/conf/units" /> <recent name="$PROJECT_DIR$/cmake-build-debug/conf/units" />
<recent name="$PROJECT_DIR$/units" /> <recent name="$PROJECT_DIR$/units" />
</key> </key>
<key name="CopyFile.RECENT_KEYS">
<recent name="$PROJECT_DIR$/cmake-build-debug/conf" />
<recent name="$PROJECT_DIR$/cmake-build-debug" />
<recent name="$PROJECT_DIR$/units" />
</key>
</component> </component>
<component name="RunManager" selected="Application.Build All"> <component name="RunManager" selected="Application.Build All">
<configuration default="true" type="CMakeGoogleTestRunConfigurationType" factoryName="Google Test" PASS_PARENT_ENVS_2="true" PROJECT_NAME="ftests" TARGET_NAME="ftests" CONFIG_NAME="Debug" TEST_MODE="SUITE_TEST"> <configuration default="true" type="CMakeGoogleTestRunConfigurationType" factoryName="Google Test" PASS_PARENT_ENVS_2="true" PROJECT_NAME="ftests" TARGET_NAME="ftests" CONFIG_NAME="Debug" TEST_MODE="SUITE_TEST">
@ -457,12 +528,12 @@
<workItem from="1491540345736" duration="17928000" /> <workItem from="1491540345736" duration="17928000" />
<workItem from="1491759279673" duration="614000" /> <workItem from="1491759279673" duration="614000" />
<workItem from="1492298506932" duration="46583000" /> <workItem from="1492298506932" duration="46583000" />
<workItem from="1492752608203" duration="1988000" /> <workItem from="1492752608203" duration="5072000" />
</task> </task>
<servers /> <servers />
</component> </component>
<component name="TimeTrackingManager"> <component name="TimeTrackingManager">
<option name="totallyTimeSpent" value="67113000" /> <option name="totallyTimeSpent" value="70197000" />
</component> </component>
<component name="TodoView"> <component name="TodoView">
<todo-panel id="selected-file"> <todo-panel id="selected-file">
@ -532,7 +603,7 @@
<watches-manager /> <watches-manager />
</component> </component>
<component name="editorHistoryManager"> <component name="editorHistoryManager">
<entry file="file://$PROJECT_DIR$/src/loaders.h"> <entry file="file://$PROJECT_DIR$/src/loaders/loaders.h">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="306"> <state relative-caret-position="306">
<caret line="17" column="12" lean-forward="true" selection-start-line="17" selection-start-column="12" selection-end-line="17" selection-end-column="12" /> <caret line="17" column="12" lean-forward="true" selection-start-line="17" selection-start-column="12" selection-end-line="17" selection-end-column="12" />
@ -558,14 +629,11 @@
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/src/loaders.cpp"> <entry file="file://$PROJECT_DIR$/src/loaders/loaders.cpp">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="1764"> <state relative-caret-position="1764">
<caret line="98" column="0" lean-forward="false" selection-start-line="98" selection-start-column="0" selection-end-line="98" selection-end-column="0" /> <caret line="98" column="0" lean-forward="false" selection-start-line="98" selection-start-column="0" selection-end-line="98" selection-end-column="0" />
<folding> <folding />
<element signature="e#1915#2049#0" expanded="true" />
<element signature="e#3196#3318#0" expanded="true" />
</folding>
</state> </state>
</provider> </provider>
</entry> </entry>
@ -640,6 +708,7 @@
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="108"> <state relative-caret-position="108">
<caret line="6" column="38" lean-forward="true" selection-start-line="6" selection-start-column="38" selection-end-line="6" selection-end-column="38" /> <caret line="6" column="38" lean-forward="true" selection-start-line="6" selection-start-column="38" selection-end-line="6" selection-end-column="38" />
<folding />
</state> </state>
</provider> </provider>
</entry> </entry>
@ -648,22 +717,22 @@
<state relative-caret-position="1558"> <state relative-caret-position="1558">
<caret line="3113" column="23" lean-forward="true" selection-start-line="3113" selection-start-column="23" selection-end-line="3113" selection-end-column="23" /> <caret line="3113" column="23" lean-forward="true" selection-start-line="3113" selection-start-column="23" selection-end-line="3113" selection-end-column="23" />
<folding> <folding>
<element signature="e#0#64#0" expanded="true" /> <element signature="e#0#64#0" expanded="false" />
<element signature="e#2978#3051#0" expanded="true" /> <element signature="e#2978#3051#0" expanded="false" />
<element signature="e#3272#3345#0" expanded="true" /> <element signature="e#3272#3345#0" expanded="false" />
<element signature="e#3960#4136#0" expanded="true" /> <element signature="e#3960#4136#0" expanded="false" />
<element signature="e#5982#6194#0" expanded="true" /> <element signature="e#5982#6194#0" expanded="false" />
<element signature="e#6453#6626#0" expanded="true" /> <element signature="e#6453#6626#0" expanded="false" />
<element signature="e#7270#7343#0" expanded="true" /> <element signature="e#7270#7343#0" expanded="false" />
<element signature="e#80097#80114#0" expanded="true" /> <element signature="e#80097#80114#0" expanded="false" />
<element signature="e#86376#86393#0" expanded="true" /> <element signature="e#86376#86393#0" expanded="false" />
<element signature="e#90202#90543#0" expanded="true" /> <element signature="e#90202#90543#0" expanded="false" />
<element signature="e#91265#91302#0" expanded="true" /> <element signature="e#91265#91302#0" expanded="false" />
<element signature="e#92828#92921#0" expanded="true" /> <element signature="e#92828#92921#0" expanded="false" />
<element signature="e#93710#93727#0" expanded="true" /> <element signature="e#93710#93727#0" expanded="false" />
<element signature="e#100233#100409#0" expanded="true" /> <element signature="e#100233#100409#0" expanded="false" />
<element signature="e#144847#144864#0" expanded="true" /> <element signature="e#144847#144864#0" expanded="false" />
<element signature="e#190023#190040#0" expanded="true" /> <element signature="e#190023#190040#0" expanded="false" />
</folding> </folding>
</state> </state>
</provider> </provider>
@ -673,34 +742,26 @@
<state relative-caret-position="756"> <state relative-caret-position="756">
<caret line="42" column="0" lean-forward="true" selection-start-line="42" selection-start-column="0" selection-end-line="42" selection-end-column="0" /> <caret line="42" column="0" lean-forward="true" selection-start-line="42" selection-start-column="0" selection-end-line="42" selection-end-column="0" />
<folding> <folding>
<element signature="e#0#64#0" expanded="true" /> <element signature="e#0#64#0" expanded="false" />
<element signature="e#2978#3051#0" expanded="true" /> <element signature="e#2978#3051#0" expanded="false" />
<element signature="e#3272#3345#0" expanded="true" /> <element signature="e#3272#3345#0" expanded="false" />
<element signature="e#3960#4136#0" expanded="true" /> <element signature="e#3960#4136#0" expanded="false" />
<element signature="e#5982#6194#0" expanded="true" /> <element signature="e#5982#6194#0" expanded="false" />
<element signature="e#6453#6626#0" expanded="true" /> <element signature="e#6453#6626#0" expanded="false" />
<element signature="e#7270#7343#0" expanded="true" /> <element signature="e#7270#7343#0" expanded="false" />
<element signature="e#80097#80114#0" expanded="true" /> <element signature="e#80097#80114#0" expanded="false" />
<element signature="e#86376#86393#0" expanded="true" /> <element signature="e#86376#86393#0" expanded="false" />
<element signature="e#90202#90543#0" expanded="true" /> <element signature="e#90202#90543#0" expanded="false" />
<element signature="e#91265#91302#0" expanded="true" /> <element signature="e#91265#91302#0" expanded="false" />
<element signature="e#92828#92921#0" expanded="true" /> <element signature="e#92828#92921#0" expanded="false" />
<element signature="e#93710#93727#0" expanded="true" /> <element signature="e#93710#93727#0" expanded="false" />
<element signature="e#100233#100409#0" expanded="true" /> <element signature="e#100233#100409#0" expanded="false" />
<element signature="e#144847#144864#0" expanded="true" /> <element signature="e#144847#144864#0" expanded="false" />
<element signature="e#190023#190040#0" expanded="true" /> <element signature="e#190023#190040#0" expanded="false" />
</folding> </folding>
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/cmake-build-debug/conf/units/all_test.units">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="378">
<caret line="21" column="1" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="21" selection-end-column="1" />
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/json/json.h"> <entry file="file://$PROJECT_DIR$/src/json/json.h">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="928"> <state relative-caret-position="928">
@ -750,6 +811,60 @@
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/src/loaders/Units.cpp">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="1062">
<caret line="61" column="0" lean-forward="false" selection-start-line="61" selection-start-column="0" selection-end-line="61" selection-end-column="0" />
<folding>
<element signature="e#1095#1229#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/loaders/Units.h">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="126">
<caret line="9" column="19" lean-forward="false" selection-start-line="9" selection-start-column="19" selection-end-line="9" selection-end-column="19" />
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/loaders/helpers.h">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="126">
<caret line="9" column="0" lean-forward="false" selection-start-line="9" selection-start-column="0" selection-end-line="9" selection-end-column="0" />
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/loaders/helpers.cpp">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="108">
<caret line="6" column="0" lean-forward="false" selection-start-line="6" selection-start-column="0" selection-end-line="6" selection-end-column="0" />
<folding>
<element signature="e#0#2#0" expanded="false" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/loaders/JLoader.h">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="144">
<caret line="8" column="0" lean-forward="false" selection-start-line="8" selection-start-column="0" selection-end-line="8" selection-end-column="0" />
<folding>
<element signature="e#0#2#0" expanded="false" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/cmake-build-debug/conf/units/all_test.units">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="36">
<caret line="2" column="9" lean-forward="false" selection-start-line="2" selection-start-column="9" selection-end-line="2" selection-end-column="9" />
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/cmake-build-debug/conf/test.plan"> <entry file="file://$PROJECT_DIR$/cmake-build-debug/conf/test.plan">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="72"> <state relative-caret-position="72">
@ -758,34 +873,73 @@
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/examplar.cpp"> <entry file="file://$PROJECT_DIR$/src/loaders/Plan.h">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="252"> <state relative-caret-position="108">
<caret line="14" column="9" lean-forward="false" selection-start-line="14" selection-start-column="9" selection-end-line="14" selection-end-column="9" /> <caret line="8" column="20" lean-forward="false" selection-start-line="8" selection-start-column="20" selection-end-line="8" selection-end-column="20" />
<folding /> <folding />
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/src/loaders.h"> <entry file="file://$PROJECT_DIR$/src/loaders/Plan.cpp">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="24"> <state relative-caret-position="396">
<caret line="13" column="0" lean-forward="true" selection-start-line="13" selection-start-column="0" selection-end-line="13" selection-end-column="0" /> <caret line="24" column="2" lean-forward="false" selection-start-line="24" selection-start-column="2" selection-end-line="24" selection-end-column="2" />
<folding>
<element signature="e#417#539#0" expanded="false" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/loaders/loaders.cpp">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="36">
<caret line="2" column="0" lean-forward="true" selection-start-line="2" selection-start-column="0" selection-end-line="2" selection-end-column="0" />
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/examplar.cpp">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="108">
<caret line="6" column="0" lean-forward="false" selection-start-line="6" selection-start-column="0" selection-end-line="6" selection-end-column="0" />
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/loaders/JLoader.cpp">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="288">
<caret line="18" column="0" lean-forward="false" selection-start-line="18" selection-start-column="0" selection-end-line="18" selection-end-column="0" />
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/loaders/Conf.h">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="72">
<caret line="6" column="0" lean-forward="false" selection-start-line="6" selection-start-column="0" selection-end-line="6" selection-end-column="0" />
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/loaders/Conf.cpp">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="90">
<caret line="7" column="0" lean-forward="true" selection-start-line="7" selection-start-column="0" selection-end-line="7" selection-end-column="0" />
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/loaders/loaders.h">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="108">
<caret line="6" column="0" lean-forward="false" selection-start-line="6" selection-start-column="0" selection-end-line="6" selection-end-column="0" />
<folding> <folding>
<element signature="e#0#2#0" expanded="true" /> <element signature="e#0#2#0" expanded="true" />
</folding> </folding>
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/src/loaders.cpp">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="1446">
<caret line="89" column="13" lean-forward="false" selection-start-line="89" selection-start-column="13" selection-end-line="89" selection-end-column="13" />
<folding>
<element signature="e#1915#2049#0" expanded="true" />
<element signature="e#3196#3318#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
</component> </component>
</project> </project>

View File

@ -3,5 +3,5 @@ project(ftests)
set(CMAKE_CXX_STANDARD 11) set(CMAKE_CXX_STANDARD 11)
set(SOURCE_FILES examplar.cpp src/loaders.cpp src/loaders.h src/json/jsoncpp.cpp) set(SOURCE_FILES examplar.cpp src/loaders/loaders.cpp src/loaders/loaders.h src/json/jsoncpp.cpp src/loaders/JLoader.cpp src/loaders/JLoader.h src/loaders/helpers.cpp src/loaders/helpers.h src/loaders/Units.cpp src/loaders/Units.h src/loaders/Plan.cpp src/loaders/Plan.h src/loaders/Conf.cpp src/loaders/Conf.h)
add_executable(ftests ${SOURCE_FILES}) add_executable(ftests ${SOURCE_FILES})

View File

@ -66,7 +66,7 @@ CMAKE_BINARY_DIR = /home/phanes/Development/internal/ftests/cmake-build-debug
CMakeFiles/ftests.dir/all: CMakeFiles/ftests.dir/all:
$(MAKE) -f CMakeFiles/ftests.dir/build.make CMakeFiles/ftests.dir/depend $(MAKE) -f CMakeFiles/ftests.dir/build.make CMakeFiles/ftests.dir/depend
$(MAKE) -f CMakeFiles/ftests.dir/build.make CMakeFiles/ftests.dir/build $(MAKE) -f CMakeFiles/ftests.dir/build.make CMakeFiles/ftests.dir/build
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/home/phanes/Development/internal/ftests/cmake-build-debug/CMakeFiles --progress-num=1,2,3,4 "Built target ftests" @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/home/phanes/Development/internal/ftests/cmake-build-debug/CMakeFiles --progress-num=1,2,3,4,5,6,7,8,9 "Built target ftests"
.PHONY : CMakeFiles/ftests.dir/all .PHONY : CMakeFiles/ftests.dir/all
# Include target in all. # Include target in all.
@ -76,7 +76,7 @@ all: CMakeFiles/ftests.dir/all
# Build rule for subdir invocation for target. # Build rule for subdir invocation for target.
CMakeFiles/ftests.dir/rule: cmake_check_build_system CMakeFiles/ftests.dir/rule: cmake_check_build_system
$(CMAKE_COMMAND) -E cmake_progress_start /home/phanes/Development/internal/ftests/cmake-build-debug/CMakeFiles 4 $(CMAKE_COMMAND) -E cmake_progress_start /home/phanes/Development/internal/ftests/cmake-build-debug/CMakeFiles 9
$(MAKE) -f CMakeFiles/Makefile2 CMakeFiles/ftests.dir/all $(MAKE) -f CMakeFiles/Makefile2 CMakeFiles/ftests.dir/all
$(CMAKE_COMMAND) -E cmake_progress_start /home/phanes/Development/internal/ftests/cmake-build-debug/CMakeFiles 0 $(CMAKE_COMMAND) -E cmake_progress_start /home/phanes/Development/internal/ftests/cmake-build-debug/CMakeFiles 0
.PHONY : CMakeFiles/ftests.dir/rule .PHONY : CMakeFiles/ftests.dir/rule

View File

@ -11,24 +11,8 @@ iostream
- -
src/json/json.h src/json/json.h
/home/phanes/Development/internal/ftests/src/json/json.h /home/phanes/Development/internal/ftests/src/json/json.h
src/loaders.h src/loaders/loaders.h
/home/phanes/Development/internal/ftests/src/loaders.h /home/phanes/Development/internal/ftests/src/loaders/loaders.h
/home/phanes/Development/internal/ftests/src/json/json-forwards.h
stddef.h
-
string
-
stdint.h
-
cpptl/config.h
-
version.h
/home/phanes/Development/internal/ftests/src/json/version.h
allocator.h
/home/phanes/Development/internal/ftests/src/json/allocator.h
config.h
/home/phanes/Development/internal/ftests/src/json/config.h
/home/phanes/Development/internal/ftests/src/json/json.h /home/phanes/Development/internal/ftests/src/json/json.h
stddef.h stddef.h
@ -178,19 +162,27 @@ cmath
float.h float.h
- -
/home/phanes/Development/internal/ftests/src/loaders.cpp /home/phanes/Development/internal/ftests/src/loaders/Conf.cpp
loaders.h Conf.h
/home/phanes/Development/internal/ftests/src/loaders.h /home/phanes/Development/internal/ftests/src/loaders/Conf.h
sys/stat.h JLoader.h
/home/phanes/Development/internal/ftests/src/loaders/JLoader.h
string
- -
/home/phanes/Development/internal/ftests/src/loaders.h /home/phanes/Development/internal/ftests/src/loaders/Conf.h
loaders.h JLoader.h
/home/phanes/Development/internal/ftests/src/loaders.h /home/phanes/Development/internal/ftests/src/loaders/JLoader.h
json/json.h
/home/phanes/Development/internal/ftests/src/loaders/JLoader.cpp
JLoader.h
/home/phanes/Development/internal/ftests/src/loaders/JLoader.h
helpers.h
/home/phanes/Development/internal/ftests/src/loaders/helpers.h
/home/phanes/Development/internal/ftests/src/loaders/JLoader.h
../json/json.h
/home/phanes/Development/internal/ftests/src/json/json.h /home/phanes/Development/internal/ftests/src/json/json.h
json/json-forwards.h
/home/phanes/Development/internal/ftests/src/json/json-forwards.h
iostream iostream
- -
fstream fstream
@ -198,3 +190,51 @@ fstream
cstdlib cstdlib
- -
/home/phanes/Development/internal/ftests/src/loaders/Plan.cpp
Plan.h
/home/phanes/Development/internal/ftests/src/loaders/Plan.h
/home/phanes/Development/internal/ftests/src/loaders/Plan.h
string
-
../json/json.h
/home/phanes/Development/internal/ftests/src/json/json.h
JLoader.h
/home/phanes/Development/internal/ftests/src/loaders/JLoader.h
/home/phanes/Development/internal/ftests/src/loaders/Units.cpp
Units.h
/home/phanes/Development/internal/ftests/src/loaders/Units.h
/home/phanes/Development/internal/ftests/src/loaders/Units.h
vector
-
../json/json.h
/home/phanes/Development/internal/ftests/src/json/json.h
JLoader.h
/home/phanes/Development/internal/ftests/src/loaders/JLoader.h
/home/phanes/Development/internal/ftests/src/loaders/helpers.cpp
helpers.h
/home/phanes/Development/internal/ftests/src/loaders/helpers.h
/home/phanes/Development/internal/ftests/src/loaders/helpers.h
string
-
sys/stat.h
-
/home/phanes/Development/internal/ftests/src/loaders/loaders.cpp
loaders.h
/home/phanes/Development/internal/ftests/src/loaders/loaders.h
/home/phanes/Development/internal/ftests/src/loaders/loaders.h
JLoader.h
/home/phanes/Development/internal/ftests/src/loaders/JLoader.h
Units.h
/home/phanes/Development/internal/ftests/src/loaders/Units.h
Plan.h
/home/phanes/Development/internal/ftests/src/loaders/Plan.h
Conf.h
/home/phanes/Development/internal/ftests/src/loaders/Conf.h

View File

@ -6,7 +6,12 @@ set(CMAKE_DEPENDS_LANGUAGES
set(CMAKE_DEPENDS_CHECK_CXX set(CMAKE_DEPENDS_CHECK_CXX
"/home/phanes/Development/internal/ftests/examplar.cpp" "/home/phanes/Development/internal/ftests/cmake-build-debug/CMakeFiles/ftests.dir/examplar.cpp.o" "/home/phanes/Development/internal/ftests/examplar.cpp" "/home/phanes/Development/internal/ftests/cmake-build-debug/CMakeFiles/ftests.dir/examplar.cpp.o"
"/home/phanes/Development/internal/ftests/src/json/jsoncpp.cpp" "/home/phanes/Development/internal/ftests/cmake-build-debug/CMakeFiles/ftests.dir/src/json/jsoncpp.cpp.o" "/home/phanes/Development/internal/ftests/src/json/jsoncpp.cpp" "/home/phanes/Development/internal/ftests/cmake-build-debug/CMakeFiles/ftests.dir/src/json/jsoncpp.cpp.o"
"/home/phanes/Development/internal/ftests/src/loaders.cpp" "/home/phanes/Development/internal/ftests/cmake-build-debug/CMakeFiles/ftests.dir/src/loaders.cpp.o" "/home/phanes/Development/internal/ftests/src/loaders/Conf.cpp" "/home/phanes/Development/internal/ftests/cmake-build-debug/CMakeFiles/ftests.dir/src/loaders/Conf.cpp.o"
"/home/phanes/Development/internal/ftests/src/loaders/JLoader.cpp" "/home/phanes/Development/internal/ftests/cmake-build-debug/CMakeFiles/ftests.dir/src/loaders/JLoader.cpp.o"
"/home/phanes/Development/internal/ftests/src/loaders/Plan.cpp" "/home/phanes/Development/internal/ftests/cmake-build-debug/CMakeFiles/ftests.dir/src/loaders/Plan.cpp.o"
"/home/phanes/Development/internal/ftests/src/loaders/Units.cpp" "/home/phanes/Development/internal/ftests/cmake-build-debug/CMakeFiles/ftests.dir/src/loaders/Units.cpp.o"
"/home/phanes/Development/internal/ftests/src/loaders/helpers.cpp" "/home/phanes/Development/internal/ftests/cmake-build-debug/CMakeFiles/ftests.dir/src/loaders/helpers.cpp.o"
"/home/phanes/Development/internal/ftests/src/loaders/loaders.cpp" "/home/phanes/Development/internal/ftests/cmake-build-debug/CMakeFiles/ftests.dir/src/loaders/loaders.cpp.o"
) )
set(CMAKE_CXX_COMPILER_ID "GNU") set(CMAKE_CXX_COMPILER_ID "GNU")

View File

@ -81,28 +81,28 @@ CMakeFiles/ftests.dir/examplar.cpp.o.provides: CMakeFiles/ftests.dir/examplar.cp
CMakeFiles/ftests.dir/examplar.cpp.o.provides.build: CMakeFiles/ftests.dir/examplar.cpp.o CMakeFiles/ftests.dir/examplar.cpp.o.provides.build: CMakeFiles/ftests.dir/examplar.cpp.o
CMakeFiles/ftests.dir/src/loaders.cpp.o: CMakeFiles/ftests.dir/flags.make CMakeFiles/ftests.dir/src/loaders/loaders.cpp.o: CMakeFiles/ftests.dir/flags.make
CMakeFiles/ftests.dir/src/loaders.cpp.o: ../src/loaders.cpp CMakeFiles/ftests.dir/src/loaders/loaders.cpp.o: ../src/loaders/loaders.cpp
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/phanes/Development/internal/ftests/cmake-build-debug/CMakeFiles --progress-num=$(CMAKE_PROGRESS_2) "Building CXX object CMakeFiles/ftests.dir/src/loaders.cpp.o" @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/phanes/Development/internal/ftests/cmake-build-debug/CMakeFiles --progress-num=$(CMAKE_PROGRESS_2) "Building CXX object CMakeFiles/ftests.dir/src/loaders/loaders.cpp.o"
/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/ftests.dir/src/loaders.cpp.o -c /home/phanes/Development/internal/ftests/src/loaders.cpp /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/ftests.dir/src/loaders/loaders.cpp.o -c /home/phanes/Development/internal/ftests/src/loaders/loaders.cpp
CMakeFiles/ftests.dir/src/loaders.cpp.i: cmake_force CMakeFiles/ftests.dir/src/loaders/loaders.cpp.i: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/ftests.dir/src/loaders.cpp.i" @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/ftests.dir/src/loaders/loaders.cpp.i"
/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /home/phanes/Development/internal/ftests/src/loaders.cpp > CMakeFiles/ftests.dir/src/loaders.cpp.i /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /home/phanes/Development/internal/ftests/src/loaders/loaders.cpp > CMakeFiles/ftests.dir/src/loaders/loaders.cpp.i
CMakeFiles/ftests.dir/src/loaders.cpp.s: cmake_force CMakeFiles/ftests.dir/src/loaders/loaders.cpp.s: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/ftests.dir/src/loaders.cpp.s" @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/ftests.dir/src/loaders/loaders.cpp.s"
/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /home/phanes/Development/internal/ftests/src/loaders.cpp -o CMakeFiles/ftests.dir/src/loaders.cpp.s /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /home/phanes/Development/internal/ftests/src/loaders/loaders.cpp -o CMakeFiles/ftests.dir/src/loaders/loaders.cpp.s
CMakeFiles/ftests.dir/src/loaders.cpp.o.requires: CMakeFiles/ftests.dir/src/loaders/loaders.cpp.o.requires:
.PHONY : CMakeFiles/ftests.dir/src/loaders.cpp.o.requires .PHONY : CMakeFiles/ftests.dir/src/loaders/loaders.cpp.o.requires
CMakeFiles/ftests.dir/src/loaders.cpp.o.provides: CMakeFiles/ftests.dir/src/loaders.cpp.o.requires CMakeFiles/ftests.dir/src/loaders/loaders.cpp.o.provides: CMakeFiles/ftests.dir/src/loaders/loaders.cpp.o.requires
$(MAKE) -f CMakeFiles/ftests.dir/build.make CMakeFiles/ftests.dir/src/loaders.cpp.o.provides.build $(MAKE) -f CMakeFiles/ftests.dir/build.make CMakeFiles/ftests.dir/src/loaders/loaders.cpp.o.provides.build
.PHONY : CMakeFiles/ftests.dir/src/loaders.cpp.o.provides .PHONY : CMakeFiles/ftests.dir/src/loaders/loaders.cpp.o.provides
CMakeFiles/ftests.dir/src/loaders.cpp.o.provides.build: CMakeFiles/ftests.dir/src/loaders.cpp.o CMakeFiles/ftests.dir/src/loaders/loaders.cpp.o.provides.build: CMakeFiles/ftests.dir/src/loaders/loaders.cpp.o
CMakeFiles/ftests.dir/src/json/jsoncpp.cpp.o: CMakeFiles/ftests.dir/flags.make CMakeFiles/ftests.dir/src/json/jsoncpp.cpp.o: CMakeFiles/ftests.dir/flags.make
@ -129,21 +129,151 @@ CMakeFiles/ftests.dir/src/json/jsoncpp.cpp.o.provides: CMakeFiles/ftests.dir/src
CMakeFiles/ftests.dir/src/json/jsoncpp.cpp.o.provides.build: CMakeFiles/ftests.dir/src/json/jsoncpp.cpp.o CMakeFiles/ftests.dir/src/json/jsoncpp.cpp.o.provides.build: CMakeFiles/ftests.dir/src/json/jsoncpp.cpp.o
CMakeFiles/ftests.dir/src/loaders/JLoader.cpp.o: CMakeFiles/ftests.dir/flags.make
CMakeFiles/ftests.dir/src/loaders/JLoader.cpp.o: ../src/loaders/JLoader.cpp
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/phanes/Development/internal/ftests/cmake-build-debug/CMakeFiles --progress-num=$(CMAKE_PROGRESS_4) "Building CXX object CMakeFiles/ftests.dir/src/loaders/JLoader.cpp.o"
/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/ftests.dir/src/loaders/JLoader.cpp.o -c /home/phanes/Development/internal/ftests/src/loaders/JLoader.cpp
CMakeFiles/ftests.dir/src/loaders/JLoader.cpp.i: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/ftests.dir/src/loaders/JLoader.cpp.i"
/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /home/phanes/Development/internal/ftests/src/loaders/JLoader.cpp > CMakeFiles/ftests.dir/src/loaders/JLoader.cpp.i
CMakeFiles/ftests.dir/src/loaders/JLoader.cpp.s: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/ftests.dir/src/loaders/JLoader.cpp.s"
/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /home/phanes/Development/internal/ftests/src/loaders/JLoader.cpp -o CMakeFiles/ftests.dir/src/loaders/JLoader.cpp.s
CMakeFiles/ftests.dir/src/loaders/JLoader.cpp.o.requires:
.PHONY : CMakeFiles/ftests.dir/src/loaders/JLoader.cpp.o.requires
CMakeFiles/ftests.dir/src/loaders/JLoader.cpp.o.provides: CMakeFiles/ftests.dir/src/loaders/JLoader.cpp.o.requires
$(MAKE) -f CMakeFiles/ftests.dir/build.make CMakeFiles/ftests.dir/src/loaders/JLoader.cpp.o.provides.build
.PHONY : CMakeFiles/ftests.dir/src/loaders/JLoader.cpp.o.provides
CMakeFiles/ftests.dir/src/loaders/JLoader.cpp.o.provides.build: CMakeFiles/ftests.dir/src/loaders/JLoader.cpp.o
CMakeFiles/ftests.dir/src/loaders/helpers.cpp.o: CMakeFiles/ftests.dir/flags.make
CMakeFiles/ftests.dir/src/loaders/helpers.cpp.o: ../src/loaders/helpers.cpp
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/phanes/Development/internal/ftests/cmake-build-debug/CMakeFiles --progress-num=$(CMAKE_PROGRESS_5) "Building CXX object CMakeFiles/ftests.dir/src/loaders/helpers.cpp.o"
/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/ftests.dir/src/loaders/helpers.cpp.o -c /home/phanes/Development/internal/ftests/src/loaders/helpers.cpp
CMakeFiles/ftests.dir/src/loaders/helpers.cpp.i: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/ftests.dir/src/loaders/helpers.cpp.i"
/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /home/phanes/Development/internal/ftests/src/loaders/helpers.cpp > CMakeFiles/ftests.dir/src/loaders/helpers.cpp.i
CMakeFiles/ftests.dir/src/loaders/helpers.cpp.s: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/ftests.dir/src/loaders/helpers.cpp.s"
/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /home/phanes/Development/internal/ftests/src/loaders/helpers.cpp -o CMakeFiles/ftests.dir/src/loaders/helpers.cpp.s
CMakeFiles/ftests.dir/src/loaders/helpers.cpp.o.requires:
.PHONY : CMakeFiles/ftests.dir/src/loaders/helpers.cpp.o.requires
CMakeFiles/ftests.dir/src/loaders/helpers.cpp.o.provides: CMakeFiles/ftests.dir/src/loaders/helpers.cpp.o.requires
$(MAKE) -f CMakeFiles/ftests.dir/build.make CMakeFiles/ftests.dir/src/loaders/helpers.cpp.o.provides.build
.PHONY : CMakeFiles/ftests.dir/src/loaders/helpers.cpp.o.provides
CMakeFiles/ftests.dir/src/loaders/helpers.cpp.o.provides.build: CMakeFiles/ftests.dir/src/loaders/helpers.cpp.o
CMakeFiles/ftests.dir/src/loaders/Units.cpp.o: CMakeFiles/ftests.dir/flags.make
CMakeFiles/ftests.dir/src/loaders/Units.cpp.o: ../src/loaders/Units.cpp
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/phanes/Development/internal/ftests/cmake-build-debug/CMakeFiles --progress-num=$(CMAKE_PROGRESS_6) "Building CXX object CMakeFiles/ftests.dir/src/loaders/Units.cpp.o"
/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/ftests.dir/src/loaders/Units.cpp.o -c /home/phanes/Development/internal/ftests/src/loaders/Units.cpp
CMakeFiles/ftests.dir/src/loaders/Units.cpp.i: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/ftests.dir/src/loaders/Units.cpp.i"
/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /home/phanes/Development/internal/ftests/src/loaders/Units.cpp > CMakeFiles/ftests.dir/src/loaders/Units.cpp.i
CMakeFiles/ftests.dir/src/loaders/Units.cpp.s: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/ftests.dir/src/loaders/Units.cpp.s"
/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /home/phanes/Development/internal/ftests/src/loaders/Units.cpp -o CMakeFiles/ftests.dir/src/loaders/Units.cpp.s
CMakeFiles/ftests.dir/src/loaders/Units.cpp.o.requires:
.PHONY : CMakeFiles/ftests.dir/src/loaders/Units.cpp.o.requires
CMakeFiles/ftests.dir/src/loaders/Units.cpp.o.provides: CMakeFiles/ftests.dir/src/loaders/Units.cpp.o.requires
$(MAKE) -f CMakeFiles/ftests.dir/build.make CMakeFiles/ftests.dir/src/loaders/Units.cpp.o.provides.build
.PHONY : CMakeFiles/ftests.dir/src/loaders/Units.cpp.o.provides
CMakeFiles/ftests.dir/src/loaders/Units.cpp.o.provides.build: CMakeFiles/ftests.dir/src/loaders/Units.cpp.o
CMakeFiles/ftests.dir/src/loaders/Plan.cpp.o: CMakeFiles/ftests.dir/flags.make
CMakeFiles/ftests.dir/src/loaders/Plan.cpp.o: ../src/loaders/Plan.cpp
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/phanes/Development/internal/ftests/cmake-build-debug/CMakeFiles --progress-num=$(CMAKE_PROGRESS_7) "Building CXX object CMakeFiles/ftests.dir/src/loaders/Plan.cpp.o"
/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/ftests.dir/src/loaders/Plan.cpp.o -c /home/phanes/Development/internal/ftests/src/loaders/Plan.cpp
CMakeFiles/ftests.dir/src/loaders/Plan.cpp.i: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/ftests.dir/src/loaders/Plan.cpp.i"
/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /home/phanes/Development/internal/ftests/src/loaders/Plan.cpp > CMakeFiles/ftests.dir/src/loaders/Plan.cpp.i
CMakeFiles/ftests.dir/src/loaders/Plan.cpp.s: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/ftests.dir/src/loaders/Plan.cpp.s"
/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /home/phanes/Development/internal/ftests/src/loaders/Plan.cpp -o CMakeFiles/ftests.dir/src/loaders/Plan.cpp.s
CMakeFiles/ftests.dir/src/loaders/Plan.cpp.o.requires:
.PHONY : CMakeFiles/ftests.dir/src/loaders/Plan.cpp.o.requires
CMakeFiles/ftests.dir/src/loaders/Plan.cpp.o.provides: CMakeFiles/ftests.dir/src/loaders/Plan.cpp.o.requires
$(MAKE) -f CMakeFiles/ftests.dir/build.make CMakeFiles/ftests.dir/src/loaders/Plan.cpp.o.provides.build
.PHONY : CMakeFiles/ftests.dir/src/loaders/Plan.cpp.o.provides
CMakeFiles/ftests.dir/src/loaders/Plan.cpp.o.provides.build: CMakeFiles/ftests.dir/src/loaders/Plan.cpp.o
CMakeFiles/ftests.dir/src/loaders/Conf.cpp.o: CMakeFiles/ftests.dir/flags.make
CMakeFiles/ftests.dir/src/loaders/Conf.cpp.o: ../src/loaders/Conf.cpp
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/phanes/Development/internal/ftests/cmake-build-debug/CMakeFiles --progress-num=$(CMAKE_PROGRESS_8) "Building CXX object CMakeFiles/ftests.dir/src/loaders/Conf.cpp.o"
/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/ftests.dir/src/loaders/Conf.cpp.o -c /home/phanes/Development/internal/ftests/src/loaders/Conf.cpp
CMakeFiles/ftests.dir/src/loaders/Conf.cpp.i: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/ftests.dir/src/loaders/Conf.cpp.i"
/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /home/phanes/Development/internal/ftests/src/loaders/Conf.cpp > CMakeFiles/ftests.dir/src/loaders/Conf.cpp.i
CMakeFiles/ftests.dir/src/loaders/Conf.cpp.s: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/ftests.dir/src/loaders/Conf.cpp.s"
/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /home/phanes/Development/internal/ftests/src/loaders/Conf.cpp -o CMakeFiles/ftests.dir/src/loaders/Conf.cpp.s
CMakeFiles/ftests.dir/src/loaders/Conf.cpp.o.requires:
.PHONY : CMakeFiles/ftests.dir/src/loaders/Conf.cpp.o.requires
CMakeFiles/ftests.dir/src/loaders/Conf.cpp.o.provides: CMakeFiles/ftests.dir/src/loaders/Conf.cpp.o.requires
$(MAKE) -f CMakeFiles/ftests.dir/build.make CMakeFiles/ftests.dir/src/loaders/Conf.cpp.o.provides.build
.PHONY : CMakeFiles/ftests.dir/src/loaders/Conf.cpp.o.provides
CMakeFiles/ftests.dir/src/loaders/Conf.cpp.o.provides.build: CMakeFiles/ftests.dir/src/loaders/Conf.cpp.o
# Object files for target ftests # Object files for target ftests
ftests_OBJECTS = \ ftests_OBJECTS = \
"CMakeFiles/ftests.dir/examplar.cpp.o" \ "CMakeFiles/ftests.dir/examplar.cpp.o" \
"CMakeFiles/ftests.dir/src/loaders.cpp.o" \ "CMakeFiles/ftests.dir/src/loaders/loaders.cpp.o" \
"CMakeFiles/ftests.dir/src/json/jsoncpp.cpp.o" "CMakeFiles/ftests.dir/src/json/jsoncpp.cpp.o" \
"CMakeFiles/ftests.dir/src/loaders/JLoader.cpp.o" \
"CMakeFiles/ftests.dir/src/loaders/helpers.cpp.o" \
"CMakeFiles/ftests.dir/src/loaders/Units.cpp.o" \
"CMakeFiles/ftests.dir/src/loaders/Plan.cpp.o" \
"CMakeFiles/ftests.dir/src/loaders/Conf.cpp.o"
# External object files for target ftests # External object files for target ftests
ftests_EXTERNAL_OBJECTS = ftests_EXTERNAL_OBJECTS =
ftests: CMakeFiles/ftests.dir/examplar.cpp.o ftests: CMakeFiles/ftests.dir/examplar.cpp.o
ftests: CMakeFiles/ftests.dir/src/loaders.cpp.o ftests: CMakeFiles/ftests.dir/src/loaders/loaders.cpp.o
ftests: CMakeFiles/ftests.dir/src/json/jsoncpp.cpp.o ftests: CMakeFiles/ftests.dir/src/json/jsoncpp.cpp.o
ftests: CMakeFiles/ftests.dir/src/loaders/JLoader.cpp.o
ftests: CMakeFiles/ftests.dir/src/loaders/helpers.cpp.o
ftests: CMakeFiles/ftests.dir/src/loaders/Units.cpp.o
ftests: CMakeFiles/ftests.dir/src/loaders/Plan.cpp.o
ftests: CMakeFiles/ftests.dir/src/loaders/Conf.cpp.o
ftests: CMakeFiles/ftests.dir/build.make ftests: CMakeFiles/ftests.dir/build.make
ftests: CMakeFiles/ftests.dir/link.txt ftests: CMakeFiles/ftests.dir/link.txt
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --bold --progress-dir=/home/phanes/Development/internal/ftests/cmake-build-debug/CMakeFiles --progress-num=$(CMAKE_PROGRESS_4) "Linking CXX executable ftests" @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --bold --progress-dir=/home/phanes/Development/internal/ftests/cmake-build-debug/CMakeFiles --progress-num=$(CMAKE_PROGRESS_9) "Linking CXX executable ftests"
$(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/ftests.dir/link.txt --verbose=$(VERBOSE) $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/ftests.dir/link.txt --verbose=$(VERBOSE)
# Rule to build all files generated by this target. # Rule to build all files generated by this target.
@ -152,8 +282,13 @@ CMakeFiles/ftests.dir/build: ftests
.PHONY : CMakeFiles/ftests.dir/build .PHONY : CMakeFiles/ftests.dir/build
CMakeFiles/ftests.dir/requires: CMakeFiles/ftests.dir/examplar.cpp.o.requires CMakeFiles/ftests.dir/requires: CMakeFiles/ftests.dir/examplar.cpp.o.requires
CMakeFiles/ftests.dir/requires: CMakeFiles/ftests.dir/src/loaders.cpp.o.requires CMakeFiles/ftests.dir/requires: CMakeFiles/ftests.dir/src/loaders/loaders.cpp.o.requires
CMakeFiles/ftests.dir/requires: CMakeFiles/ftests.dir/src/json/jsoncpp.cpp.o.requires CMakeFiles/ftests.dir/requires: CMakeFiles/ftests.dir/src/json/jsoncpp.cpp.o.requires
CMakeFiles/ftests.dir/requires: CMakeFiles/ftests.dir/src/loaders/JLoader.cpp.o.requires
CMakeFiles/ftests.dir/requires: CMakeFiles/ftests.dir/src/loaders/helpers.cpp.o.requires
CMakeFiles/ftests.dir/requires: CMakeFiles/ftests.dir/src/loaders/Units.cpp.o.requires
CMakeFiles/ftests.dir/requires: CMakeFiles/ftests.dir/src/loaders/Plan.cpp.o.requires
CMakeFiles/ftests.dir/requires: CMakeFiles/ftests.dir/src/loaders/Conf.cpp.o.requires
.PHONY : CMakeFiles/ftests.dir/requires .PHONY : CMakeFiles/ftests.dir/requires

View File

@ -1,7 +1,12 @@
file(REMOVE_RECURSE file(REMOVE_RECURSE
"CMakeFiles/ftests.dir/examplar.cpp.o" "CMakeFiles/ftests.dir/examplar.cpp.o"
"CMakeFiles/ftests.dir/src/loaders.cpp.o" "CMakeFiles/ftests.dir/src/loaders/loaders.cpp.o"
"CMakeFiles/ftests.dir/src/json/jsoncpp.cpp.o" "CMakeFiles/ftests.dir/src/json/jsoncpp.cpp.o"
"CMakeFiles/ftests.dir/src/loaders/JLoader.cpp.o"
"CMakeFiles/ftests.dir/src/loaders/helpers.cpp.o"
"CMakeFiles/ftests.dir/src/loaders/Units.cpp.o"
"CMakeFiles/ftests.dir/src/loaders/Plan.cpp.o"
"CMakeFiles/ftests.dir/src/loaders/Conf.cpp.o"
"ftests.pdb" "ftests.pdb"
"ftests" "ftests"
) )

View File

@ -3,14 +3,43 @@
CMakeFiles/ftests.dir/examplar.cpp.o CMakeFiles/ftests.dir/examplar.cpp.o
/home/phanes/Development/internal/ftests/examplar.cpp /home/phanes/Development/internal/ftests/examplar.cpp
/home/phanes/Development/internal/ftests/src/json/json-forwards.h
/home/phanes/Development/internal/ftests/src/json/json.h /home/phanes/Development/internal/ftests/src/json/json.h
/home/phanes/Development/internal/ftests/src/loaders.h /home/phanes/Development/internal/ftests/src/loaders/Conf.h
/home/phanes/Development/internal/ftests/src/loaders/JLoader.h
/home/phanes/Development/internal/ftests/src/loaders/Plan.h
/home/phanes/Development/internal/ftests/src/loaders/Units.h
/home/phanes/Development/internal/ftests/src/loaders/loaders.h
CMakeFiles/ftests.dir/src/json/jsoncpp.cpp.o CMakeFiles/ftests.dir/src/json/jsoncpp.cpp.o
/home/phanes/Development/internal/ftests/src/json/json.h /home/phanes/Development/internal/ftests/src/json/json.h
/home/phanes/Development/internal/ftests/src/json/jsoncpp.cpp /home/phanes/Development/internal/ftests/src/json/jsoncpp.cpp
CMakeFiles/ftests.dir/src/loaders.cpp.o CMakeFiles/ftests.dir/src/loaders/Conf.cpp.o
/home/phanes/Development/internal/ftests/src/json/json-forwards.h
/home/phanes/Development/internal/ftests/src/json/json.h /home/phanes/Development/internal/ftests/src/json/json.h
/home/phanes/Development/internal/ftests/src/loaders.cpp /home/phanes/Development/internal/ftests/src/loaders/Conf.cpp
/home/phanes/Development/internal/ftests/src/loaders.h /home/phanes/Development/internal/ftests/src/loaders/Conf.h
/home/phanes/Development/internal/ftests/src/loaders/JLoader.h
CMakeFiles/ftests.dir/src/loaders/JLoader.cpp.o
/home/phanes/Development/internal/ftests/src/json/json.h
/home/phanes/Development/internal/ftests/src/loaders/JLoader.cpp
/home/phanes/Development/internal/ftests/src/loaders/JLoader.h
/home/phanes/Development/internal/ftests/src/loaders/helpers.h
CMakeFiles/ftests.dir/src/loaders/Plan.cpp.o
/home/phanes/Development/internal/ftests/src/json/json.h
/home/phanes/Development/internal/ftests/src/loaders/JLoader.h
/home/phanes/Development/internal/ftests/src/loaders/Plan.cpp
/home/phanes/Development/internal/ftests/src/loaders/Plan.h
CMakeFiles/ftests.dir/src/loaders/Units.cpp.o
/home/phanes/Development/internal/ftests/src/json/json.h
/home/phanes/Development/internal/ftests/src/loaders/JLoader.h
/home/phanes/Development/internal/ftests/src/loaders/Units.cpp
/home/phanes/Development/internal/ftests/src/loaders/Units.h
CMakeFiles/ftests.dir/src/loaders/helpers.cpp.o
/home/phanes/Development/internal/ftests/src/loaders/helpers.cpp
/home/phanes/Development/internal/ftests/src/loaders/helpers.h
CMakeFiles/ftests.dir/src/loaders/loaders.cpp.o
/home/phanes/Development/internal/ftests/src/json/json.h
/home/phanes/Development/internal/ftests/src/loaders/Conf.h
/home/phanes/Development/internal/ftests/src/loaders/JLoader.h
/home/phanes/Development/internal/ftests/src/loaders/Plan.h
/home/phanes/Development/internal/ftests/src/loaders/Units.h
/home/phanes/Development/internal/ftests/src/loaders/loaders.cpp
/home/phanes/Development/internal/ftests/src/loaders/loaders.h

View File

@ -2,15 +2,44 @@
# Generated by "Unix Makefiles" Generator, CMake Version 3.5 # Generated by "Unix Makefiles" Generator, CMake Version 3.5
CMakeFiles/ftests.dir/examplar.cpp.o: ../examplar.cpp CMakeFiles/ftests.dir/examplar.cpp.o: ../examplar.cpp
CMakeFiles/ftests.dir/examplar.cpp.o: ../src/json/json-forwards.h
CMakeFiles/ftests.dir/examplar.cpp.o: ../src/json/json.h CMakeFiles/ftests.dir/examplar.cpp.o: ../src/json/json.h
CMakeFiles/ftests.dir/examplar.cpp.o: ../src/loaders.h CMakeFiles/ftests.dir/examplar.cpp.o: ../src/loaders/Conf.h
CMakeFiles/ftests.dir/examplar.cpp.o: ../src/loaders/JLoader.h
CMakeFiles/ftests.dir/examplar.cpp.o: ../src/loaders/Plan.h
CMakeFiles/ftests.dir/examplar.cpp.o: ../src/loaders/Units.h
CMakeFiles/ftests.dir/examplar.cpp.o: ../src/loaders/loaders.h
CMakeFiles/ftests.dir/src/json/jsoncpp.cpp.o: ../src/json/json.h CMakeFiles/ftests.dir/src/json/jsoncpp.cpp.o: ../src/json/json.h
CMakeFiles/ftests.dir/src/json/jsoncpp.cpp.o: ../src/json/jsoncpp.cpp CMakeFiles/ftests.dir/src/json/jsoncpp.cpp.o: ../src/json/jsoncpp.cpp
CMakeFiles/ftests.dir/src/loaders.cpp.o: ../src/json/json-forwards.h CMakeFiles/ftests.dir/src/loaders/Conf.cpp.o: ../src/json/json.h
CMakeFiles/ftests.dir/src/loaders.cpp.o: ../src/json/json.h CMakeFiles/ftests.dir/src/loaders/Conf.cpp.o: ../src/loaders/Conf.cpp
CMakeFiles/ftests.dir/src/loaders.cpp.o: ../src/loaders.cpp CMakeFiles/ftests.dir/src/loaders/Conf.cpp.o: ../src/loaders/Conf.h
CMakeFiles/ftests.dir/src/loaders.cpp.o: ../src/loaders.h CMakeFiles/ftests.dir/src/loaders/Conf.cpp.o: ../src/loaders/JLoader.h
CMakeFiles/ftests.dir/src/loaders/JLoader.cpp.o: ../src/json/json.h
CMakeFiles/ftests.dir/src/loaders/JLoader.cpp.o: ../src/loaders/JLoader.cpp
CMakeFiles/ftests.dir/src/loaders/JLoader.cpp.o: ../src/loaders/JLoader.h
CMakeFiles/ftests.dir/src/loaders/JLoader.cpp.o: ../src/loaders/helpers.h
CMakeFiles/ftests.dir/src/loaders/Plan.cpp.o: ../src/json/json.h
CMakeFiles/ftests.dir/src/loaders/Plan.cpp.o: ../src/loaders/JLoader.h
CMakeFiles/ftests.dir/src/loaders/Plan.cpp.o: ../src/loaders/Plan.cpp
CMakeFiles/ftests.dir/src/loaders/Plan.cpp.o: ../src/loaders/Plan.h
CMakeFiles/ftests.dir/src/loaders/Units.cpp.o: ../src/json/json.h
CMakeFiles/ftests.dir/src/loaders/Units.cpp.o: ../src/loaders/JLoader.h
CMakeFiles/ftests.dir/src/loaders/Units.cpp.o: ../src/loaders/Units.cpp
CMakeFiles/ftests.dir/src/loaders/Units.cpp.o: ../src/loaders/Units.h
CMakeFiles/ftests.dir/src/loaders/helpers.cpp.o: ../src/loaders/helpers.cpp
CMakeFiles/ftests.dir/src/loaders/helpers.cpp.o: ../src/loaders/helpers.h
CMakeFiles/ftests.dir/src/loaders/loaders.cpp.o: ../src/json/json.h
CMakeFiles/ftests.dir/src/loaders/loaders.cpp.o: ../src/loaders/Conf.h
CMakeFiles/ftests.dir/src/loaders/loaders.cpp.o: ../src/loaders/JLoader.h
CMakeFiles/ftests.dir/src/loaders/loaders.cpp.o: ../src/loaders/Plan.h
CMakeFiles/ftests.dir/src/loaders/loaders.cpp.o: ../src/loaders/Units.h
CMakeFiles/ftests.dir/src/loaders/loaders.cpp.o: ../src/loaders/loaders.cpp
CMakeFiles/ftests.dir/src/loaders/loaders.cpp.o: ../src/loaders/loaders.h

View File

@ -1 +1 @@
/usr/bin/c++ -g CMakeFiles/ftests.dir/examplar.cpp.o CMakeFiles/ftests.dir/src/loaders.cpp.o CMakeFiles/ftests.dir/src/json/jsoncpp.cpp.o -o ftests /usr/bin/c++ -g CMakeFiles/ftests.dir/examplar.cpp.o CMakeFiles/ftests.dir/src/loaders/loaders.cpp.o CMakeFiles/ftests.dir/src/json/jsoncpp.cpp.o CMakeFiles/ftests.dir/src/loaders/JLoader.cpp.o CMakeFiles/ftests.dir/src/loaders/helpers.cpp.o CMakeFiles/ftests.dir/src/loaders/Units.cpp.o CMakeFiles/ftests.dir/src/loaders/Plan.cpp.o CMakeFiles/ftests.dir/src/loaders/Conf.cpp.o -o ftests

View File

@ -2,4 +2,9 @@ CMAKE_PROGRESS_1 = 1
CMAKE_PROGRESS_2 = 2 CMAKE_PROGRESS_2 = 2
CMAKE_PROGRESS_3 = 3 CMAKE_PROGRESS_3 = 3
CMAKE_PROGRESS_4 = 4 CMAKE_PROGRESS_4 = 4
CMAKE_PROGRESS_5 = 5
CMAKE_PROGRESS_6 = 6
CMAKE_PROGRESS_7 = 7
CMAKE_PROGRESS_8 = 8
CMAKE_PROGRESS_9 = 9

View File

@ -1 +1 @@
4 9

View File

@ -177,32 +177,167 @@ src/json/jsoncpp.cpp.s:
$(MAKE) -f CMakeFiles/ftests.dir/build.make CMakeFiles/ftests.dir/src/json/jsoncpp.cpp.s $(MAKE) -f CMakeFiles/ftests.dir/build.make CMakeFiles/ftests.dir/src/json/jsoncpp.cpp.s
.PHONY : src/json/jsoncpp.cpp.s .PHONY : src/json/jsoncpp.cpp.s
src/loaders.o: src/loaders.cpp.o src/loaders/Conf.o: src/loaders/Conf.cpp.o
.PHONY : src/loaders.o .PHONY : src/loaders/Conf.o
# target to build an object file # target to build an object file
src/loaders.cpp.o: src/loaders/Conf.cpp.o:
$(MAKE) -f CMakeFiles/ftests.dir/build.make CMakeFiles/ftests.dir/src/loaders.cpp.o $(MAKE) -f CMakeFiles/ftests.dir/build.make CMakeFiles/ftests.dir/src/loaders/Conf.cpp.o
.PHONY : src/loaders.cpp.o .PHONY : src/loaders/Conf.cpp.o
src/loaders.i: src/loaders.cpp.i src/loaders/Conf.i: src/loaders/Conf.cpp.i
.PHONY : src/loaders.i .PHONY : src/loaders/Conf.i
# target to preprocess a source file # target to preprocess a source file
src/loaders.cpp.i: src/loaders/Conf.cpp.i:
$(MAKE) -f CMakeFiles/ftests.dir/build.make CMakeFiles/ftests.dir/src/loaders.cpp.i $(MAKE) -f CMakeFiles/ftests.dir/build.make CMakeFiles/ftests.dir/src/loaders/Conf.cpp.i
.PHONY : src/loaders.cpp.i .PHONY : src/loaders/Conf.cpp.i
src/loaders.s: src/loaders.cpp.s src/loaders/Conf.s: src/loaders/Conf.cpp.s
.PHONY : src/loaders.s .PHONY : src/loaders/Conf.s
# target to generate assembly for a file # target to generate assembly for a file
src/loaders.cpp.s: src/loaders/Conf.cpp.s:
$(MAKE) -f CMakeFiles/ftests.dir/build.make CMakeFiles/ftests.dir/src/loaders.cpp.s $(MAKE) -f CMakeFiles/ftests.dir/build.make CMakeFiles/ftests.dir/src/loaders/Conf.cpp.s
.PHONY : src/loaders.cpp.s .PHONY : src/loaders/Conf.cpp.s
src/loaders/JLoader.o: src/loaders/JLoader.cpp.o
.PHONY : src/loaders/JLoader.o
# target to build an object file
src/loaders/JLoader.cpp.o:
$(MAKE) -f CMakeFiles/ftests.dir/build.make CMakeFiles/ftests.dir/src/loaders/JLoader.cpp.o
.PHONY : src/loaders/JLoader.cpp.o
src/loaders/JLoader.i: src/loaders/JLoader.cpp.i
.PHONY : src/loaders/JLoader.i
# target to preprocess a source file
src/loaders/JLoader.cpp.i:
$(MAKE) -f CMakeFiles/ftests.dir/build.make CMakeFiles/ftests.dir/src/loaders/JLoader.cpp.i
.PHONY : src/loaders/JLoader.cpp.i
src/loaders/JLoader.s: src/loaders/JLoader.cpp.s
.PHONY : src/loaders/JLoader.s
# target to generate assembly for a file
src/loaders/JLoader.cpp.s:
$(MAKE) -f CMakeFiles/ftests.dir/build.make CMakeFiles/ftests.dir/src/loaders/JLoader.cpp.s
.PHONY : src/loaders/JLoader.cpp.s
src/loaders/Plan.o: src/loaders/Plan.cpp.o
.PHONY : src/loaders/Plan.o
# target to build an object file
src/loaders/Plan.cpp.o:
$(MAKE) -f CMakeFiles/ftests.dir/build.make CMakeFiles/ftests.dir/src/loaders/Plan.cpp.o
.PHONY : src/loaders/Plan.cpp.o
src/loaders/Plan.i: src/loaders/Plan.cpp.i
.PHONY : src/loaders/Plan.i
# target to preprocess a source file
src/loaders/Plan.cpp.i:
$(MAKE) -f CMakeFiles/ftests.dir/build.make CMakeFiles/ftests.dir/src/loaders/Plan.cpp.i
.PHONY : src/loaders/Plan.cpp.i
src/loaders/Plan.s: src/loaders/Plan.cpp.s
.PHONY : src/loaders/Plan.s
# target to generate assembly for a file
src/loaders/Plan.cpp.s:
$(MAKE) -f CMakeFiles/ftests.dir/build.make CMakeFiles/ftests.dir/src/loaders/Plan.cpp.s
.PHONY : src/loaders/Plan.cpp.s
src/loaders/Units.o: src/loaders/Units.cpp.o
.PHONY : src/loaders/Units.o
# target to build an object file
src/loaders/Units.cpp.o:
$(MAKE) -f CMakeFiles/ftests.dir/build.make CMakeFiles/ftests.dir/src/loaders/Units.cpp.o
.PHONY : src/loaders/Units.cpp.o
src/loaders/Units.i: src/loaders/Units.cpp.i
.PHONY : src/loaders/Units.i
# target to preprocess a source file
src/loaders/Units.cpp.i:
$(MAKE) -f CMakeFiles/ftests.dir/build.make CMakeFiles/ftests.dir/src/loaders/Units.cpp.i
.PHONY : src/loaders/Units.cpp.i
src/loaders/Units.s: src/loaders/Units.cpp.s
.PHONY : src/loaders/Units.s
# target to generate assembly for a file
src/loaders/Units.cpp.s:
$(MAKE) -f CMakeFiles/ftests.dir/build.make CMakeFiles/ftests.dir/src/loaders/Units.cpp.s
.PHONY : src/loaders/Units.cpp.s
src/loaders/helpers.o: src/loaders/helpers.cpp.o
.PHONY : src/loaders/helpers.o
# target to build an object file
src/loaders/helpers.cpp.o:
$(MAKE) -f CMakeFiles/ftests.dir/build.make CMakeFiles/ftests.dir/src/loaders/helpers.cpp.o
.PHONY : src/loaders/helpers.cpp.o
src/loaders/helpers.i: src/loaders/helpers.cpp.i
.PHONY : src/loaders/helpers.i
# target to preprocess a source file
src/loaders/helpers.cpp.i:
$(MAKE) -f CMakeFiles/ftests.dir/build.make CMakeFiles/ftests.dir/src/loaders/helpers.cpp.i
.PHONY : src/loaders/helpers.cpp.i
src/loaders/helpers.s: src/loaders/helpers.cpp.s
.PHONY : src/loaders/helpers.s
# target to generate assembly for a file
src/loaders/helpers.cpp.s:
$(MAKE) -f CMakeFiles/ftests.dir/build.make CMakeFiles/ftests.dir/src/loaders/helpers.cpp.s
.PHONY : src/loaders/helpers.cpp.s
src/loaders/loaders.o: src/loaders/loaders.cpp.o
.PHONY : src/loaders/loaders.o
# target to build an object file
src/loaders/loaders.cpp.o:
$(MAKE) -f CMakeFiles/ftests.dir/build.make CMakeFiles/ftests.dir/src/loaders/loaders.cpp.o
.PHONY : src/loaders/loaders.cpp.o
src/loaders/loaders.i: src/loaders/loaders.cpp.i
.PHONY : src/loaders/loaders.i
# target to preprocess a source file
src/loaders/loaders.cpp.i:
$(MAKE) -f CMakeFiles/ftests.dir/build.make CMakeFiles/ftests.dir/src/loaders/loaders.cpp.i
.PHONY : src/loaders/loaders.cpp.i
src/loaders/loaders.s: src/loaders/loaders.cpp.s
.PHONY : src/loaders/loaders.s
# target to generate assembly for a file
src/loaders/loaders.cpp.s:
$(MAKE) -f CMakeFiles/ftests.dir/build.make CMakeFiles/ftests.dir/src/loaders/loaders.cpp.s
.PHONY : src/loaders/loaders.cpp.s
# Help Target # Help Target
help: help:
@ -219,9 +354,24 @@ help:
@echo "... src/json/jsoncpp.o" @echo "... src/json/jsoncpp.o"
@echo "... src/json/jsoncpp.i" @echo "... src/json/jsoncpp.i"
@echo "... src/json/jsoncpp.s" @echo "... src/json/jsoncpp.s"
@echo "... src/loaders.o" @echo "... src/loaders/Conf.o"
@echo "... src/loaders.i" @echo "... src/loaders/Conf.i"
@echo "... src/loaders.s" @echo "... src/loaders/Conf.s"
@echo "... src/loaders/JLoader.o"
@echo "... src/loaders/JLoader.i"
@echo "... src/loaders/JLoader.s"
@echo "... src/loaders/Plan.o"
@echo "... src/loaders/Plan.i"
@echo "... src/loaders/Plan.s"
@echo "... src/loaders/Units.o"
@echo "... src/loaders/Units.i"
@echo "... src/loaders/Units.s"
@echo "... src/loaders/helpers.o"
@echo "... src/loaders/helpers.i"
@echo "... src/loaders/helpers.s"
@echo "... src/loaders/loaders.o"
@echo "... src/loaders/loaders.i"
@echo "... src/loaders/loaders.s"
.PHONY : help .PHONY : help

Binary file not shown.

View File

@ -90,10 +90,40 @@
<Unit filename="/home/phanes/Development/internal/ftests/src/json/jsoncpp.cpp"> <Unit filename="/home/phanes/Development/internal/ftests/src/json/jsoncpp.cpp">
<Option target="ftests"/> <Option target="ftests"/>
</Unit> </Unit>
<Unit filename="/home/phanes/Development/internal/ftests/src/loaders.cpp"> <Unit filename="/home/phanes/Development/internal/ftests/src/loaders/Conf.cpp">
<Option target="ftests"/> <Option target="ftests"/>
</Unit> </Unit>
<Unit filename="/home/phanes/Development/internal/ftests/src/loaders.h"> <Unit filename="/home/phanes/Development/internal/ftests/src/loaders/Conf.h">
<Option target="ftests"/>
</Unit>
<Unit filename="/home/phanes/Development/internal/ftests/src/loaders/JLoader.cpp">
<Option target="ftests"/>
</Unit>
<Unit filename="/home/phanes/Development/internal/ftests/src/loaders/JLoader.h">
<Option target="ftests"/>
</Unit>
<Unit filename="/home/phanes/Development/internal/ftests/src/loaders/Plan.cpp">
<Option target="ftests"/>
</Unit>
<Unit filename="/home/phanes/Development/internal/ftests/src/loaders/Plan.h">
<Option target="ftests"/>
</Unit>
<Unit filename="/home/phanes/Development/internal/ftests/src/loaders/Units.cpp">
<Option target="ftests"/>
</Unit>
<Unit filename="/home/phanes/Development/internal/ftests/src/loaders/Units.h">
<Option target="ftests"/>
</Unit>
<Unit filename="/home/phanes/Development/internal/ftests/src/loaders/helpers.cpp">
<Option target="ftests"/>
</Unit>
<Unit filename="/home/phanes/Development/internal/ftests/src/loaders/helpers.h">
<Option target="ftests"/>
</Unit>
<Unit filename="/home/phanes/Development/internal/ftests/src/loaders/loaders.cpp">
<Option target="ftests"/>
</Unit>
<Unit filename="/home/phanes/Development/internal/ftests/src/loaders/loaders.h">
<Option target="ftests"/> <Option target="ftests"/>
</Unit> </Unit>
<Unit filename="/home/phanes/Development/internal/ftests/CMakeLists.txt"> <Unit filename="/home/phanes/Development/internal/ftests/CMakeLists.txt">

View File

@ -1,6 +1,6 @@
#include <iostream> #include <iostream>
#include "src/json/json.h" #include "src/json/json.h"
#include "src/loaders.h" #include "src/loaders/loaders.h"
int main() int main()
{ {

View File

@ -1,90 +0,0 @@
//
// Created by phanes on 4/16/17.
//
#ifndef FTESTS_LOADERS_H
#define FTESTS_LOADERS_H
#include "loaders.h"
#include "json/json.h"
#include "json/json-forwards.h"
#include <iostream>
#include <fstream>
#include <cstdlib>
inline bool exists (const std::string& name);
class JLoader
{
private:
Json::Value json_root;
public:
JLoader( std::string filename );
Json::Value get_root();
};
class Unit
{
private:
std::string name;
std::string target;
std::string output;
std::string rectifier;
std::string active;
std::string required;
std::string rectify;
public:
Unit( Json::Value loader_root );
std::string get_name();
std::string get_target();
std::string get_output();
std::string get_rectifier();
std::string get_active();
std::string get_required();
std::string get_rectify();
};
class UnitHolder: public JLoader
{
public:
using JLoader::JLoader;
std::vector<Unit> units;
UnitHolder( std::string filename );
Unit select_unit( std::string provided_name );
};
class Task
{
private:
std::string name;
Json::Value dependencies;
public:
Task( Json::Value loader_root );
std::string get_name();
Json::Value get_dependencies();
};
class Plan: public JLoader
{
public:
using JLoader::JLoader;
std::vector<Task> tasks;
Plan( std::string filename );
};
class Conf: public JLoader
{
private:
std::string plan_path;
std::string units_path;
public:
using JLoader::JLoader;
Conf( std::string filename );
std::string get_plan_path();
std::string get_units_path();
};
#endif //FTESTS_LOADERS_H

24
src/loaders/Conf.cpp Normal file
View File

@ -0,0 +1,24 @@
//
// Created by phanes on 4/22/17.
//
#include "Conf.h"
#include "JLoader.h"
#include <string>
Conf::Conf( std::string filename ): JLoader( filename )
{
this->plan_path = this->get_root()["plan_path"].asString();
this->units_path = this->get_root()["units_path"].asString();
};
std::string Conf::get_plan_path()
{
return this->plan_path;
}
std::string Conf::get_units_path()
{
return this->units_path;
}

22
src/loaders/Conf.h Normal file
View File

@ -0,0 +1,22 @@
//
// Created by phanes on 4/22/17.
//
#ifndef FTESTS_CONF_H
#define FTESTS_CONF_H
#include "JLoader.h"
class Conf: public JLoader
{
private:
std::string plan_path;
std::string units_path;
public:
using JLoader::JLoader;
Conf( std::string filename );
std::string get_plan_path();
std::string get_units_path();
};
#endif //FTESTS_CONF_H

34
src/loaders/JLoader.cpp Normal file
View File

@ -0,0 +1,34 @@
//
// Created by phanes on 4/22/17.
//
#include "JLoader.h"
#include "helpers.h"
JLoader::JLoader( std::string filename )
{
Json::Value json_root;
Json::Reader reader;
if (! exists( filename ) )
{
std::cerr << "File '" << filename << "' does not exist.";
exit(1);
}
std::ifstream jfile( filename, std::ifstream::binary );
bool parsingSuccessful = reader.parse( jfile, this->json_root );
if (! parsingSuccessful )
{
std::cerr << "Failed to parse " << filename << ":\n\t" << reader.getFormattedErrorMessages();
std::exit( 1 );
} else {
std::cout << "Parsed " << filename << " with " << this->json_root.size() << " elements." << std::endl;
}
}
Json::Value JLoader::get_root()
{
return this->json_root;
}

21
src/loaders/JLoader.h Normal file
View File

@ -0,0 +1,21 @@
//
// Created by phanes on 4/22/17.
//
#ifndef FTESTS_JLOADER_H
#define FTESTS_JLOADER_H
#include "../json/json.h"
#include <iostream>
#include <fstream>
#include <cstdlib>
class JLoader
{
private:
Json::Value json_root;
public:
JLoader( std::string filename );
Json::Value get_root();
};
#endif //FTESTS_JLOADER_H

25
src/loaders/Plan.cpp Normal file
View File

@ -0,0 +1,25 @@
//
// Created by phanes on 4/22/17.
//
#include "Plan.h"
Task::Task( Json::Value loader_root )
{
this->name = loader_root.get("name", "?").asString();
this->dependencies = loader_root.get("depends on", "");
}
std::string Task::get_name() { return this->name; }
Json::Value Task::get_dependencies() { return this->dependencies;}
Plan::Plan( std::string filename ): JLoader( filename )
{
/* Plan loads a file and deserializes the Unit JSON object to Task types as a vector member
* Plan { vector<Task> }
*/
Json::Value raw_tasks = this->get_root()["plan"];
for ( int index = 0; index < raw_tasks.size(); index++ )
{
this->tasks.push_back( Task( raw_tasks[index] ) );
}
};

33
src/loaders/Plan.h Normal file
View File

@ -0,0 +1,33 @@
//
// Created by phanes on 4/22/17.
//
#ifndef FTESTS_PLAN_H
#define FTESTS_PLAN_H
#include <string>
#include "../json/json.h"
#include "JLoader.h"
class Task
{
private:
std::string name;
Json::Value dependencies;
public:
Task( Json::Value loader_root );
std::string get_name();
Json::Value get_dependencies();
};
class Plan: public JLoader
{
public:
using JLoader::JLoader;
std::vector<Task> tasks;
Plan( std::string filename );
};
#endif //FTESTS_PLAN_H

View File

@ -1,41 +1,8 @@
#include "loaders.h" //
#include <sys/stat.h> // Created by phanes on 4/22/17.
//
inline bool exists(const std::string& name)
{
struct stat buffer;
return (stat (name.c_str(), &buffer) == 0);
}
JLoader::JLoader( std::string filename )
{
Json::Value json_root;
Json::Reader reader;
if (! exists( filename ) )
{
std::cerr << "File '" << filename << "' does not exist.";
exit(1);
}
std::ifstream jfile( filename, std::ifstream::binary );
bool parsingSuccessful = reader.parse( jfile, this->json_root );
if (! parsingSuccessful )
{
std::cerr << "Failed to parse " << filename << ":\n\t" << reader.getFormattedErrorMessages();
std::exit( 1 );
} else {
std::cout << "Parsed " << filename << " with " << this->json_root.size() << " elements." << std::endl;
}
}
Json::Value JLoader::get_root()
{
return this->json_root;
}
#include "Units.h"
Unit::Unit( Json::Value loader_root ) Unit::Unit( Json::Value loader_root )
{ {
this->name = loader_root.get("name", "?").asString(); this->name = loader_root.get("name", "?").asString();
@ -92,43 +59,3 @@ Unit UnitHolder::select_unit(std::string provided_name)
return * returnable; return * returnable;
} }
Task::Task( Json::Value loader_root )
{
this->name = loader_root.get("name", "?").asString();
this->dependencies = loader_root.get("depends on", "");
}
std::string Task::get_name() { return this->name; }
Json::Value Task::get_dependencies() { return this->dependencies;}
Plan::Plan( std::string filename ): JLoader( filename )
{
/* Plan loads a file and deserializes the Unit JSON object to Task types as a vector member
* Plan { vector<Task> }
*/
Json::Value raw_tasks = this->get_root()["plan"];
for ( int index = 0; index < raw_tasks.size(); index++ )
{
this->tasks.push_back( Task( raw_tasks[index] ) );
}
};
Conf::Conf( std::string filename ): JLoader( filename )
{
this->plan_path = this->get_root()["plan_path"].asString();
this->units_path = this->get_root()["units_path"].asString();
};
std::string Conf::get_plan_path()
{
return this->plan_path;
}
std::string Conf::get_units_path()
{
return this->units_path;
}

45
src/loaders/Units.h Normal file
View File

@ -0,0 +1,45 @@
//
// Created by phanes on 4/22/17.
//
#ifndef FTESTS_UNITS_H
#define FTESTS_UNITS_H
#include <vector>
#include "../json/json.h"
#include "JLoader.h"
class Unit
{
private:
std::string name;
std::string target;
std::string output;
std::string rectifier;
std::string active;
std::string required;
std::string rectify;
public:
Unit( Json::Value loader_root );
std::string get_name();
std::string get_target();
std::string get_output();
std::string get_rectifier();
std::string get_active();
std::string get_required();
std::string get_rectify();
};
class UnitHolder: public JLoader
{
public:
using JLoader::JLoader;
std::vector<Unit> units;
UnitHolder( std::string filename );
Unit select_unit( std::string provided_name );
};
#endif //FTESTS_UNITS_H

11
src/loaders/helpers.cpp Normal file
View File

@ -0,0 +1,11 @@
//
// Created by phanes on 4/22/17.
//
#include "helpers.h"
bool exists(const std::string& name)
{
struct stat buffer;
return (stat (name.c_str(), &buffer) == 0);
}

14
src/loaders/helpers.h Normal file
View File

@ -0,0 +1,14 @@
//
// Created by phanes on 4/22/17.
//
#ifndef FTESTS_HELPERS_H
#define FTESTS_HELPERS_H
#include <string>
#include <sys/stat.h>
bool exists (const std::string& name);
#endif //FTESTS_HELPERS_H

3
src/loaders/loaders.cpp Normal file
View File

@ -0,0 +1,3 @@
#include "loaders.h"

12
src/loaders/loaders.h Normal file
View File

@ -0,0 +1,12 @@
//
// Created by phanes on 4/16/17.
//
#ifndef FTESTS_LOADERS_H
#define FTESTS_LOADERS_H
#include "JLoader.h"
#include "Units.h"
#include "Plan.h"
#include "Conf.h"
#endif //FTESTS_LOADERS_H