slic/include
diff -u -r1.5 -r1.6
--- CommandLineProcessor.hh 20 Dec 2006 00:31:01 -0000 1.5
+++ CommandLineProcessor.hh 20 Dec 2006 01:59:03 -0000 1.6
@@ -12,6 +12,7 @@
#include "CommandLineOption.hh"
#include "CommandQueue.hh"
#include "Module.hh"
+#include "PackageInfo.hh"
#include "Singleton.hh"
namespace slic
@@ -79,7 +80,7 @@
/**
* Print the version information.
*/
- inline void printVersion(std::ostream& os) const
+ void printVersion(std::ostream& os) const
{
os << PackageInfo::getFullApplicationString() << std::endl;
}
@@ -88,12 +89,15 @@
* Get the queue of Geant4 macro commands created from
* the command line arguments.
*/
- inline CommandQueue* getCommandQueue();
+ CommandQueue* getCommandQueue()
+ {
+ return &m_g4q;
+ }
/**
* Print the usage statement.
*/
- inline void printUsage(std::ostream& os) const;
+ void printUsage(std::ostream& os) const;
private:
slic/src
diff -u -r1.5 -r1.6
--- CommandLineProcessor.cc 20 Dec 2006 00:20:35 -0000 1.5
+++ CommandLineProcessor.cc 20 Dec 2006 01:59:03 -0000 1.6
@@ -1,4 +1,4 @@
-// $Id: CommandLineProcessor.cc,v 1.5 2006/12/20 00:20:35 jeremy Exp $
+// $Id: CommandLineProcessor.cc,v 1.6 2006/12/20 01:59:03 jeremy Exp $
#include "CommandLineProcessor.hh"
@@ -185,11 +185,6 @@
os << std::endl;
}
- inline void CommandLineProcessor::printVersion(std::ostream& os) const
- {
- os << PackageInfo::getFullApplicationString() << std::endl;
- }
-
void CommandLineProcessor::abort()
{
exit(0);
@@ -425,11 +420,6 @@
}
}
- inline CommandQueue* CommandLineProcessor::getCommandQueue()
- {
- return &m_g4q;
- }
-
void CommandLineProcessor::printOptions(std::ostream &os) const
{
os << "************************" << std::endl;