Update of /cvsroot/compbench/CompBenchmarks++/Benchmark
In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv3908
Modified Files:
Benchmark.h
Log Message:
resetContext() added;
Make() and Fetch() can be forced.
Index: Benchmark.h
===================================================================
RCS file: /cvsroot/compbench/CompBenchmarks++/Benchmark/Benchmark.h,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** Benchmark.h 4 Oct 2006 15:50:09 -0000 1.7
--- Benchmark.h 10 Oct 2006 16:48:49 -0000 1.8
***************
*** 102,105 ****
--- 102,110 ----
virtual int readStatus(void);
+ /** Remove context.
+ * \sa storeContext()
+ */
+ virtual int resetContext(void);
+
protected:
/** Stores current compiler. */
***************
*** 325,328 ****
--- 330,334 ----
* Uses make(). Overloading is unadvised.
* This step won't be done and'll return 1 if getStatus()>=CBMPackage::Made.
+ * \param _force sets to 1 to force operation. May changes status.
* \return 1 if ok. May changes status.
* \sa Configure()
***************
*** 330,334 ****
* \sa status
* \sa ContextMatches() */
! virtual int Make(void);
/** Test a package.
--- 336,340 ----
* \sa status
* \sa ContextMatches() */
! virtual int Make(int _force = 0);
/** Test a package.
***************
*** 372,379 ****
* to be extracted using Install().
* \param _source the archive file
* \return 1 if ok. May changes status.
* \sa status
* \sa extract */
! virtual int Fetch(char *_source);
/** Uninstall package.
--- 378,386 ----
* to be extracted using Install().
* \param _source the archive file
+ * \param _force assign to 1 for forcing operation.
* \return 1 if ok. May changes status.
* \sa status
* \sa extract */
! virtual int Fetch(char *_source, int _force = 0);
/** Uninstall package.
|