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

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

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<project version="4"> <project version="4">
<component name="BookmarkManager"> <component name="BookmarkManager">
<bookmark url="file://$PROJECT_DIR$/src/loaders/Units.cpp" line="18" /> <bookmark url="file://$PROJECT_DIR$/src/loaders/Suite.cpp" line="1" />
</component> </component>
<component name="CMakeRunConfigurationManager" shouldGenerate="true" buildAllGenerated="true"> <component name="CMakeRunConfigurationManager" shouldGenerate="true" buildAllGenerated="true">
<generated> <generated>
@ -15,10 +15,34 @@
</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/Task.cpp" />
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/src/loaders/Task.h" />
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/src/loaders/Unit.cpp" />
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/src/loaders/Unit.h" />
<change type="DELETED" beforePath="$PROJECT_DIR$/cmake-build-debug/CMakeFiles/ftests.dir/src/loaders/Units.cpp.o" afterPath="" />
<change type="MOVED" beforePath="$PROJECT_DIR$/src/loaders/Units.cpp" afterPath="$PROJECT_DIR$/src/loaders/Suite.cpp" />
<change type="MOVED" beforePath="$PROJECT_DIR$/src/loaders/Units.h" afterPath="$PROJECT_DIR$/src/loaders/Suite.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/src/loaders/Plan.cpp.o" afterPath="$PROJECT_DIR$/cmake-build-debug/CMakeFiles/ftests.dir/src/loaders/Plan.cpp.o" /> <change type="MODIFICATION" beforePath="$PROJECT_DIR$/cmake-build-debug/CMakeFiles/ftests.dir/src/loaders/Plan.cpp.o" afterPath="$PROJECT_DIR$/cmake-build-debug/CMakeFiles/ftests.dir/src/loaders/Plan.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/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$/src/loaders/Plan.cpp" afterPath="$PROJECT_DIR$/src/loaders/Plan.cpp" /> <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/loaders/Plan.cpp" afterPath="$PROJECT_DIR$/src/loaders/Plan.cpp" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/loaders/Plan.h" afterPath="$PROJECT_DIR$/src/loaders/Plan.h" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/loaders/loaders.h" afterPath="$PROJECT_DIR$/src/loaders/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" />
@ -51,11 +75,11 @@
<file leaf-file-name="Plan.cpp" pinned="false" current-in-tab="false"> <file leaf-file-name="Plan.cpp" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/src/loaders/Plan.cpp"> <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="1242"> <state relative-caret-position="0">
<caret line="69" column="3" lean-forward="true" selection-start-line="69" selection-start-column="3" selection-end-line="69" selection-end-column="3" /> <caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
<folding> <folding>
<element signature="e#0#2#0" expanded="true" /> <element signature="e#285#449#0" expanded="true" />
<element signature="e#888#1052#0" expanded="true" /> <element signature="e#1103#1225#0" expanded="true" />
</folding> </folding>
</state> </state>
</provider> </provider>
@ -71,27 +95,67 @@
</provider> </provider>
</entry> </entry>
</file> </file>
<file leaf-file-name="Units.cpp" pinned="false" current-in-tab="true"> <file leaf-file-name="Suite.cpp" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/src/loaders/Units.cpp"> <entry file="file://$PROJECT_DIR$/src/loaders/Suite.cpp">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="738"> <state relative-caret-position="0">
<caret line="41" column="5" lean-forward="true" selection-start-line="41" selection-start-column="5" selection-end-line="41" selection-end-column="5" /> <caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
<folding> <folding>
<element signature="e#0#2#0" expanded="true" /> <element signature="e#78#202#0" expanded="true" />
<element signature="e#98#170#0" expanded="true" /> <element signature="e#447#617#0" expanded="true" />
<element signature="e#635#667#0" expanded="true" />
<element signature="e#1189#1313#0" expanded="true" />
<element signature="e#1563#1733#0" expanded="true" />
</folding> </folding>
</state> </state>
</provider> </provider>
</entry> </entry>
</file> </file>
<file leaf-file-name="Plan.h" pinned="false" current-in-tab="false"> <file leaf-file-name="Unit.cpp" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/src/loaders/Unit.cpp">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="0">
<caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
<folding>
<element signature="e#57#129#0" expanded="true" />
<element signature="e#594#626#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
</file>
<file leaf-file-name="Unit.h" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/src/loaders/Unit.h">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="90">
<caret line="7" column="25" lean-forward="false" selection-start-line="7" selection-start-column="25" selection-end-line="7" selection-end-column="25" />
<folding />
</state>
</provider>
</entry>
</file>
<file leaf-file-name="Plan.h" pinned="false" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/src/loaders/Plan.h"> <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="576"> <state relative-caret-position="54">
<caret line="34" column="44" lean-forward="false" selection-start-line="34" selection-start-column="44" selection-end-line="34" selection-end-column="44" /> <caret line="3" column="0" lean-forward="false" selection-start-line="3" selection-start-column="0" selection-end-line="3" selection-end-column="0" />
<folding />
</state>
</provider>
</entry>
</file>
<file leaf-file-name="Task.cpp" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/src/loaders/Task.cpp">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="0">
<caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
<folding />
</state>
</provider>
</entry>
</file>
<file leaf-file-name="Task.h" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/src/loaders/Task.h">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="90">
<caret line="7" column="25" lean-forward="false" selection-start-line="7" selection-start-column="25" selection-end-line="7" selection-end-column="25" />
<folding /> <folding />
</state> </state>
</provider> </provider>
@ -101,7 +165,7 @@
<entry file="file://$PROJECT_DIR$/src/loaders/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="144"> <state relative-caret-position="144">
<caret line="8" column="17" lean-forward="true" selection-start-line="8" selection-start-column="17" selection-end-line="8" selection-end-column="17" /> <caret line="8" column="17" lean-forward="false" selection-start-line="8" selection-start-column="17" selection-end-line="8" selection-end-column="17" />
<folding> <folding>
<element signature="e#0#2#0" expanded="true" /> <element signature="e#0#2#0" expanded="true" />
</folding> </folding>
@ -116,18 +180,18 @@
<file leaf-file-name="examplar.cpp" pinned="false" current-in-tab="true"> <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="540"> <state relative-caret-position="360">
<caret line="30" column="0" lean-forward="true" selection-start-line="30" selection-start-column="0" selection-end-line="30" selection-end-column="0" /> <caret line="20" column="45" lean-forward="true" selection-start-line="20" selection-start-column="45" selection-end-line="20" selection-end-column="45" />
<folding /> <folding />
</state> </state>
</provider> </provider>
</entry> </entry>
</file> </file>
<file leaf-file-name="Units.h" pinned="false" current-in-tab="false"> <file leaf-file-name="Suite.h" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/src/loaders/Units.h"> <entry file="file://$PROJECT_DIR$/src/loaders/Suite.h">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="144"> <state relative-caret-position="162">
<caret line="10" column="0" lean-forward="true" selection-start-line="10" selection-start-column="0" selection-end-line="10" selection-end-column="0" /> <caret line="11" column="0" lean-forward="false" selection-start-line="11" selection-start-column="0" selection-end-line="11" selection-end-column="0" />
<folding /> <folding />
</state> </state>
</provider> </provider>
@ -162,11 +226,17 @@
<option value="$PROJECT_DIR$/src/loaders/loaders.h" /> <option value="$PROJECT_DIR$/src/loaders/loaders.h" />
<option value="$PROJECT_DIR$/cmake-build-debug/conf/units/all_test.units" /> <option value="$PROJECT_DIR$/cmake-build-debug/conf/units/all_test.units" />
<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/Plan.h" />
<option value="$PROJECT_DIR$/src/loaders/Units.h" /> <option value="$PROJECT_DIR$/src/loaders/Units.h" />
<option value="$PROJECT_DIR$/examplar.cpp" /> <option value="$PROJECT_DIR$/examplar.cpp" />
<option value="$PROJECT_DIR$/src/loaders/Units.cpp" /> <option value="$PROJECT_DIR$/src/loaders/Units.cpp" />
<option value="$PROJECT_DIR$/src/loaders/Suite.h" />
<option value="$PROJECT_DIR$/src/loaders/Unit.h" />
<option value="$PROJECT_DIR$/src/loaders/Suite.cpp" />
<option value="$PROJECT_DIR$/src/loaders/Task.h" />
<option value="$PROJECT_DIR$/src/loaders/Unit.cpp" />
<option value="$PROJECT_DIR$/src/loaders/Plan.cpp" /> <option value="$PROJECT_DIR$/src/loaders/Plan.cpp" />
<option value="$PROJECT_DIR$/src/loaders/Task.cpp" />
<option value="$PROJECT_DIR$/src/loaders/Plan.h" />
</list> </list>
</option> </option>
</component> </component>
@ -514,12 +584,12 @@
<workItem from="1492298506932" duration="46583000" /> <workItem from="1492298506932" duration="46583000" />
<workItem from="1492752608203" duration="13980000" /> <workItem from="1492752608203" duration="13980000" />
<workItem from="1492984111087" duration="7006000" /> <workItem from="1492984111087" duration="7006000" />
<workItem from="1493165364496" duration="13516000" /> <workItem from="1493165364496" duration="16521000" />
</task> </task>
<servers /> <servers />
</component> </component>
<component name="TimeTrackingManager"> <component name="TimeTrackingManager">
<option name="totallyTimeSpent" value="99627000" /> <option name="totallyTimeSpent" value="102632000" />
</component> </component>
<component name="TodoView"> <component name="TodoView">
<todo-panel id="selected-file"> <todo-panel id="selected-file">
@ -534,15 +604,15 @@
<frame x="1919" y="-21" width="3842" height="2160" extended-state="0" /> <frame x="1919" y="-21" width="3842" height="2160" extended-state="0" />
<editor active="true" /> <editor active="true" />
<layout> <layout>
<window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.07187994" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" /> <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.07187994" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
<window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.3295342" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" /> <window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.3295342" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
<window_info id="Messages" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32892805" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" /> <window_info id="Messages" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32892805" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
<window_info id="CMake" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" /> <window_info id="CMake" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.329907" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
<window_info id="LuaJ" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" /> <window_info id="LuaJ" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
<window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="7" side_tool="true" content_ui="tabs" /> <window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="7" side_tool="true" content_ui="tabs" />
<window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" /> <window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
<window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.24571708" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" /> <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.24571708" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
<window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.24986835" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" /> <window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.24986835" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
<window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32892805" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" /> <window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32892805" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
<window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="2" side_tool="true" content_ui="tabs" /> <window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="2" side_tool="true" content_ui="tabs" />
<window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.39960337" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" /> <window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.39960337" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
@ -602,8 +672,8 @@
<state relative-caret-position="378"> <state relative-caret-position="378">
<caret line="21" column="0" lean-forward="false" selection-start-line="21" selection-start-column="0" selection-end-line="21" selection-end-column="0" /> <caret line="21" column="0" lean-forward="false" selection-start-line="21" selection-start-column="0" selection-end-line="21" selection-end-column="0" />
<folding> <folding>
<element signature="e#0#2#0" expanded="true" /> <element signature="e#285#449#0" expanded="true" />
<element signature="e#888#1052#0" expanded="true" /> <element signature="e#1103#1225#0" expanded="true" />
</folding> </folding>
</state> </state>
</provider> </provider>
@ -616,16 +686,13 @@
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/src/loaders/Units.cpp"> <entry file="file://$PROJECT_DIR$/src/loaders/Suite.cpp">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="360"> <state relative-caret-position="360">
<caret line="20" column="2" lean-forward="false" selection-start-line="20" selection-start-column="2" selection-end-line="20" selection-end-column="2" /> <caret line="20" column="2" lean-forward="false" selection-start-line="20" selection-start-column="2" selection-end-line="20" selection-end-column="2" />
<folding> <folding>
<element signature="e#0#2#0" expanded="true" /> <element signature="e#78#202#0" expanded="true" />
<element signature="e#98#170#0" expanded="true" /> <element signature="e#447#617#0" expanded="true" />
<element signature="e#635#667#0" expanded="true" />
<element signature="e#1189#1313#0" expanded="true" />
<element signature="e#1563#1733#0" expanded="true" />
</folding> </folding>
</state> </state>
</provider> </provider>
@ -638,7 +705,7 @@
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/src/loaders/Units.h"> <entry file="file://$PROJECT_DIR$/src/loaders/Suite.h">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="738"> <state relative-caret-position="738">
<caret line="41" column="0" lean-forward="false" selection-start-line="41" selection-start-column="0" selection-end-line="41" selection-end-column="0" /> <caret line="41" column="0" lean-forward="false" selection-start-line="41" selection-start-column="0" selection-end-line="41" selection-end-column="0" />
@ -680,16 +747,13 @@
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/src/loaders/Units.cpp"> <entry file="file://$PROJECT_DIR$/src/loaders/Suite.cpp">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="1296"> <state relative-caret-position="1296">
<caret line="72" column="0" lean-forward="true" selection-start-line="72" selection-start-column="0" selection-end-line="72" selection-end-column="0" /> <caret line="72" column="0" lean-forward="true" selection-start-line="72" selection-start-column="0" selection-end-line="72" selection-end-column="0" />
<folding> <folding>
<element signature="e#0#2#0" expanded="true" /> <element signature="e#78#202#0" expanded="true" />
<element signature="e#98#170#0" expanded="true" /> <element signature="e#447#617#0" expanded="true" />
<element signature="e#635#667#0" expanded="true" />
<element signature="e#1189#1313#0" expanded="true" />
<element signature="e#1563#1733#0" expanded="true" />
</folding> </folding>
</state> </state>
</provider> </provider>
@ -702,7 +766,7 @@
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/src/loaders/Units.h"> <entry file="file://$PROJECT_DIR$/src/loaders/Suite.h">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="216"> <state relative-caret-position="216">
<caret line="12" column="1" lean-forward="true" selection-start-line="12" selection-start-column="1" selection-end-line="12" selection-end-column="1" /> <caret line="12" column="1" lean-forward="true" selection-start-line="12" selection-start-column="1" selection-end-line="12" selection-end-column="1" />
@ -733,8 +797,8 @@
<state relative-caret-position="342"> <state relative-caret-position="342">
<caret line="19" column="3" lean-forward="true" selection-start-line="19" selection-start-column="3" selection-end-line="19" selection-end-column="3" /> <caret line="19" column="3" lean-forward="true" selection-start-line="19" selection-start-column="3" selection-end-line="19" selection-end-column="3" />
<folding> <folding>
<element signature="e#0#2#0" expanded="true" /> <element signature="e#285#449#0" expanded="true" />
<element signature="e#888#1052#0" expanded="true" /> <element signature="e#1103#1225#0" expanded="true" />
</folding> </folding>
</state> </state>
</provider> </provider>
@ -1003,14 +1067,6 @@
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/cmake-build-debug/conf/test.plan">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="36">
<caret line="2" column="53" lean-forward="false" selection-start-line="2" selection-start-column="53" selection-end-line="2" selection-end-column="53" />
<folding />
</state>
</provider>
</entry>
<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="216"> <state relative-caret-position="216">
@ -1019,61 +1075,101 @@
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/src/loaders/Plan.h"> <entry file="file://$PROJECT_DIR$/src/loaders/Suite.h">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="576"> <state relative-caret-position="162">
<caret line="34" column="44" lean-forward="false" selection-start-line="34" selection-start-column="44" selection-end-line="34" selection-end-column="44" /> <caret line="11" column="0" lean-forward="false" selection-start-line="11" selection-start-column="0" selection-end-line="11" selection-end-column="0" />
<folding /> <folding />
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/src/loaders/Units.h">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="144">
<caret line="10" column="0" lean-forward="true" selection-start-line="10" selection-start-column="0" selection-end-line="10" selection-end-column="0" />
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/loaders/Plan.cpp">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="1242">
<caret line="69" column="3" lean-forward="true" selection-start-line="69" selection-start-column="3" selection-end-line="69" selection-end-column="3" />
<folding>
<element signature="e#0#2#0" expanded="true" />
<element signature="e#888#1052#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/loaders/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="144"> <state relative-caret-position="144">
<caret line="8" column="17" lean-forward="true" selection-start-line="8" selection-start-column="17" selection-end-line="8" selection-end-column="17" /> <caret line="8" column="17" lean-forward="false" selection-start-line="8" selection-start-column="17" selection-end-line="8" selection-end-column="17" />
<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/Units.cpp"> <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="738"> <state relative-caret-position="36">
<caret line="41" column="5" lean-forward="true" selection-start-line="41" selection-start-column="5" selection-end-line="41" selection-end-column="5" /> <caret line="2" column="53" lean-forward="false" selection-start-line="2" selection-start-column="53" selection-end-line="2" selection-end-column="53" />
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/loaders/Task.h">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="90">
<caret line="7" column="25" lean-forward="false" selection-start-line="7" selection-start-column="25" selection-end-line="7" selection-end-column="25" />
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/loaders/Plan.cpp">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="0">
<caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
<folding> <folding>
<element signature="e#0#2#0" expanded="true" /> <element signature="e#285#449#0" expanded="true" />
<element signature="e#98#170#0" expanded="true" /> <element signature="e#1103#1225#0" expanded="true" />
<element signature="e#635#667#0" expanded="true" />
<element signature="e#1189#1313#0" expanded="true" />
<element signature="e#1563#1733#0" expanded="true" />
</folding> </folding>
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/src/loaders/Suite.cpp">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="0">
<caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
<folding>
<element signature="e#78#202#0" expanded="true" />
<element signature="e#447#617#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/loaders/Unit.cpp">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="0">
<caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
<folding>
<element signature="e#57#129#0" expanded="true" />
<element signature="e#594#626#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/loaders/Unit.h">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="90">
<caret line="7" column="25" lean-forward="false" selection-start-line="7" selection-start-column="25" selection-end-line="7" selection-end-column="25" />
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/loaders/Task.cpp">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="0">
<caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/loaders/Plan.h">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="54">
<caret line="3" column="0" lean-forward="false" selection-start-line="3" selection-start-column="0" selection-end-line="3" selection-end-column="0" />
<folding />
</state>
</provider>
</entry>
<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="540"> <state relative-caret-position="360">
<caret line="30" column="0" lean-forward="true" selection-start-line="30" selection-start-column="0" selection-end-line="30" selection-end-column="0" /> <caret line="20" column="45" lean-forward="true" selection-start-line="20" selection-start-column="45" selection-end-line="20" selection-end-column="45" />
<folding /> <folding />
</state> </state>
</provider> </provider>

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/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) 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/Suite.cpp src/loaders/Suite.h src/loaders/Plan.cpp src/loaders/Plan.h src/loaders/Conf.cpp src/loaders/Conf.h src/loaders/Unit.cpp src/loaders/Unit.h src/loaders/Task.cpp src/loaders/Task.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,5,6,7,8,9 "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,10,11 "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 9 $(CMAKE_COMMAND) -E cmake_progress_start /home/phanes/Development/internal/ftests/cmake-build-debug/CMakeFiles 11
$(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

@ -201,18 +201,42 @@ string
/home/phanes/Development/internal/ftests/src/json/json.h /home/phanes/Development/internal/ftests/src/json/json.h
JLoader.h JLoader.h
/home/phanes/Development/internal/ftests/src/loaders/JLoader.h /home/phanes/Development/internal/ftests/src/loaders/JLoader.h
Task.h
/home/phanes/Development/internal/ftests/src/loaders/Task.h
/home/phanes/Development/internal/ftests/src/loaders/Units.cpp /home/phanes/Development/internal/ftests/src/loaders/Suite.cpp
Units.h Suite.h
/home/phanes/Development/internal/ftests/src/loaders/Units.h /home/phanes/Development/internal/ftests/src/loaders/Suite.h
/home/phanes/Development/internal/ftests/src/loaders/Units.h /home/phanes/Development/internal/ftests/src/loaders/Suite.h
vector vector
- -
../json/json.h ../json/json.h
/home/phanes/Development/internal/ftests/src/json/json.h /home/phanes/Development/internal/ftests/src/json/json.h
JLoader.h JLoader.h
/home/phanes/Development/internal/ftests/src/loaders/JLoader.h /home/phanes/Development/internal/ftests/src/loaders/JLoader.h
Unit.h
/home/phanes/Development/internal/ftests/src/loaders/Unit.h
/home/phanes/Development/internal/ftests/src/loaders/Task.cpp
Task.h
/home/phanes/Development/internal/ftests/src/loaders/Task.h
/home/phanes/Development/internal/ftests/src/loaders/Task.h
string
-
../json/json.h
/home/phanes/Development/internal/ftests/src/json/json.h
/home/phanes/Development/internal/ftests/src/loaders/Unit.cpp
Unit.h
/home/phanes/Development/internal/ftests/src/loaders/Unit.h
/home/phanes/Development/internal/ftests/src/loaders/Unit.h
string
-
../json/json.h
/home/phanes/Development/internal/ftests/src/json/json.h
/home/phanes/Development/internal/ftests/src/loaders/helpers.cpp /home/phanes/Development/internal/ftests/src/loaders/helpers.cpp
helpers.h helpers.h
@ -231,8 +255,8 @@ loaders.h
/home/phanes/Development/internal/ftests/src/loaders/loaders.h /home/phanes/Development/internal/ftests/src/loaders/loaders.h
JLoader.h JLoader.h
/home/phanes/Development/internal/ftests/src/loaders/JLoader.h /home/phanes/Development/internal/ftests/src/loaders/JLoader.h
Units.h Suite.h
/home/phanes/Development/internal/ftests/src/loaders/Units.h /home/phanes/Development/internal/ftests/src/loaders/Suite.h
Plan.h Plan.h
/home/phanes/Development/internal/ftests/src/loaders/Plan.h /home/phanes/Development/internal/ftests/src/loaders/Plan.h
Conf.h Conf.h

View File

@ -9,7 +9,9 @@ set(CMAKE_DEPENDS_CHECK_CXX
"/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/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/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/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/Suite.cpp" "/home/phanes/Development/internal/ftests/cmake-build-debug/CMakeFiles/ftests.dir/src/loaders/Suite.cpp.o"
"/home/phanes/Development/internal/ftests/src/loaders/Task.cpp" "/home/phanes/Development/internal/ftests/cmake-build-debug/CMakeFiles/ftests.dir/src/loaders/Task.cpp.o"
"/home/phanes/Development/internal/ftests/src/loaders/Unit.cpp" "/home/phanes/Development/internal/ftests/cmake-build-debug/CMakeFiles/ftests.dir/src/loaders/Unit.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/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" "/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"
) )

