MeshKit  1.0
AF2Rule.cpp File Reference
#include "meshkit/AF2Rule.hpp"
#include <set>
#include <stack>
#include "meshkit/AF2Binding.hpp"
#include "meshkit/AF2RuleApplication.hpp"
#include "meshkit/Error.hpp"
Include dependency graph for AF2Rule.cpp:

Go to the source code of this file.


template<class T >
void aF2RuleCopyListToArray (std::list< T * > const &aListOfPtr, T **&anArrayOfPtr, unsigned int offset=0u)
template<class T >
void aF2RuleDeepDeletePtrArray (T **&anArrayOfPtr, int arraySize)

Function Documentation

void aF2RuleCopyListToArray ( std::list< T * > const &  aListOfPtr,
T **&  anArrayOfPtr,
unsigned int  offset = 0u 

A template method for allocating an array to hold the contents of a list of pointers and copying the pointers from the list to the array.

Definition at line 17 of file AF2Rule.cpp.

void aF2RuleDeepDeletePtrArray ( T **&  anArrayOfPtr,
int  arraySize 

A template method for deleting the objects that are pointed to by the pointers in a dynamically allocated array of pointers and then deleting the array itself.

Definition at line 43 of file AF2Rule.cpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines