Changeset 96d8dc for molecuilder/src
- Timestamp:
- Oct 30, 2009, 11:04:50 AM (16 years ago)
- Children:
- ec70ec
- Parents:
- 57cfb7
- Location:
- molecuilder/src
- Files:
-
- 8 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
molecuilder/src/unittests/Makefile.am
r57cfb7 r96d8dc 1 1 INCLUDES = -I$(top_srcdir)/src 2 2 3 noinst_PROGRAMS = ActOnAllUnitTest AnalysisCorrelationToPointUnitTest AnalysisCorrelationToSurfaceUnitTest AnalysisPairCorrelationUnitTest MemoryAllocatorUnitTest MemoryUsageObserverUnitTest VectorUnitTest3 noinst_PROGRAMS = ActOnAllUnitTest AnalysisCorrelationToPointUnitTest AnalysisCorrelationToSurfaceUnitTest AnalysisPairCorrelationUnitTest LogUnitTest MemoryAllocatorUnitTest MemoryUsageObserverUnitTest VectorUnitTest 4 4 5 5 TESTS = ActOnAllUnitTest AnalysisCorrelationToPointUnitTest AnalysisCorrelationToSurfaceUnitTest AnalysisPairCorrelationUnitTest MemoryUsageObserverUnitTest MemoryAllocatorUnitTest VectorUnitTest … … 40 40 MemoryUsageObserverUnitTest_LDFLAGS = $(CPPUNIT_LIBS) -ldl 41 41 MemoryUsageObserverUnitTest_LDADD = ../libmolecuilder.a 42 43 LogUnitTest_SOURCES = ../errorLogger.cpp ../errorLogger.hpp ../log.cpp ../log.hpp ../logger.cpp ../logger.hpp logunittest.cpp logunittest.hpp 44 LogUnitTest_CXXFLAGS = $(CPPUNIT_CFLAGS) 45 LogUnitTest_LDFLAGS = $(CPPUNIT_LIBS) -ldl 46 LogUnitTest_LDADD = ../libmolecuilder.a -
molecuilder/src/verbose.cpp
r57cfb7 r96d8dc 15 15 }; 16 16 17 /** States whether current output message should be print or not. 18 * Compares Verbose::Verbosity against \a verbosityLevel. 19 * \param verbosityLevel given global level of verbosity 20 * \return true - do output, false - don't 21 */ 22 bool Verbose::DoOutput(int verbosityLevel) const 23 { 24 return (verbosityLevel >= Verbosity); 25 }; 26 27 17 28 /** Operator for the Verbose(arg) call. 18 29 * Constructs temporary a Verbose class object, wherein the verbosity is stored. … … 26 37 return m.print(ost); 27 38 }; 28 29 39 30 40 /** Prints the tabs according to verbosity stored in the temporary constructed class. -
molecuilder/src/verbose.hpp
r57cfb7 r96d8dc 30 30 31 31 ostream& print (ostream &ost) const; 32 bool DoOutput(int verbosityLevel) const; 32 33 private: 33 34 int Verbosity;
Note:
See TracChangeset
for help on using the changeset viewer.