View File

@ -177,28 +177,28 @@ CMakeFiles/ftests.dir/src/loaders/helpers.cpp.o.provides: CMakeFiles/ftests.dir/
CMakeFiles/ftests.dir/src/loaders/helpers.cpp.o.provides.build: CMakeFiles/ftests.dir/src/loaders/helpers.cpp.o 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/Suite.cpp.o: CMakeFiles/ftests.dir/flags.make
CMakeFiles/ftests.dir/src/loaders/Units.cpp.o: ../src/loaders/Units.cpp CMakeFiles/ftests.dir/src/loaders/Suite.cpp.o: ../src/loaders/Suite.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" @$(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/Suite.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 /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/ftests.dir/src/loaders/Suite.cpp.o -c /home/phanes/Development/internal/ftests/src/loaders/Suite.cpp
CMakeFiles/ftests.dir/src/loaders/Units.cpp.i: cmake_force CMakeFiles/ftests.dir/src/loaders/Suite.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" @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/ftests.dir/src/loaders/Suite.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 /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /home/phanes/Development/internal/ftests/src/loaders/Suite.cpp > CMakeFiles/ftests.dir/src/loaders/Suite.cpp.i
CMakeFiles/ftests.dir/src/loaders/Units.cpp.s: cmake_force CMakeFiles/ftests.dir/src/loaders/Suite.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" @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/ftests.dir/src/loaders/Suite.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 /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /home/phanes/Development/internal/ftests/src/loaders/Suite.cpp -o CMakeFiles/ftests.dir/src/loaders/Suite.cpp.s
CMakeFiles/ftests.dir/src/loaders/Units.cpp.o.requires: CMakeFiles/ftests.dir/src/loaders/Suite.cpp.o.requires:
.PHONY : CMakeFiles/ftests.dir/src/loaders/Units.cpp.o.requires .PHONY : CMakeFiles/ftests.dir/src/loaders/Suite.cpp.o.requires
CMakeFiles/ftests.dir/src/loaders/Units.cpp.o.provides: CMakeFiles/ftests.dir/src/loaders/Units.cpp.o.requires CMakeFiles/ftests.dir/src/loaders/Suite.cpp.o.provides: CMakeFiles/ftests.dir/src/loaders/Suite.cpp.o.requires
$(MAKE) -f CMakeFiles/ftests.dir/build.make CMakeFiles/ftests.dir/src/loaders/Units.cpp.o.provides.build $(MAKE) -f CMakeFiles/ftests.dir/build.make CMakeFiles/ftests.dir/src/loaders/Suite.cpp.o.provides.build
.PHONY : CMakeFiles/ftests.dir/src/loaders/Units.cpp.o.provides .PHONY : CMakeFiles/ftests.dir/src/loaders/Suite.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/Suite.cpp.o.provides.build: CMakeFiles/ftests.dir/src/loaders/Suite.cpp.o
CMakeFiles/ftests.dir/src/loaders/Plan.cpp.o: CMakeFiles/ftests.dir/flags.make CMakeFiles/ftests.dir/src/loaders/Plan.cpp.o: CMakeFiles/ftests.dir/flags.make
@ -249,6 +249,54 @@ CMakeFiles/ftests.dir/src/loaders/Conf.cpp.o.provides: CMakeFiles/ftests.dir/src
CMakeFiles/ftests.dir/src/loaders/Conf.cpp.o.provides.build: CMakeFiles/ftests.dir/src/loaders/Conf.cpp.o CMakeFiles/ftests.dir/src/loaders/Conf.cpp.o.provides.build: CMakeFiles/ftests.dir/src/loaders/Conf.cpp.o
CMakeFiles/ftests.dir/src/loaders/Unit.cpp.o: CMakeFiles/ftests.dir/flags.make
CMakeFiles/ftests.dir/src/loaders/Unit.cpp.o: ../src/loaders/Unit.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_9) "Building CXX object CMakeFiles/ftests.dir/src/loaders/Unit.cpp.o"
/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/ftests.dir/src/loaders/Unit.cpp.o -c /home/phanes/Development/internal/ftests/src/loaders/Unit.cpp
CMakeFiles/ftests.dir/src/loaders/Unit.cpp.i: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/ftests.dir/src/loaders/Unit.cpp.i"
/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /home/phanes/Development/internal/ftests/src/loaders/Unit.cpp > CMakeFiles/ftests.dir/src/loaders/Unit.cpp.i
CMakeFiles/ftests.dir/src/loaders/Unit.cpp.s: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/ftests.dir/src/loaders/Unit.cpp.s"
/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /home/phanes/Development/internal/ftests/src/loaders/Unit.cpp -o CMakeFiles/ftests.dir/src/loaders/Unit.cpp.s
CMakeFiles/ftests.dir/src/loaders/Unit.cpp.o.requires:
.PHONY : CMakeFiles/ftests.dir/src/loaders/Unit.cpp.o.requires
CMakeFiles/ftests.dir/src/loaders/Unit.cpp.o.provides: CMakeFiles/ftests.dir/src/loaders/Unit.cpp.o.requires
$(MAKE) -f CMakeFiles/ftests.dir/build.make CMakeFiles/ftests.dir/src/loaders/Unit.cpp.o.provides.build
.PHONY : CMakeFiles/ftests.dir/src/loaders/Unit.cpp.o.provides
CMakeFiles/ftests.dir/src/loaders/Unit.cpp.o.provides.build: CMakeFiles/ftests.dir/src/loaders/Unit.cpp.o
CMakeFiles/ftests.dir/src/loaders/Task.cpp.o: CMakeFiles/ftests.dir/flags.make
CMakeFiles/ftests.dir/src/loaders/Task.cpp.o: ../src/loaders/Task.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_10) "Building CXX object CMakeFiles/ftests.dir/src/loaders/Task.cpp.o"
/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/ftests.dir/src/loaders/Task.cpp.o -c /home/phanes/Development/internal/ftests/src/loaders/Task.cpp
CMakeFiles/ftests.dir/src/loaders/Task.cpp.i: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/ftests.dir/src/loaders/Task.cpp.i"
/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /home/phanes/Development/internal/ftests/src/loaders/Task.cpp > CMakeFiles/ftests.dir/src/loaders/Task.cpp.i
CMakeFiles/ftests.dir/src/loaders/Task.cpp.s: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/ftests.dir/src/loaders/Task.cpp.s"
/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /home/phanes/Development/internal/ftests/src/loaders/Task.cpp -o CMakeFiles/ftests.dir/src/loaders/Task.cpp.s
CMakeFiles/ftests.dir/src/loaders/Task.cpp.o.requires:
.PHONY : CMakeFiles/ftests.dir/src/loaders/Task.cpp.o.requires
CMakeFiles/ftests.dir/src/loaders/Task.cpp.o.provides: CMakeFiles/ftests.dir/src/loaders/Task.cpp.o.requires
$(MAKE) -f CMakeFiles/ftests.dir/build.make CMakeFiles/ftests.dir/src/loaders/Task.cpp.o.provides.build
.PHONY : CMakeFiles/ftests.dir/src/loaders/Task.cpp.o.provides
CMakeFiles/ftests.dir/src/loaders/Task.cpp.o.provides.build: CMakeFiles/ftests.dir/src/loaders/Task.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" \
@ -256,9 +304,11 @@ ftests_OBJECTS = \
"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/JLoader.cpp.o" \
"CMakeFiles/ftests.dir/src/loaders/helpers.cpp.o" \ "CMakeFiles/ftests.dir/src/loaders/helpers.cpp.o" \
"CMakeFiles/ftests.dir/src/loaders/Units.cpp.o" \ "CMakeFiles/ftests.dir/src/loaders/Suite.cpp.o" \
"CMakeFiles/ftests.dir/src/loaders/Plan.cpp.o" \ "CMakeFiles/ftests.dir/src/loaders/Plan.cpp.o" \
"CMakeFiles/ftests.dir/src/loaders/Conf.cpp.o" "CMakeFiles/ftests.dir/src/loaders/Conf.cpp.o" \
"CMakeFiles/ftests.dir/src/loaders/Unit.cpp.o" \
"CMakeFiles/ftests.dir/src/loaders/Task.cpp.o"
# External object files for target ftests # External object files for target ftests
ftests_EXTERNAL_OBJECTS = ftests_EXTERNAL_OBJECTS =
@ -268,12 +318,14 @@ 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/JLoader.cpp.o
ftests: CMakeFiles/ftests.dir/src/loaders/helpers.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/Suite.cpp.o
ftests: CMakeFiles/ftests.dir/src/loaders/Plan.cpp.o ftests: CMakeFiles/ftests.dir/src/loaders/Plan.cpp.o
ftests: CMakeFiles/ftests.dir/src/loaders/Conf.cpp.o ftests: CMakeFiles/ftests.dir/src/loaders/Conf.cpp.o
ftests: CMakeFiles/ftests.dir/src/loaders/Unit.cpp.o
ftests: CMakeFiles/ftests.dir/src/loaders/Task.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_9) "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_11) "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.
@ -286,9 +338,11 @@ CMakeFiles/ftests.dir/requires: CMakeFiles/ftests.dir/src/loaders/loaders.cpp.o.
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/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/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/Suite.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/Plan.cpp.o.requires
CMakeFiles/ftests.dir/requires: CMakeFiles/ftests.dir/src/loaders/Conf.cpp.o.requires CMakeFiles/ftests.dir/requires: CMakeFiles/ftests.dir/src/loaders/Conf.cpp.o.requires
CMakeFiles/ftests.dir/requires: CMakeFiles/ftests.dir/src/loaders/Unit.cpp.o.requires
CMakeFiles/ftests.dir/requires: CMakeFiles/ftests.dir/src/loaders/Task.cpp.o.requires
.PHONY : CMakeFiles/ftests.dir/requires .PHONY : CMakeFiles/ftests.dir/requires

