// Author: Michael E. Brasher
//
// $Log: OptionManager.cpp,v $
+// Revision 1.10 2001/04/24 21:15:48 mike
+// port back to Linux
+//
// Revision 1.9 2001/04/24 00:00:14 mike
// Ported compiler to use String and Array (rather than STL equivalents)
//
//END_HISTORY
#include <cstdlib>
+#include <cctype>
#include <fstream>
+#include <cstdio>
#include "OptionManager.h"
#include "Destroyer.h"
case WHOLE_NUMBER:
return x >= 0;
+
+ default:
+ break;
}
}
}
#include "Service.h"
+PEGASUS_NAMESPACE_BEGIN
+
bool Service::run(
int argc,
char** argv,
return false;
}
+
+PEGASUS_NAMESPACE_END
//
#include <fstream>
+#include <cstdlib>
#include <iostream>
#include <Pegasus/Common/String.h>
all:
- $(RMDIRHIER) $(REPOSITORY_ROOT)/repository
- cimmof -I$(MOF_PATH) -nroot $(MOF_PATH)/CIM_Core25.mof
- cimmof -I$(MOF_PATH) $(MOF_PATH)/CIM_Schema25.mof
-clean:
tests:
+ @ echo "+++++ Populating CIM repository (this will take a minute)"
+ @ $(RMDIRHIER) $(REPOSITORY_ROOT)/repository
+ @ cimmof -I$(MOF_PATH) -nroot $(MOF_PATH)/CIM_Core25.mof
+ @ cimmof -I$(MOF_PATH) $(MOF_PATH)/CIM_Schema25.mof
+
+clean:
depend:
TEST_DIRS = \
+
DIRS = \
Common \
Repository \
Server \
getoopt \
Compiler \
- Compiler/cmdline \
Compiler/load \
+ Compiler/cmdline \
Common/tests \
Repository/tests \
Server/tests \
// implementation of getoopt
#include "getoopt.h"
-#include <String.h>
+#include <cctype>
+#include <cstdlib>
using namespace std;
// Author: Bob Blair
//
// $Log: getoopt.h,v $
+// Revision 1.5 2001/04/24 21:15:49 mike
+// port back to Linux
+//
// Revision 1.4 2001/04/24 00:00:15 mike
// Ported compiler to use String and Array (rather than STL equivalents)
//
#ifndef _GETOOPT_H_
#define _GETOOPT_H_
-#include <String>
#include <iostream>
#include <Pegasus/Common/Array.h>
#include <Pegasus/Common/String.h>
//END_HISTORY
#include <iostream>
+#include <cstdlib>
#include <Pegasus/Common/FileSystem.h>
#include <Pegasus/Common/Selector.h>
#include <Pegasus/Common/OptionManager.h>
{
cerr << argv[0] << ": unrecognized options: ";
- for (Uint32 i = 1; i < argc; i++)
+ for (int i = 1; i < argc; i++)
cerr << argv[i] << ' ';
cout << endl;
exit(1);