#include <opennurbs_workspace.h>
Public Member Functions | |
void | Destroy () |
double * | GetDoubleMemory (size_t count) |
double ** | GetDoubleMemory (size_t row_count, size_t col_count) |
int * | GetIntMemory (size_t count) |
int ** | GetIntMemory (size_t row_count, size_t col_count) |
void * | GetMemory (size_t sz) |
ON_3dPoint * | GetPointMemory (size_t count) |
ON_3dVector * | GetVectorMemory (size_t count) |
double * | GrowDoubleMemory (double *ptr, size_t count) |
int * | GrowIntMemory (int *ptr, size_t count) |
void * | GrowMemory (void *ptr, size_t sz) |
ON_3dPoint * | GrowPointMemory (ON_3dPoint *ptr, size_t count) |
ON_3dVector * | GrowVectorMemory (ON_3dVector *ptr, size_t count) |
void | KeepAllMemory () |
int | KeepFile (FILE *fileptr) |
ON_BOOL32 | KeepMemory (void *ptr) |
ON_Workspace () | |
FILE * | OpenFile (const char *filename, const char *filemode) |
FILE * | OpenFile (const wchar_t *filename, const wchar_t *filemode) |
~ON_Workspace () | |
Private Member Functions | |
ON_Workspace (const ON_Workspace &) | |
ON_Workspace & | operator= (const ON_Workspace &) |
Private Attributes | |
struct ON_Workspace_FBLK * | m_pFileBlk |
struct ON_Workspace_MBLK * | m_pMemBlk |
Definition at line 26 of file opennurbs_workspace.h.
Definition at line 19 of file opennurbs_workspace.cpp.
Definition at line 24 of file opennurbs_workspace.cpp.
ON_Workspace::ON_Workspace | ( | const ON_Workspace & | ) | [private] |
void ON_Workspace::Destroy | ( | ) |
Definition at line 41 of file opennurbs_workspace.cpp.
double * ON_Workspace::GetDoubleMemory | ( | size_t | count | ) |
Definition at line 155 of file opennurbs_workspace.cpp.
double ** ON_Workspace::GetDoubleMemory | ( | size_t | row_count, |
size_t | col_count | ||
) |
Definition at line 192 of file opennurbs_workspace.cpp.
int * ON_Workspace::GetIntMemory | ( | size_t | count | ) |
Definition at line 149 of file opennurbs_workspace.cpp.
int ** ON_Workspace::GetIntMemory | ( | size_t | row_count, |
size_t | col_count | ||
) |
Definition at line 173 of file opennurbs_workspace.cpp.
void * ON_Workspace::GetMemory | ( | size_t | sz | ) |
Definition at line 65 of file opennurbs_workspace.cpp.
ON_3dPoint * ON_Workspace::GetPointMemory | ( | size_t | count | ) |
Definition at line 161 of file opennurbs_workspace.cpp.
ON_3dVector * ON_Workspace::GetVectorMemory | ( | size_t | count | ) |
Definition at line 167 of file opennurbs_workspace.cpp.
double * ON_Workspace::GrowDoubleMemory | ( | double * | ptr, |
size_t | count | ||
) |
Definition at line 222 of file opennurbs_workspace.cpp.
int * ON_Workspace::GrowIntMemory | ( | int * | ptr, |
size_t | count | ||
) |
Definition at line 216 of file opennurbs_workspace.cpp.
void * ON_Workspace::GrowMemory | ( | void * | ptr, |
size_t | sz | ||
) |
Definition at line 81 of file opennurbs_workspace.cpp.
ON_3dPoint * ON_Workspace::GrowPointMemory | ( | ON_3dPoint * | ptr, |
size_t | count | ||
) |
Definition at line 228 of file opennurbs_workspace.cpp.
ON_3dVector * ON_Workspace::GrowVectorMemory | ( | ON_3dVector * | ptr, |
size_t | count | ||
) |
Definition at line 234 of file opennurbs_workspace.cpp.
void ON_Workspace::KeepAllMemory | ( | ) |
Definition at line 106 of file opennurbs_workspace.cpp.
int ON_Workspace::KeepFile | ( | FILE * | fileptr | ) |
Definition at line 267 of file opennurbs_workspace.cpp.
int ON_Workspace::KeepMemory | ( | void * | ptr | ) |
Definition at line 120 of file opennurbs_workspace.cpp.
FILE * ON_Workspace::OpenFile | ( | const char * | filename, |
const char * | filemode | ||
) |
Definition at line 241 of file opennurbs_workspace.cpp.
FILE * ON_Workspace::OpenFile | ( | const wchar_t * | filename, |
const wchar_t * | filemode | ||
) |
Definition at line 254 of file opennurbs_workspace.cpp.
ON_Workspace& ON_Workspace::operator= | ( | const ON_Workspace & | ) | [private] |
struct ON_Workspace_FBLK* ON_Workspace::m_pFileBlk [private] |
Definition at line 441 of file opennurbs_workspace.h.
struct ON_Workspace_MBLK* ON_Workspace::m_pMemBlk [private] |
Definition at line 442 of file opennurbs_workspace.h.