View File

@ -4,9 +4,11 @@ file(REMOVE_RECURSE
"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/JLoader.cpp.o"
"CMakeFiles/ftests.dir/src/loaders/helpers.cpp.o" "CMakeFiles/ftests.dir/src/loaders/helpers.cpp.o"
"CMakeFiles/ftests.dir/src/loaders/Units.cpp.o" "CMakeFiles/ftests.dir/src/loaders/Suite.cpp.o"
"CMakeFiles/ftests.dir/src/loaders/Plan.cpp.o" "CMakeFiles/ftests.dir/src/loaders/Plan.cpp.o"
"CMakeFiles/ftests.dir/src/loaders/Conf.cpp.o" "CMakeFiles/ftests.dir/src/loaders/Conf.cpp.o"
"CMakeFiles/ftests.dir/src/loaders/Unit.cpp.o"
"CMakeFiles/ftests.dir/src/loaders/Task.cpp.o"
"ftests.pdb" "ftests.pdb"
"ftests" "ftests"
) )

View File

@ -7,7 +7,9 @@ CMakeFiles/ftests.dir/examplar.cpp.o
/home/phanes/Development/internal/ftests/src/loaders/Conf.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/JLoader.h
/home/phanes/Development/internal/ftests/src/loaders/Plan.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/Suite.h
/home/phanes/Development/internal/ftests/src/loaders/Task.h
/home/phanes/Development/internal/ftests/src/loaders/Unit.h
/home/phanes/Development/internal/ftests/src/loaders/loaders.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
@ -27,11 +29,21 @@ CMakeFiles/ftests.dir/src/loaders/Plan.cpp.o
/home/phanes/Development/internal/ftests/src/loaders/JLoader.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.cpp
/home/phanes/Development/internal/ftests/src/loaders/Plan.h /home/phanes/Development/internal/ftests/src/loaders/Plan.h
CMakeFiles/ftests.dir/src/loaders/Units.cpp.o /home/phanes/Development/internal/ftests/src/loaders/Task.h
CMakeFiles/ftests.dir/src/loaders/Suite.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/loaders/JLoader.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/Suite.cpp
/home/phanes/Development/internal/ftests/src/loaders/Units.h /home/phanes/Development/internal/ftests/src/loaders/Suite.h
/home/phanes/Development/internal/ftests/src/loaders/Unit.h
CMakeFiles/ftests.dir/src/loaders/Task.cpp.o
/home/phanes/Development/internal/ftests/src/json/json.h
/home/phanes/Development/internal/ftests/src/loaders/Task.cpp
/home/phanes/Development/internal/ftests/src/loaders/Task.h
CMakeFiles/ftests.dir/src/loaders/Unit.cpp.o
/home/phanes/Development/internal/ftests/src/json/json.h
/home/phanes/Development/internal/ftests/src/loaders/Unit.cpp
/home/phanes/Development/internal/ftests/src/loaders/Unit.h
CMakeFiles/ftests.dir/src/loaders/helpers.cpp.o 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.cpp
/home/phanes/Development/internal/ftests/src/loaders/helpers.h /home/phanes/Development/internal/ftests/src/loaders/helpers.h
@ -40,6 +52,8 @@ CMakeFiles/ftests.dir/src/loaders/loaders.cpp.o
/home/phanes/Development/internal/ftests/src/loaders/Conf.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/JLoader.h
/home/phanes/Development/internal/ftests/src/loaders/Plan.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/Suite.h
/home/phanes/Development/internal/ftests/src/loaders/Task.h
/home/phanes/Development/internal/ftests/src/loaders/Unit.h
/home/phanes/Development/internal/ftests/src/loaders/loaders.cpp /home/phanes/Development/internal/ftests/src/loaders/loaders.cpp
/home/phanes/Development/internal/ftests/src/loaders/loaders.h /home/phanes/Development/internal/ftests/src/loaders/loaders.h

