removed second CVS id tags, cleaned up new lines

Maarten
This commit is contained in:
2002-12-30 12:11:03 +00:00
parent 438ffa7e1d
commit 82a1469e4b
6 changed files with 21 additions and 46 deletions

View File

@@ -28,6 +28,10 @@
* *
* ***** END GPL/BL DUAL LICENSE BLOCK ***** * ***** END GPL/BL DUAL LICENSE BLOCK *****
*/ */
/**
* @file MEM_NonCopyable.h
* Declaration of MEM_NonCopyable class.
*/
#ifndef NAN_INCLUDED_NonCopyable_h #ifndef NAN_INCLUDED_NonCopyable_h
#define NAN_INCLUDED_NonCopyable_h #define NAN_INCLUDED_NonCopyable_h

View File

@@ -28,17 +28,15 @@
* *
* ***** END GPL/BL DUAL LICENSE BLOCK ***** * ***** END GPL/BL DUAL LICENSE BLOCK *****
*/ */
/**
* @file MEM_RefCountPtr.h
* Declaration of MEM_RefCounted and MEM_RefCountable classes.
* @author Laurence
*/
#ifndef NAN_INCLUDED_MEM_RefCountPtr_h #ifndef NAN_INCLUDED_MEM_RefCountPtr_h
#define NAN_INCLUDED_MEM_RefCountPtr_h #define NAN_INCLUDED_MEM_RefCountPtr_h
/**
* $Id$
* Copyright (C) 2001 NaN Technologies B.V.
*
* @author Laurence
*/
#include <stdlib.h> // for NULL ! #include <stdlib.h> // for NULL !
/** /**
@@ -203,7 +201,7 @@ public :
} }
/** /**
* Defalut constructor * Default constructor
*/ */
MEM_RefCountPtr( MEM_RefCountPtr(
@@ -253,6 +251,7 @@ public :
return *m_val; return *m_val;
} }
/** /**
* Destructor - deletes object if it's ref count is zero. * Destructor - deletes object if it's ref count is zero.
*/ */

View File

@@ -28,13 +28,9 @@
* *
* ***** END GPL/BL DUAL LICENSE BLOCK ***** * ***** END GPL/BL DUAL LICENSE BLOCK *****
*/ */
/** /**
* @file MEM_RefCounted.h
* $Id$ * Declaration of MEM_RefCounted class.
* Copyright (C) 2001 NaN Technologies B.V.
* @author Maarten Gribnau
* @date March 31, 2001
*/ */
#ifndef _H_MEM_REF_COUNTED #ifndef _H_MEM_REF_COUNTED

View File

@@ -28,14 +28,9 @@
* *
* ***** END GPL/BL DUAL LICENSE BLOCK ***** * ***** END GPL/BL DUAL LICENSE BLOCK *****
*/ */
/** /**
* @file MEM_RefCountedC-Api.h
* $Id$
* Copyright (C) 2001 NaN Technologies B.V.
* Interface for C access to functionality relating to shared objects in the foundation library. * Interface for C access to functionality relating to shared objects in the foundation library.
* @author Maarten Gribnau
* @date June 17, 2001
*/ */
#ifndef _H_MEM_REF_COUNTED_C_API #ifndef _H_MEM_REF_COUNTED_C_API
@@ -52,14 +47,6 @@ extern "C" {
#endif #endif
/**
* A shared object in an object with reference counting.
* When a shared object is ceated, it has reference count == 1.
* If the the reference count of a shared object reaches zero, the object self-destructs.
* The default constrcutor and destructor of this object have been made protected on purpose.
* This disables the creation and disposal of shared objects on the stack.
*/
/** /**
* Returns the reference count of this object. * Returns the reference count of this object.
* @param shared The object to query. * @param shared The object to query.

View File

@@ -28,19 +28,19 @@
* *
* ***** END GPL/BL DUAL LICENSE BLOCK ***** * ***** END GPL/BL DUAL LICENSE BLOCK *****
*/ */
/**
* @file MEM_SmartPtr.h
* Declaration of MEM_RefCounted and MEM_RefCountable classes.
* @author Laurence
*/
#ifndef NAN_INCLUDED_MEM_SmartPtr_h #ifndef NAN_INCLUDED_MEM_SmartPtr_h
#define NAN_INCLUDED_MEM_SmartPtr_h #define NAN_INCLUDED_MEM_SmartPtr_h
/**
* $Id$
* Copyright (C) 2001 NaN Technologies B.V.
*
* @author Laurence
*/
#include <stdlib.h> // for NULL ! #include <stdlib.h> // for NULL !
/** /**
* @section MEM_SmartPtr * @section MEM_SmartPtr
* This class defines a smart pointer similar to that defined in * This class defines a smart pointer similar to that defined in
@@ -86,7 +86,7 @@
* MEM_SmartPtr<foo> m_foo; * MEM_SmartPtr<foo> m_foo;
* } * }
* *
* You my also safely construct vectors of MEM_SmartPtrs and * You may also safely construct vectors of MEM_SmartPtrs and
* have the vector own stuff you put into it. * have the vector own stuff you put into it.
* *
* e.g. * e.g.

View File

@@ -29,14 +29,6 @@
* ***** END GPL/BL DUAL LICENSE BLOCK ***** * ***** END GPL/BL DUAL LICENSE BLOCK *****
*/ */
/**
* $Id$
* Copyright (C) 2001 NaN Technologies B.V.
* @author Maarten Gribnau
* @date Jun 17, 2001
*/
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
#include <config.h> #include <config.h>
#endif #endif
@@ -62,6 +54,3 @@ int MEM_RefCountedDecRef(MEM_TRefCountedObjectPtr shared)
{ {
return shared ? ((MEM_RefCounted*)shared)->decRef() : 0; return shared ? ((MEM_RefCounted*)shared)->decRef() : 0;
} }