From 0ea5fc66924303d1bf73ba283a383e2aadee02f2 Mon Sep 17 00:00:00 2001 From: neodarz Date: Sat, 11 Aug 2018 20:21:34 +0200 Subject: Initial commit --- docs/doxygen/nel/classNL3D_1_1CPtrSet.html | 333 +++++++++++++++++++++++++++++ 1 file changed, 333 insertions(+) create mode 100644 docs/doxygen/nel/classNL3D_1_1CPtrSet.html (limited to 'docs/doxygen/nel/classNL3D_1_1CPtrSet.html') diff --git a/docs/doxygen/nel/classNL3D_1_1CPtrSet.html b/docs/doxygen/nel/classNL3D_1_1CPtrSet.html new file mode 100644 index 00000000..e56d0dbb --- /dev/null +++ b/docs/doxygen/nel/classNL3D_1_1CPtrSet.html @@ -0,0 +1,333 @@ + + + + nevrax.org : docs + + + + + + + + + + + + + + +
# Home   # nevrax.com   
+ + + + +
Nevrax
+ + + + + + + + + + +
+ + +
+ Nevrax.org
+ + + + + + + +
#News
#Mailing-list
#Documentation
#CVS
#Bugs
#License
+
+ + +
+ + +
+Docs + +
+  + + + + + +
Documentation 
+ +
+Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages   Search  
+

NL3D::CPtrSet Class Template Reference

This is a Tool class. +More... +

+#include <ptr_set.h> +

+List of all members. + + + + + + + + + + + + + +

Public Methods

Object
 CPtrSet ()
 ~CPtrSet ()
insertion/deletion.
T * insert (T *newObject)
 insert a new element to the set. More...

void erase (T *objectToRemove, const char *errorString="Object do not exist in the set")
 erase an element from the set. More...

void clear ()
 Delete all element from the set, and clear the set. More...


Public Attributes

std::set< T * > Set
+


Detailed Description

+

template<class T>
+ class NL3D::CPtrSet< T >

+ +This is a Tool class. +

+A ptr set is simply a set of object Pointer, with simple insert/erase/clear. The allocation is made at insertion by client, but deletion is automatically done by erase/clear. You got public acces to the STL set, so be aware of what you do!!

+Author:
+Lionel Berenguier , Nevrax France
+Date:
+2001
+

+ +

+Definition at line 46 of file ptr_set.h.


Constructor & Destructor Documentation

+

+ + + + +
+ + + + + + + + + + + + +
+template<class T>
NL3D::CPtrSet< T >::CPtrSet   [inline]
+
+ + + + + +
+   + + +

+ +

+Definition at line 55 of file ptr_set.h.

+

+ + + + +
+ + + + + + + + + + + + +
+template<class T>
NL3D::CPtrSet< T >::~CPtrSet   [inline]
+
+ + + + + +
+   + + +

+ +

+Definition at line 56 of file ptr_set.h.

+


Member Function Documentation

+

+ + + + +
+ + + + + + + + + + + + + +
+template<class T>
void NL3D::CPtrSet< T >::clear void   [inline]
+
+ + + + + +
+   + + +

+Delete all element from the set, and clear the set. +

+ +

+Definition at line 83 of file ptr_set.h. +

+Referenced by NL3D::CPtrSet< CTransformUser >::~CPtrSet.

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + +
+template<class T>
void NL3D::CPtrSet< T >::erase T *   objectToRemove,
const char *   errorString = "Object do not exist in the set"
[inline]
+
+ + + + + +
+   + + +

+erase an element from the set. +

+nlerror(errorString) if not found!! NO OP if NULL. For simplicity, return newObject!!! +

+Definition at line 72 of file ptr_set.h.

+

+ + + + +
+ + + + + + + + + + + + + +
+template<class T>
T* NL3D::CPtrSet< T >::insert T *   newObject [inline]
+
+ + + + + +
+   + + +

+insert a new element to the set. +

+You should pass a conventionnal allocated object. For simplicity, return newObject!!! +

+Definition at line 64 of file ptr_set.h.

+


Member Data Documentation

+

+ + + + +
+ + + + + +
+template<class T>
std::set<T*> NL3D::CPtrSet::Set +
+
+ + + + + +
+   + + +

+ +

+Definition at line 49 of file ptr_set.h. +

+Referenced by NL3D::CPtrSet< CTransformUser >::clear, NL3D::CPtrSet< CTransformUser >::erase, and NL3D::CPtrSet< CTransformUser >::insert.

+


The documentation for this class was generated from the following file: + + + +
                                                                                                                                                                    +
+ + -- cgit v1.2.1