View File

@ -6,7 +6,9 @@ CMakeFiles/ftests.dir/examplar.cpp.o: ../src/json/json.h
CMakeFiles/ftests.dir/examplar.cpp.o: ../src/loaders/Conf.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/JLoader.h
CMakeFiles/ftests.dir/examplar.cpp.o: ../src/loaders/Plan.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/Suite.h
CMakeFiles/ftests.dir/examplar.cpp.o: ../src/loaders/Task.h
CMakeFiles/ftests.dir/examplar.cpp.o: ../src/loaders/Unit.h
CMakeFiles/ftests.dir/examplar.cpp.o: ../src/loaders/loaders.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
@ -26,11 +28,21 @@ 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/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.cpp
CMakeFiles/ftests.dir/src/loaders/Plan.cpp.o: ../src/loaders/Plan.h CMakeFiles/ftests.dir/src/loaders/Plan.cpp.o: ../src/loaders/Plan.h
CMakeFiles/ftests.dir/src/loaders/Plan.cpp.o: ../src/loaders/Task.h
CMakeFiles/ftests.dir/src/loaders/Units.cpp.o: ../src/json/json.h CMakeFiles/ftests.dir/src/loaders/Suite.cpp.o: ../src/json/json.h
CMakeFiles/ftests.dir/src/loaders/Units.cpp.o: ../src/loaders/JLoader.h CMakeFiles/ftests.dir/src/loaders/Suite.cpp.o: ../src/loaders/JLoader.h
CMakeFiles/ftests.dir/src/loaders/Units.cpp.o: ../src/loaders/Units.cpp CMakeFiles/ftests.dir/src/loaders/Suite.cpp.o: ../src/loaders/Suite.cpp
CMakeFiles/ftests.dir/src/loaders/Units.cpp.o: ../src/loaders/Units.h CMakeFiles/ftests.dir/src/loaders/Suite.cpp.o: ../src/loaders/Suite.h
CMakeFiles/ftests.dir/src/loaders/Suite.cpp.o: ../src/loaders/Unit.h
CMakeFiles/ftests.dir/src/loaders/Task.cpp.o: ../src/json/json.h
CMakeFiles/ftests.dir/src/loaders/Task.cpp.o: ../src/loaders/Task.cpp
CMakeFiles/ftests.dir/src/loaders/Task.cpp.o: ../src/loaders/Task.h
CMakeFiles/ftests.dir/src/loaders/Unit.cpp.o: ../src/json/json.h
CMakeFiles/ftests.dir/src/loaders/Unit.cpp.o: ../src/loaders/Unit.cpp
CMakeFiles/ftests.dir/src/loaders/Unit.cpp.o: ../src/loaders/Unit.h
CMakeFiles/ftests.dir/src/loaders/helpers.cpp.o: ../src/loaders/helpers.cpp 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/helpers.cpp.o: ../src/loaders/helpers.h
@ -39,7 +51,9 @@ 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/Conf.h
CMakeFiles/ftests.dir/src/loaders/loaders.cpp.o: ../src/loaders/JLoader.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/Plan.h
CMakeFiles/ftests.dir/src/loaders/loaders.cpp.o: ../src/loaders/Units.h CMakeFiles/ftests.dir/src/loaders/loaders.cpp.o: ../src/loaders/Suite.h
CMakeFiles/ftests.dir/src/loaders/loaders.cpp.o: ../src/loaders/Task.h
CMakeFiles/ftests.dir/src/loaders/loaders.cpp.o: ../src/loaders/Unit.h
CMakeFiles/ftests.dir/src/loaders/loaders.cpp.o: ../src/loaders/loaders.cpp CMakeFiles/ftests.dir/src/loaders/loaders.cpp.o: ../src/loaders/loaders.cpp
CMakeFiles/ftests.dir/src/loaders/loaders.cpp.o: ../src/loaders/loaders.h 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/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 /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/Suite.cpp.o CMakeFiles/ftests.dir/src/loaders/Plan.cpp.o CMakeFiles/ftests.dir/src/loaders/Conf.cpp.o CMakeFiles/ftests.dir/src/loaders/Unit.cpp.o CMakeFiles/ftests.dir/src/loaders/Task.cpp.o -o ftests

