Itasca C++ Interface
Loading...
Searching...
No Matches
Namespaces | Typedefs | Functions
basememory.h File Reference

Comment point for memory allocation in all modules. More...

#include <stdlib.h>
#include "basedef.h"
#include <new>

Go to the source code of this file.

Namespaces

namespace  itasca
 namespace Itasca
 

Typedefs

typedef void(* itasca::memory::MemoryCleanupFunction) ()
 

Functions

void itasca::memory::initialize ()
 
void itasca::memory::shutdown ()
 
bool itasca::memory::heapCheck (void *memptr)
 
unsigned long long itasca::memory::getMemory ()
 
MemoryCleanupFunction itasca::memory::addCleanupFunction (MemoryCleanupFunction func)
 
void * itasca::memory::imalloc (size_t s, const char *file, unsigned line)
 
void * itasca::memory::imalloc (size_t s)
 
void itasca::memory::ifree (void *v)
 
void * itasca::memory::irealloc (void *v, size_t s)
 

Detailed Description

Comment point for memory allocation in all modules.

See documentation in MEMORY.CPP for a discussion of what is done in debug mode. Exceptions thrown by these routines are all derived from std::runtime_error.