subversion uses Id instead of Header

git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@760 7ec92016-0320-0410-acc4-a06ded1c099a
This commit is contained in:
syntheticpp 2006-10-17 20:36:13 +00:00
parent 9b473fd7f2
commit a35442b5d1
53 changed files with 122 additions and 65 deletions

View file

@ -1,3 +1,5 @@
// $Id$
#define USE_SEQUENCE #define USE_SEQUENCE
#include <cassert> #include <cassert>

View file

@ -8,6 +8,9 @@
// for any purpose. It is provided "as is" without express or implied warranty. // for any purpose. It is provided "as is" without express or implied warranty.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// $Id$
// Show an example of a Loki policy that uses DeletableSingleton. // Show an example of a Loki policy that uses DeletableSingleton.
// //
// Expected output: // Expected output:

View file

@ -7,7 +7,8 @@
// for any purpose. It is provided "as is" without express or implied warranty. // for any purpose. It is provided "as is" without express or implied warranty.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// $Header$ // $Id$
//#define CLASS_LEVEL_THERADING //#define CLASS_LEVEL_THERADING

View file

@ -7,6 +7,7 @@
// For more information, see http://www.boost.org // For more information, see http://www.boost.org
// $Id$
#include <functional> #include <functional>

View file

@ -9,12 +9,11 @@
// suitability of this software for any purpose. It is provided "as is" // suitability of this software for any purpose. It is provided "as is"
// without express or implied warranty. // without express or implied warranty.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// $Header$
#ifndef LOKI_THREAD_H_ #ifndef LOKI_THREAD_H_
#define LOKI_THREAD_H_ #define LOKI_THREAD_H_
// $Id$
#include <loki/Threads.h> #include <loki/Threads.h>
#include <vector> #include <vector>

View file

@ -10,7 +10,8 @@
// without express or implied warranty. // without express or implied warranty.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// $Header$ // $Id$
#define LOKI_CLASS_LEVEL_THREADING #define LOKI_CLASS_LEVEL_THREADING

View file

@ -8,6 +8,9 @@
// for any purpose. It is provided "as is" without express or implied warranty. // for any purpose. It is provided "as is" without express or implied warranty.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// $Id$
// This is an example of using the SetLongevity function for both // This is an example of using the SetLongevity function for both
// singletons and globally and locally defined dynamically allocated // singletons and globally and locally defined dynamically allocated
// objects. // objects.

View file

@ -7,6 +7,9 @@
// for any purpose. It is provided "as is" without express or implied warranty. // for any purpose. It is provided "as is" without express or implied warranty.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// $Id$
#include <iostream> #include <iostream>
#include <loki/Singleton.h> #include <loki/Singleton.h>

View file

@ -10,7 +10,8 @@
// without express or implied warranty. // without express or implied warranty.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// $Header$ // $Id$
// define to test the OrderedStatic template // define to test the OrderedStatic template
#define TEST_ORDERED_STATIC #define TEST_ORDERED_STATIC

View file

@ -10,7 +10,8 @@
// without express or implied warranty. // without express or implied warranty.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// $Header$ // $Id$
#ifdef _MSC_VER #ifdef _MSC_VER
#pragma warning (disable: 4512) #pragma warning (disable: 4512)

View file

@ -10,7 +10,8 @@
// without express or implied warranty. // without express or implied warranty.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// $Header: // $Id$
#include <loki/Pimpl.h> #include <loki/Pimpl.h>

View file

@ -10,7 +10,7 @@
// without express or implied warranty. // without express or implied warranty.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// $Header: // $Id$
#include <loki/Pimpl.h> #include <loki/Pimpl.h>

View file

@ -12,7 +12,8 @@
#ifndef CLASSLIST_H #ifndef CLASSLIST_H
#define CLASSLIST_H #define CLASSLIST_H
// $Header$ // $Id$
#include <string> #include <string>

View file

@ -10,7 +10,8 @@
// without express or implied warranty. // without express or implied warranty.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// $Header$ // $Id$
#include "foo.h" #include "foo.h"
#include <iostream> #include <iostream>

View file

@ -12,7 +12,8 @@
#ifndef LOKI_FOO_H #ifndef LOKI_FOO_H
#define LOKI_FOO_H #define LOKI_FOO_H
// $Header$ // $Id$
#include "classlist.h" #include "classlist.h"

View file