View File

@ -7,4 +7,6 @@ CMAKE_PROGRESS_6 = 6
CMAKE_PROGRESS_7 = 7 CMAKE_PROGRESS_7 = 7
CMAKE_PROGRESS_8 = 8 CMAKE_PROGRESS_8 = 8
CMAKE_PROGRESS_9 = 9 CMAKE_PROGRESS_9 = 9
CMAKE_PROGRESS_10 = 10
CMAKE_PROGRESS_11 = 11

View File

@ -1 +1 @@
9 11

View File

@ -258,32 +258,86 @@ src/loaders/Plan.cpp.s:
$(MAKE) -f CMakeFiles/ftests.dir/build.make CMakeFiles/ftests.dir/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 .PHONY : src/loaders/Plan.cpp.s
src/loaders/Units.o: src/loaders/Units.cpp.o src/loaders/Suite.o: src/loaders/Suite.cpp.o
.PHONY : src/loaders/Units.o .PHONY : src/loaders/Suite.o
# target to build an object file # target to build an object file
src/loaders/Units.cpp.o: src/loaders/Suite.cpp.o:
$(MAKE) -f CMakeFiles/ftests.dir/build.make CMakeFiles/ftests.dir/src/loaders/Units.cpp.o $(MAKE) -f CMakeFiles/ftests.dir/build.make CMakeFiles/ftests.dir/src/loaders/Suite.cpp.o
.PHONY : src/loaders/Units.cpp.o .PHONY : src/loaders/Suite.cpp.o
src/loaders/Units.i: src/loaders/Units.cpp.i src/loaders/Suite.i: src/loaders/Suite.cpp.i
.PHONY : src/loaders/Units.i .PHONY : src/loaders/Suite.i
# target to preprocess a source file # target to preprocess a source file
src/loaders/Units.cpp.i: src/loaders/Suite.cpp.i:
$(MAKE) -f CMakeFiles/ftests.dir/build.make CMakeFiles/ftests.dir/src/loaders/Units.cpp.i $(MAKE) -f CMakeFiles/ftests.dir/build.make CMakeFiles/ftests.dir/src/loaders/Suite.cpp.i
.PHONY : src/loaders/Units.cpp.i .PHONY : src/loaders/Suite.cpp.i
src/loaders/Units.s: src/loaders/Units.cpp.s src/loaders/Suite.s: src/loaders/Suite.cpp.s
.PHONY : src/loaders/Units.s .PHONY : src/loaders/Suite.s
# target to generate assembly for a file # target to generate assembly for a file
src/loaders/Units.cpp.s: src/loaders/Suite.cpp.s:
$(MAKE) -f CMakeFiles/ftests.dir/build.make CMakeFiles/ftests.dir/src/loaders/Units.cpp.s $(MAKE) -f CMakeFiles/ftests.dir/build.make CMakeFiles/ftests.dir/src/loaders/Suite.cpp.s
.PHONY : src/loaders/Units.cpp.s .PHONY : src/loaders/Suite.cpp.s
src/loaders/Task.o: src/loaders/Task.cpp.o
.PHONY : src/loaders/Task.o
# target to build an object file
src/loaders/Task.cpp.o:
$(MAKE) -f CMakeFiles/ftests.dir/build.make CMakeFiles/ftests.dir/src/loaders/Task.cpp.o
.PHONY : src/loaders/Task.cpp.o
src/loaders/Task.i: src/loaders/Task.cpp.i
.PHONY : src/loaders/Task.i
# target to preprocess a source file
src/loaders/Task.cpp.i:
$(MAKE) -f CMakeFiles/ftests.dir/build.make CMakeFiles/ftests.dir/src/loaders/Task.cpp.i
.PHONY : src/loaders/Task.cpp.i
src/loaders/Task.s: src/loaders/Task.cpp.s
.PHONY : src/loaders/Task.s
# target to generate assembly for a file
src/loaders/Task.cpp.s:
$(MAKE) -f CMakeFiles/ftests.dir/build.make CMakeFiles/ftests.dir/src/loaders/Task.cpp.s
.PHONY : src/loaders/Task.cpp.s
src/loaders/Unit.o: src/loaders/Unit.cpp.o
.PHONY : src/loaders/Unit.o
# target to build an object file
src/loaders/Unit.cpp.o:
$(MAKE) -f CMakeFiles/ftests.dir/build.make CMakeFiles/ftests.dir/src/loaders/Unit.cpp.o
.PHONY : src/loaders/Unit.cpp.o
src/loaders/Unit.i: src/loaders/Unit.cpp.i
.PHONY : src/loaders/Unit.i
# target to preprocess a source file
src/loaders/Unit.cpp.i:
$(MAKE) -f CMakeFiles/ftests.dir/build.make CMakeFiles/ftests.dir/src/loaders/Unit.cpp.i
.PHONY : src/loaders/Unit.cpp.i
src/loaders/Unit.s: src/loaders/Unit.cpp.s
.PHONY : src/loaders/Unit.s
# target to generate assembly for a file
src/loaders/Unit.cpp.s:
$(MAKE) -f CMakeFiles/ftests.dir/build.make CMakeFiles/ftests.dir/src/loaders/Unit.cpp.s
.PHONY : src/loaders/Unit.cpp.s
src/loaders/helpers.o: src/loaders/helpers.cpp.o src/loaders/helpers.o: src/loaders/helpers.cpp.o
@ -363,9 +417,15 @@ help:
@echo "... src/loaders/Plan.o" @echo "... src/loaders/Plan.o"
@echo "... src/loaders/Plan.i" @echo "... src/loaders/Plan.i"
@echo "... src/loaders/Plan.s" @echo "... src/loaders/Plan.s"
@echo "... src/loaders/Units.o" @echo "... src/loaders/Suite.o"
@echo "... src/loaders/Units.i" @echo "... src/loaders/Suite.i"
@echo "... src/loaders/Units.s" @echo "... src/loaders/Suite.s"
@echo "... src/loaders/Task.o"
@echo "... src/loaders/Task.i"
@echo "... src/loaders/Task.s"
@echo "... src/loaders/Unit.o"
@echo "... src/loaders/Unit.i"
@echo "... src/loaders/Unit.s"
@echo "... src/loaders/helpers.o" @echo "... src/loaders/helpers.o"
@echo "... src/loaders/helpers.i" @echo "... src/loaders/helpers.i"
@echo "... src/loaders/helpers.s" @echo "... src/loaders/helpers.s"

