Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   Related Pages  

rdMemory Class Reference

A class for performing some basic memory operations. More...

#include <rdMemory.h>

List of all members.

Static Public Member Functions

char ** NewArrayOfStrings (int aNumStrings, int aStringLength)
 Allocate a new array of strings.

void DeleteArrayOfStrings (int aNumPointers, char **aArray)
 Delete an array of pointers.


Detailed Description

A class for performing some basic memory operations.

Version:
1.0
Author:
Frank C. Anderson


Member Function Documentation

void rdMemory::DeleteArrayOfStrings int  aNumPointers,
char **  aArray
[static]
 

Delete an array of pointers.

Note that both the pointers held by the array and the array itself are deleted.

Parameters:
aNumStrings Number of strings held in the array.
aStringArray Pointer to the array of strings.

char ** rdMemory::NewArrayOfStrings int  aNumStrings,
int  aStringLength
[static]
 

Allocate a new array of strings.

Parameters:
aNumStrings Number of strings.
aStringLength Length of each string.
Returns:
Pointer to the array of strings.


The documentation for this class was generated from the following files:
Generated on Wed Aug 20 02:17:11 2003 for Simulation Software by doxygen1.3