@ -10,7 +10,8 @@
// without express or implied warranty. // without express or implied warranty.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// $Header$ // $Id$
#include <iostream> #include <iostream>

View file

@ -9,12 +9,13 @@
// //
// This software is provided "as is" without express or implied warranty. // This software is provided "as is" without express or implied warranty.
// //
// Last update: September 16, 2002
/////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////
#ifndef ABSTRACTFACTORYTEST_H #ifndef ABSTRACTFACTORYTEST_H
#define ABSTRACTFACTORYTEST_H #define ABSTRACTFACTORYTEST_H
// $Id$
#include <memory> #include <memory>
#include <typeinfo> #include <typeinfo>
#include <loki/AbstractFactory.h> #include <loki/AbstractFactory.h>

View file

@ -9,12 +9,13 @@
// //
// This software is provided "as is" without express or implied warranty. // This software is provided "as is" without express or implied warranty.
// //
// Last update: September 16, 2002
/////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////
#ifndef ASSOCVECTORTEST_H #ifndef ASSOCVECTORTEST_H
#define ASSOCVECTORTEST_H #define ASSOCVECTORTEST_H
// $Id$
#include <cstdio> #include <cstdio>
#include <cstdlib> #include <cstdlib>
#include <ctime> #include <ctime>

View file

@ -1,3 +1,5 @@
// $Id$
//DataGeneratorsTest.h //DataGeneratorsTest.h

View file

@ -12,12 +12,11 @@
// This software is provided "as is" without express or implied warranty. // This software is provided "as is" without express or implied warranty.
// //
/////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////
// $Header$
#ifndef FACTORYPARMTEST_H #ifndef FACTORYPARMTEST_H
#define FACTORYPARMTEST_H #define FACTORYPARMTEST_H
// $Id$
#ifdef ENABLE_NEW_FACTORY_CODE #ifdef ENABLE_NEW_FACTORY_CODE

View file

@ -9,12 +9,13 @@
// //
// This software is provided "as is" without express or implied warranty. // This software is provided "as is" without express or implied warranty.
// //
// Last update: September 16, 2002
/////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////
#ifndef FACTORYTEST_H #ifndef FACTORYTEST_H
#define FACTORYTEST_H #define FACTORYTEST_H
// $Id$
#include <loki/Factory.h> #include <loki/Factory.h>
/////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////

View file

@ -11,12 +11,12 @@
// This software is provided "as is" without express or implied warranty. // This software is provided "as is" without express or implied warranty.
// //
/////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////
// $Header:
#ifndef FUNCTORTEST_H #ifndef FUNCTORTEST_H
#define FUNCTORTEST_H #define FUNCTORTEST_H
// $Id$
#include <loki/Functor.h> #include <loki/Functor.h>
/////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////

View file

@ -9,12 +9,13 @@
// //
// This software is provided "as is" without express or implied warranty. // This software is provided "as is" without express or implied warranty.
// //
// Last update: September 16, 2002
/////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////
#ifndef SEQUENCETEST_H #ifndef SEQUENCETEST_H
#define SEQUENCETEST_H #define SEQUENCETEST_H
// $Id$
#include <loki/Sequence.h> #include <loki/Sequence.h>
/////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////

View file

@ -9,12 +9,13 @@
// //
// This software is provided "as is" without express or implied warranty. // This software is provided "as is" without express or implied warranty.
// //
// Last update: September 16, 2002
/////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////
#ifndef SINGLETONTEST_H #ifndef SINGLETONTEST_H
#define SINGLETONTEST_H #define SINGLETONTEST_H
// $Id$
#include <cassert> #include <cassert>
#include <loki/Singleton.h> #include <loki/Singleton.h>
#include "UnitTest.h" #include "UnitTest.h"

View file

@ -9,12 +9,13 @@
// //
// This software is provided "as is" without express or implied warranty. // This software is provided "as is" without express or implied warranty.
// //
// Last update: September 16, 2002
/////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////
#ifndef SMALLOBJECTTEST_H #ifndef SMALLOBJECTTEST_H
#define SMALLOBJECTTEST_H #define SMALLOBJECTTEST_H
// $Id$
#include <cstdlib> #include <cstdlib>
#include <loki/SmallObj.h> #include <loki/SmallObj.h>
#include "UnitTest.h" #include "UnitTest.h"

View file