Binary file not shown.

View File

@ -108,10 +108,22 @@
<Unit filename="/home/phanes/Development/internal/ftests/src/loaders/Plan.h"> <Unit filename="/home/phanes/Development/internal/ftests/src/loaders/Plan.h">
<Option target="ftests"/> <Option target="ftests"/>
</Unit> </Unit>
<Unit filename="/home/phanes/Development/internal/ftests/src/loaders/Units.cpp"> <Unit filename="/home/phanes/Development/internal/ftests/src/loaders/Suite.cpp">
<Option target="ftests"/> <Option target="ftests"/>
</Unit> </Unit>
<Unit filename="/home/phanes/Development/internal/ftests/src/loaders/Units.h"> <Unit filename="/home/phanes/Development/internal/ftests/src/loaders/Suite.h">
<Option target="ftests"/>
</Unit>
<Unit filename="/home/phanes/Development/internal/ftests/src/loaders/Task.cpp">
<Option target="ftests"/>
</Unit>
<Unit filename="/home/phanes/Development/internal/ftests/src/loaders/Task.h">
<Option target="ftests"/>
</Unit>
<Unit filename="/home/phanes/Development/internal/ftests/src/loaders/Unit.cpp">
<Option target="ftests"/>
</Unit>
<Unit filename="/home/phanes/Development/internal/ftests/src/loaders/Unit.h">
<Option target="ftests"/> <Option target="ftests"/>
</Unit> </Unit>
<Unit filename="/home/phanes/Development/internal/ftests/src/loaders/helpers.cpp"> <Unit filename="/home/phanes/Development/internal/ftests/src/loaders/helpers.cpp">

View File

@ -18,9 +18,9 @@ int main()
for ( int i = 0; i < plan.num_tasks(); ++i ) for ( int i = 0; i < plan.num_tasks(); ++i )
{ {
Task current_task = plan.select_task_index( i ); Task current_task = plan.get_task(i);
Unit current_unit = unit_definitions.select_unit( current_task.get_name() ); Unit current_unit = unit_definitions.get_unit(current_task.get_name());
std::cout << "Found task name in \"" << configuration.get_plan_path() << "\":\t" << current_task.get_name() << std::endl << std::endl; std::cout << "Found task name in \"" << configuration.get_plan_path() << "\":\t" << current_task.get_name() << std::endl << std::endl;

View File

@ -1,43 +1,18 @@
//
// Created by phanes on 4/22/17.
//
#include "Plan.h" #include "Plan.h"
Task::Task( Json::Value loader_root )
{
this->name = loader_root.get("name", "?").asString();
this->dependencies = loader_root.get("depends on", "");
this->has_succeeded = false;
}
std::string Task::get_name() { return this->name; }
bool Task::isDone() { return this->has_succeeded; }
void Task::finish() { this->has_succeeded = true; }
// returns Json::Value for dependencies
Json::Value Task::get_dependencies() { return this->dependencies;}
Json::Value Task::set_dependencies()
{
}
int Plan::num_tasks() int Plan::num_tasks()
// returns the number of tasks in a Plan // returns the number of tasks in a Plan
{ {
return (int)this->tasks.size(); return (int)this->tasks.size();
} }
Task Plan::select_task_index(int index) Task Plan::get_task(int index)
// returns a task from its parent Plan by index // returns a task from its parent Plan by index
{ {
return this->tasks[index]; return this->tasks[index];
} }
Task Plan::select_task( std::string provided_name ) Task Plan::get_task(std::string provided_name)
/* /*
* returns a task from a Plan object by name * returns a task from a Plan object by name
* this will need reworked. maybe should return int, populate a pointer. * this will need reworked. maybe should return int, populate a pointer.

View File

@ -1,28 +1,11 @@
//
// Created by phanes on 4/22/17.
//
#ifndef FTESTS_PLAN_H #ifndef FTESTS_PLAN_H
#define FTESTS_PLAN_H #define FTESTS_PLAN_H
#include <string> #include <string>
#include "../json/json.h" #include "../json/json.h"
#include "JLoader.h" #include "JLoader.h"
#include "Task.h"
class Task
{
private:
std::string name;
Json::Value dependencies;
bool has_succeeded;
public:
Task( Json::Value loader_root );
std::string get_name();
Json::Value get_dependencies();
Json::Value set_dependencies();
bool isDone();
void finish();
};
class Plan: public JLoader class Plan: public JLoader
{ {
@ -31,8 +14,8 @@ class Plan: public JLoader
public: public:
Plan( std::string filename ); Plan( std::string filename );
Task select_task( std::string provided_name ); Task get_task(std::string provided_name);
Task select_task_index( int index ); Task get_task(int index);
int num_tasks(); int num_tasks();
}; };

43
src/loaders/Suite.cpp Normal file
View File

@ -0,0 +1,43 @@
#include "Suite.h"
Suite::Suite( std::string filename ): JLoader( filename )
/* Suite loads a file and deserializes the Unit JSON object to Unit types as a vector member
* Suite { vector<Unit> }
*/
{
Json::Value raw_units = this->get_root()["units"];
for ( int index = 0; index < raw_units.size(); index++ )
{
this->units.push_back( Unit( raw_units[ index ] ) );
}
};
Unit Suite::get_unit(std::string provided_name)
/*
* returns a unit from a unitholder object by name
* this will need reworked. maybe should return int, populate a pointer.
* error handling is the concern here.
*/
{
Unit * returnable;
bool foundMatch = false;
for ( int i = 0; i < this->units.size(); i++ )
{
std::string unit_name = this->units[i].get_name();
if ( unit_name == provided_name )
{
returnable = & this->units[i];
foundMatch = true;
break;
}
}
if (! foundMatch )
{
std::cerr << "Unit name \"" << provided_name << "\" was referenced but not defined!" << std::endl;
std::exit(1);
}
return * returnable;
}

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

22
src/loaders/Task.cpp Normal file
View File

@ -0,0 +1,22 @@
#include "Task.h"
Task::Task( Json::Value loader_root )
{
this->name = loader_root.get("name", "?").asString();
this->dependencies = loader_root.get("depends on", "");
this->has_succeeded = false;
}
std::string Task::get_name() { return this->name; }
bool Task::isDone() { return this->has_succeeded; }
void Task::finish() { this->has_succeeded = true; }
// returns Json::Value for dependencies
Json::Value Task::get_dependencies() { return this->dependencies;}
Json::Value Task::set_dependencies()
{
}

26
src/loaders/Task.h Normal file
View File

@ -0,0 +1,26 @@
//
// Created by phanes on 4/30/17.
//
#ifndef FTESTS_TASK_H
#define FTESTS_TASK_H
#include <string>
#include "../json/json.h"
class Task
{
private:
std::string name;
Json::Value dependencies;
bool has_succeeded;
public:
Task( Json::Value loader_root );
std::string get_name();
Json::Value get_dependencies();
Json::Value set_dependencies();
bool isDone();
void finish();
};
#endif //FTESTS_TASK_H

53
src/loaders/Unit.cpp Normal file
View File

@ -0,0 +1,53 @@
#include "Unit.h"
Unit::Unit( Json::Value loader_root )
/*
* Constructor for Unit type. Receives a UnitHolder loader_root.
*/
{
this->name = loader_root.get("name", "?").asString();
this->target = loader_root.get("target", "?").asString();
this->output = loader_root.get("output", "?").asString();
this->rectifier = loader_root.get("rectifier", "?").asString();
this->active = loader_root.get("active", "?").asString();
this->required = loader_root.get("required", "?").asString();
this->rectify = loader_root.get("rectify", "?").asString();
}
/*
* getters for Unit type.
*/
std::string Unit::get_name()
{
return this->name;
}
std::string Unit::get_target()
{
return this->target;
}
std::string Unit::get_output()
{
return this->output;
}
std::string Unit::get_rectifier()
{
return this->rectifier;
}
std::string Unit::get_active()
{
return this->active;
}
std::string Unit::get_required()
{
return this->required;
}
std::string Unit::get_rectify()
{
return this->rectify;
}

32
src/loaders/Unit.h Normal file
View File

@ -0,0 +1,32 @@
//
// Created by phanes on 4/29/17.
//
#ifndef FTESTS_UNIT_H
#define FTESTS_UNIT_H
#include <string>
#include "../json/json.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();
};
#endif //FTESTS_UNIT_H

View File

@ -1,72 +0,0 @@
//
// Created by phanes on 4/22/17.
//
#include "Units.h"
Unit::Unit( Json::Value loader_root )
/*
* Constructor for Unit type. Receives a UnitHolder loader_root.
*/
{
this->name = loader_root.get("name", "?").asString();
this->target = loader_root.get("target", "?").asString();
this->output = loader_root.get("output", "?").asString();
this->rectifier = loader_root.get("rectifier", "?").asString();
this->active = loader_root.get("active", "?").asString();
this->required = loader_root.get("required", "?").asString();
this->rectify = loader_root.get("rectify", "?").asString();
}
/*
* getters for Unit type.
*/
std::string Unit::get_name() { return this->name; }
std::string Unit::get_target() { return this->target; }
std::string Unit::get_output() { return this->output; }
std::string Unit::get_rectifier() { return this->rectifier; }
std::string Unit::get_active() { return this->active; }
std::string Unit::get_required() { return this->required; }
std::string Unit::get_rectify() { return this->rectify; }
Suite::Suite( std::string filename ): JLoader( filename )
/* Suite loads a file and deserializes the Unit JSON object to Unit types as a vector member
* Suite { vector<Unit> }
*/
{
Json::Value raw_units = this->get_root()["units"];
for ( int index = 0; index < raw_units.size(); index++ )
{
this->units.push_back( Unit( raw_units[ index ] ) );
}
};
Unit Suite::select_unit( std::string provided_name )
/*
* returns a unit from a unitholder object by name
* this will need reworked. maybe should return int, populate a pointer.
* error handling is the concern here.
*/
{
Unit * returnable;
bool foundMatch = false;
for ( int i = 0; i < this->units.size(); i++ )
{
std::string unit_name = this->units[i].get_name();
if ( unit_name == provided_name )
{
returnable = & this->units[i];
foundMatch = true;
break;
}
}
if (! foundMatch )
{
std::cerr << "Unit name \"" << provided_name << "\" was referenced but not defined!" << std::endl;
std::exit(1);
}
return * returnable;
}

View File

@ -1,49 +0,0 @@
//
// 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 Suite: public JLoader
{
private:
std::vector<Unit> units;
public:
// constructor
Suite( std::string filename );
// returns the unit type identified by name or null
Unit select_unit( std::string provided_name );
};
#endif //FTESTS_UNITS_H

View File

@ -5,7 +5,7 @@
#define FTESTS_LOADERS_H #define FTESTS_LOADERS_H
#include "JLoader.h" #include "JLoader.h"
#include "Units.h" #include "Suite.h"
#include "Plan.h" #include "Plan.h"
#include "Conf.h" #include "Conf.h"