OutputModule and TerminalOutputModule skeletons
authorFrantišek Kučera <franta-hg@frantovo.cz>
Sun, 03 May 2015 22:00:12 +0200
changeset 72f46492e90bc
parent 6 123a2de045a8
child 8 8dadf7d93aa3
OutputModule and TerminalOutputModule skeletons
c++/parameter-lister/CLI.cpp
c++/parameter-lister/info/globalcode/parameterLister/OutputModule.cpp
c++/parameter-lister/info/globalcode/parameterLister/OutputModule.h
c++/parameter-lister/info/globalcode/parameterLister/TerminalOutputModule.cpp
c++/parameter-lister/info/globalcode/parameterLister/TerminalOutputModule.h
c++/parameter-lister/nbproject/Makefile-Debug.mk
c++/parameter-lister/nbproject/Makefile-Release.mk
c++/parameter-lister/nbproject/configurations.xml
     1.1 --- a/c++/parameter-lister/CLI.cpp	Sun May 03 21:55:52 2015 +0200
     1.2 +++ b/c++/parameter-lister/CLI.cpp	Sun May 03 22:00:12 2015 +0200
     1.3 @@ -5,6 +5,8 @@
     1.4  #include <boost/optional.hpp>
     1.5  
     1.6  #include "info/globalcode/parameterLister/terminalCodes/TerminalCodes.h"
     1.7 +#include "info/globalcode/parameterLister/OutputModule.h"
     1.8 +#include "info/globalcode/parameterLister/TerminalOutputModule.h"
     1.9  
    1.10  using namespace std;
    1.11  using namespace info::globalcode::parameterLister;
    1.12 @@ -60,6 +62,11 @@
    1.13  			cout << "ENV: " << envName << " is missing";
    1.14  		}
    1.15  	}
    1.16 +	
    1.17 +	{
    1.18 +		OutputModule om;
    1.19 +		TerminalOutputModule tom;
    1.20 +	}
    1.21  
    1.22  
    1.23  	return 0;
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/c++/parameter-lister/info/globalcode/parameterLister/OutputModule.cpp	Sun May 03 22:00:12 2015 +0200
     2.3 @@ -0,0 +1,11 @@
     2.4 +#include "OutputModule.h"
     2.5 +
     2.6 +OutputModule::OutputModule() {
     2.7 +}
     2.8 +
     2.9 +OutputModule::OutputModule(const OutputModule& orig) {
    2.10 +}
    2.11 +
    2.12 +OutputModule::~OutputModule() {
    2.13 +}
    2.14 +
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/c++/parameter-lister/info/globalcode/parameterLister/OutputModule.h	Sun May 03 22:00:12 2015 +0200
     3.3 @@ -0,0 +1,14 @@
     3.4 +#ifndef OUTPUTMODULE_H
     3.5 +#define	OUTPUTMODULE_H
     3.6 +
     3.7 +class OutputModule {
     3.8 +public:
     3.9 +	OutputModule();
    3.10 +	OutputModule(const OutputModule& orig);
    3.11 +	virtual ~OutputModule();
    3.12 +private:
    3.13 +
    3.14 +};
    3.15 +
    3.16 +#endif	/* OUTPUTMODULE_H */
    3.17 +
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/c++/parameter-lister/info/globalcode/parameterLister/TerminalOutputModule.cpp	Sun May 03 22:00:12 2015 +0200
     4.3 @@ -0,0 +1,11 @@
     4.4 +#include "TerminalOutputModule.h"
     4.5 +
     4.6 +TerminalOutputModule::TerminalOutputModule() {
     4.7 +}
     4.8 +
     4.9 +TerminalOutputModule::TerminalOutputModule(const TerminalOutputModule& orig) {
    4.10 +}
    4.11 +
    4.12 +TerminalOutputModule::~TerminalOutputModule() {
    4.13 +}
    4.14 +
     5.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.2 +++ b/c++/parameter-lister/info/globalcode/parameterLister/TerminalOutputModule.h	Sun May 03 22:00:12 2015 +0200
     5.3 @@ -0,0 +1,14 @@
     5.4 +#ifndef TERMINALOUTPUTMODULE_H
     5.5 +#define	TERMINALOUTPUTMODULE_H
     5.6 +
     5.7 +class TerminalOutputModule {
     5.8 +public:
     5.9 +	TerminalOutputModule();
    5.10 +	TerminalOutputModule(const TerminalOutputModule& orig);
    5.11 +	virtual ~TerminalOutputModule();
    5.12 +private:
    5.13 +
    5.14 +};
    5.15 +
    5.16 +#endif	/* TERMINALOUTPUTMODULE_H */
    5.17 +
     6.1 --- a/c++/parameter-lister/nbproject/Makefile-Debug.mk	Sun May 03 21:55:52 2015 +0200
     6.2 +++ b/c++/parameter-lister/nbproject/Makefile-Debug.mk	Sun May 03 22:00:12 2015 +0200
     6.3 @@ -35,7 +35,9 @@
     6.4  
     6.5  # Object Files
     6.6  OBJECTFILES= \
     6.7 -	${OBJECTDIR}/CLI.o
     6.8 +	${OBJECTDIR}/CLI.o \
     6.9 +	${OBJECTDIR}/info/globalcode/parameterLister/OutputModule.o \
    6.10 +	${OBJECTDIR}/info/globalcode/parameterLister/TerminalOutputModule.o
    6.11  
    6.12  
    6.13  # C Compiler Flags
    6.14 @@ -67,6 +69,16 @@
    6.15  	${RM} "$@.d"
    6.16  	$(COMPILE.cc) -g -std=c++11 -MMD -MP -MF "$@.d" -o ${OBJECTDIR}/CLI.o CLI.cpp
    6.17  
    6.18 +${OBJECTDIR}/info/globalcode/parameterLister/OutputModule.o: info/globalcode/parameterLister/OutputModule.cpp 
    6.19 +	${MKDIR} -p ${OBJECTDIR}/info/globalcode/parameterLister
    6.20 +	${RM} "$@.d"
    6.21 +	$(COMPILE.cc) -g -std=c++11 -MMD -MP -MF "$@.d" -o ${OBJECTDIR}/info/globalcode/parameterLister/OutputModule.o info/globalcode/parameterLister/OutputModule.cpp
    6.22 +
    6.23 +${OBJECTDIR}/info/globalcode/parameterLister/TerminalOutputModule.o: info/globalcode/parameterLister/TerminalOutputModule.cpp 
    6.24 +	${MKDIR} -p ${OBJECTDIR}/info/globalcode/parameterLister
    6.25 +	${RM} "$@.d"
    6.26 +	$(COMPILE.cc) -g -std=c++11 -MMD -MP -MF "$@.d" -o ${OBJECTDIR}/info/globalcode/parameterLister/TerminalOutputModule.o info/globalcode/parameterLister/TerminalOutputModule.cpp
    6.27 +
    6.28  # Subprojects
    6.29  .build-subprojects:
    6.30  
     7.1 --- a/c++/parameter-lister/nbproject/Makefile-Release.mk	Sun May 03 21:55:52 2015 +0200
     7.2 +++ b/c++/parameter-lister/nbproject/Makefile-Release.mk	Sun May 03 22:00:12 2015 +0200
     7.3 @@ -35,7 +35,9 @@
     7.4  
     7.5  # Object Files
     7.6  OBJECTFILES= \
     7.7 -	${OBJECTDIR}/CLI.o
     7.8 +	${OBJECTDIR}/CLI.o \
     7.9 +	${OBJECTDIR}/info/globalcode/parameterLister/OutputModule.o \
    7.10 +	${OBJECTDIR}/info/globalcode/parameterLister/TerminalOutputModule.o
    7.11  
    7.12  
    7.13  # C Compiler Flags
    7.14 @@ -67,6 +69,16 @@
    7.15  	${RM} "$@.d"
    7.16  	$(COMPILE.cc) -O2 -MMD -MP -MF "$@.d" -o ${OBJECTDIR}/CLI.o CLI.cpp
    7.17  
    7.18 +${OBJECTDIR}/info/globalcode/parameterLister/OutputModule.o: info/globalcode/parameterLister/OutputModule.cpp 
    7.19 +	${MKDIR} -p ${OBJECTDIR}/info/globalcode/parameterLister
    7.20 +	${RM} "$@.d"
    7.21 +	$(COMPILE.cc) -O2 -MMD -MP -MF "$@.d" -o ${OBJECTDIR}/info/globalcode/parameterLister/OutputModule.o info/globalcode/parameterLister/OutputModule.cpp
    7.22 +
    7.23 +${OBJECTDIR}/info/globalcode/parameterLister/TerminalOutputModule.o: info/globalcode/parameterLister/TerminalOutputModule.cpp 
    7.24 +	${MKDIR} -p ${OBJECTDIR}/info/globalcode/parameterLister
    7.25 +	${RM} "$@.d"
    7.26 +	$(COMPILE.cc) -O2 -MMD -MP -MF "$@.d" -o ${OBJECTDIR}/info/globalcode/parameterLister/TerminalOutputModule.o info/globalcode/parameterLister/TerminalOutputModule.cpp
    7.27 +
    7.28  # Subprojects
    7.29  .build-subprojects:
    7.30  
     8.1 --- a/c++/parameter-lister/nbproject/configurations.xml	Sun May 03 21:55:52 2015 +0200
     8.2 +++ b/c++/parameter-lister/nbproject/configurations.xml	Sun May 03 22:00:12 2015 +0200
     8.3 @@ -17,6 +17,8 @@
     8.4            </logicalFolder>
     8.5          </logicalFolder>
     8.6        </logicalFolder>
     8.7 +      <itemPath>info/globalcode/parameterLister/OutputModule.h</itemPath>
     8.8 +      <itemPath>info/globalcode/parameterLister/TerminalOutputModule.h</itemPath>
     8.9      </logicalFolder>
    8.10      <logicalFolder name="ResourceFiles"
    8.11                     displayName="Resource Files"
    8.12 @@ -38,6 +40,8 @@
    8.13          </logicalFolder>
    8.14        </logicalFolder>
    8.15        <itemPath>CLI.cpp</itemPath>
    8.16 +      <itemPath>info/globalcode/parameterLister/OutputModule.cpp</itemPath>
    8.17 +      <itemPath>info/globalcode/parameterLister/TerminalOutputModule.cpp</itemPath>
    8.18      </logicalFolder>
    8.19      <logicalFolder name="TestFiles"
    8.20                     displayName="Test Files"
    8.21 @@ -69,6 +73,26 @@
    8.22        </compileType>
    8.23        <item path="CLI.cpp" ex="false" tool="1" flavor2="0">
    8.24        </item>
    8.25 +      <item path="info/globalcode/parameterLister/OutputModule.cpp"
    8.26 +            ex="false"
    8.27 +            tool="1"
    8.28 +            flavor2="0">
    8.29 +      </item>
    8.30 +      <item path="info/globalcode/parameterLister/OutputModule.h"
    8.31 +            ex="false"
    8.32 +            tool="3"
    8.33 +            flavor2="0">
    8.34 +      </item>
    8.35 +      <item path="info/globalcode/parameterLister/TerminalOutputModule.cpp"
    8.36 +            ex="false"
    8.37 +            tool="1"
    8.38 +            flavor2="0">
    8.39 +      </item>
    8.40 +      <item path="info/globalcode/parameterLister/TerminalOutputModule.h"
    8.41 +            ex="false"
    8.42 +            tool="3"
    8.43 +            flavor2="0">
    8.44 +      </item>
    8.45        <item path="info/globalcode/parameterLister/terminalCodes/TerminalCodes.h"
    8.46              ex="false"
    8.47              tool="3"
    8.48 @@ -97,6 +121,26 @@
    8.49        </compileType>
    8.50        <item path="CLI.cpp" ex="false" tool="1" flavor2="0">
    8.51        </item>
    8.52 +      <item path="info/globalcode/parameterLister/OutputModule.cpp"
    8.53 +            ex="false"
    8.54 +            tool="1"
    8.55 +            flavor2="0">
    8.56 +      </item>
    8.57 +      <item path="info/globalcode/parameterLister/OutputModule.h"
    8.58 +            ex="false"
    8.59 +            tool="3"
    8.60 +            flavor2="0">
    8.61 +      </item>
    8.62 +      <item path="info/globalcode/parameterLister/TerminalOutputModule.cpp"
    8.63 +            ex="false"
    8.64 +            tool="1"
    8.65 +            flavor2="0">
    8.66 +      </item>
    8.67 +      <item path="info/globalcode/parameterLister/TerminalOutputModule.h"
    8.68 +            ex="false"
    8.69 +            tool="3"
    8.70 +            flavor2="0">
    8.71 +      </item>
    8.72        <item path="info/globalcode/parameterLister/terminalCodes/TerminalCodes.h"
    8.73              ex="false"
    8.74              tool="3"