@ -10,12 +10,12 @@
// This software is provided "as is" without express or implied warranty. // This software is provided "as is" without express or implied warranty.
// //
/////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////
// $Header:
#ifndef SMARTPTRTEST_H #ifndef SMARTPTRTEST_H
#define SMARTPTRTEST_H #define SMARTPTRTEST_H
// $Id$
#include "UnitTest.h" #include "UnitTest.h"
#include <loki/SmartPtr.h> #include <loki/SmartPtr.h>
#include <cassert> #include <cassert>

View file

@ -11,7 +11,8 @@
// //
/////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////
// $Header$ // $Id$
#ifdef __INTEL_COMPILER #ifdef __INTEL_COMPILER
# pragma warning(disable: 111 193 304 383 444 488 981 1418) # pragma warning(disable: 111 193 304 383 444 488 981 1418)

View file

@ -10,10 +10,12 @@
// This software is provided "as is" without express or implied warranty. // This software is provided "as is" without express or implied warranty.
// //
/////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////
#ifndef THREADSTEST_H #ifndef THREADSTEST_H
#define THREADSTEST_H #define THREADSTEST_H
// $Id$
#include <loki/Threads.h> #include <loki/Threads.h>
#include "UnitTest.h" #include "UnitTest.h"

View file

@ -9,12 +9,13 @@
// //
// This software is provided "as is" without express or implied warranty. // This software is provided "as is" without express or implied warranty.
// //
// Last update: September 16, 2002
/////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////
#ifndef TYPEMANIPTEST_H #ifndef TYPEMANIPTEST_H
#define TYPEMANIPTEST_H #define TYPEMANIPTEST_H
// $Id$
#include <loki/TypeManip.h> #include <loki/TypeManip.h>
#include "UnitTest.h" #include "UnitTest.h"

View file

@ -9,12 +9,13 @@
// //
// This software is provided "as is" without express or implied warranty. // This software is provided "as is" without express or implied warranty.
// //
// Last update: September 16, 2002
/////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////
#ifndef TYPETRAITSTEST_H #ifndef TYPETRAITSTEST_H
#define TYPETRAITSTEST_H #define TYPETRAITSTEST_H
// $Id$
#include <loki/TypeTraits.h> #include <loki/TypeTraits.h>
/////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////

View file

@ -1,6 +1,8 @@
// Loki TypeTraits test program // Loki TypeTraits test program
// Kalle Rutanen // Kalle Rutanen 25.9.2005
// 25.9.2005 //
// $Id$
//
// //
// Some type sets // Some type sets
// -------------- // --------------

View file

@ -9,12 +9,13 @@
// //
// This software is provided "as is" without express or implied warranty. // This software is provided "as is" without express or implied warranty.
// //
// Last update: September 16, 2002
/////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////
#ifndef TYPELISTTEST_H #ifndef TYPELISTTEST_H
#define TYPELISTTEST_H #define TYPELISTTEST_H
// $Id$
#include <loki/Typelist.h> #include <loki/Typelist.h>
#include <loki/Sequence.h> #include <loki/Sequence.h>

View file

@ -9,11 +9,12 @@
// //
// This software is provided "as is" without express or implied warranty. // This software is provided "as is" without express or implied warranty.
// //
// Last update: September 16, 2002
/////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////
#ifndef LOKI_UNITTEST_H
#define LOKI_UNITTEST_H
// $Id$
#ifndef UNITTEST_H
#define UNITTEST_H
#include <iostream> #include <iostream>
#include <string> #include <string>

View file

@ -9,7 +9,8 @@
// warranty. // warranty.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// $Header$ // $Id$
#include <loki/SafeFormat.h> #include <loki/SafeFormat.h>
#include <iostream> #include <iostream>

View file

@ -10,7 +10,7 @@
// without express or implied warranty. // without express or implied warranty.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// $Header$ // $Id$
#include <loki/ScopeGuard.h> #include <loki/ScopeGuard.h>

View file

@ -10,6 +10,8 @@
// without express or implied warranty. // without express or implied warranty.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// $Id$
#include <iostream> #include <iostream>

View file

@ -8,6 +8,9 @@
// for any purpose. It is provided "as is" without express or implied warranty. // for any purpose. It is provided "as is" without express or implied warranty.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// $Id$
// A singleton LogClass object that resurrects itself after // A singleton LogClass object that resurrects itself after
// it has been automatically destroyed during program // it has been automatically destroyed during program
// termination. When a dead-reference to the LogClass // termination. When a dead-reference to the LogClass

View file

@ -10,7 +10,8 @@
// without express or implied warranty. // without express or implied warranty.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// $Header$ // $Id$
/* /*

View file

@ -10,7 +10,8 @@
// without express or implied warranty. // without express or implied warranty.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// $Header: // $Id$
#include "foo.h" #include "foo.h"
#include <iostream> #include <iostream>

View file

@ -12,7 +12,8 @@
#ifndef LOKI_FOO_H #ifndef LOKI_FOO_H
#define LOKI_FOO_H #define LOKI_FOO_H
// $Header: // $Id$
#include "foo_export.h" #include "foo_export.h"

View file

@ -12,6 +12,9 @@
#ifndef FOO_FOO_EXPORT_H #ifndef FOO_FOO_EXPORT_H
#define FOO_FOO_EXPORT_H #define FOO_FOO_EXPORT_H
// $Id$
#include <loki/LokiExport.h> #include <loki/LokiExport.h>
#if (defined(FOO_MAKE_DLL) && defined(FOO_DLL)) || \ #if (defined(FOO_MAKE_DLL) && defined(FOO_DLL)) || \

View file

@ -10,7 +10,8 @@
// without express or implied warranty. // without express or implied warranty.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// $Header: // $Id$
#include "singletondll.h" #include "singletondll.h"

View file

@ -12,7 +12,8 @@
#ifndef LOKI_SINGLETONDLL_H #ifndef LOKI_SINGLETONDLL_H
#define LOKI_SINGLETONDLL_H #define LOKI_SINGLETONDLL_H
// $Header: // $Id$
#include "singletondll_export.h" #include "singletondll_export.h"

View file

@ -12,6 +12,9 @@
#ifndef SINGLETONDLL_SINGLETONDLL_EXPORT_H #ifndef SINGLETONDLL_SINGLETONDLL_EXPORT_H
#define SINGLETONDLL_SINGLETONDLL_EXPORT_H #define SINGLETONDLL_SINGLETONDLL_EXPORT_H
// $Id$
#include <loki/LokiExport.h> #include <loki/LokiExport.h>
#if (defined(SINGLETONDLL_MAKE_DLL) && defined(SINGLETONDLL_DLL)) || \ #if (defined(SINGLETONDLL_MAKE_DLL) && defined(SINGLETONDLL_DLL)) || \

View file

@ -40,7 +40,7 @@
for how well your compiler can handle Loki. for how well your compiler can handle Loki.
*/ */
// $Header$ // $Id$
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------

View file

@ -11,7 +11,8 @@
// without express or implied warranty. // without express or implied warranty.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// $Header$ // $Id$
//#define LOKI_CLASS_LEVEL_THREADING //#define LOKI_CLASS_LEVEL_THREADING
//#define LOKI_OBJECT_LEVEL_THREADING //#define LOKI_OBJECT_LEVEL_THREADING

View file

@ -11,7 +11,7 @@
// without express or implied warranty. // without express or implied warranty.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// $Header$ // $Id$
#include <loki/SmallObj.h> #include <loki/SmallObj.h>

View file

@ -9,12 +9,11 @@
// suitability of this software for any purpose. It is provided "as is" // suitability of this software for any purpose. It is provided "as is"
// without express or implied warranty. // without express or implied warranty.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// $Header$
#ifndef LOKI_TEST_TIMER_H #ifndef LOKI_TEST_TIMER_H
#define LOKI_TEST_TIMER_H #define LOKI_TEST_TIMER_H
// $Id$
#include <ctime> #include <ctime>
#include <iostream> #include <iostream>

View file

@ -10,7 +10,8 @@
// without express or implied warranty. // without express or implied warranty.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// $Header$ // $Id$
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------

View file

@ -10,7 +10,7 @@
// without express or implied warranty. // without express or implied warranty.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// $Header$ // $Id$
#include <assert.h> #include <assert.h>

View file

@ -10,7 +10,8 @@
// without express or implied warranty. // without express or implied warranty.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// $Header$ // $Id$
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------

View file

@ -10,7 +10,8 @@
// without express or implied warranty. // without express or implied warranty.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// $Header$ // $Id$
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------

View file

@ -10,7 +10,8 @@
// without express or implied warranty. // without express or implied warranty.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// $Header$ // $Id$
#ifdef _MSC_VER #ifdef _MSC_VER