#include <Teuchos_Workspace.hpp>
Collaboration diagram for Teuchos::RawWorkspace:
Public Member Functions | |
| RawWorkspace (WorkspaceStore *workspace_store, size_t num_bytes) | |
| Allocate num_bytes bytes of temporary workspace. | |
| ~RawWorkspace () | |
| Deallocate workspace. | |
| size_t | num_bytes () const |
| Return the number of bytes of raw workspace. | |
| char * | workspace_ptr () |
| Give a raw pointer to the beginning of the workspace. | |
| const char * | workspace_ptr () const |
Private Member Functions | |
| RawWorkspace () | |
| RawWorkspace (const RawWorkspace &) | |
| RawWorkspace & | operator= (const RawWorkspace &) |
Static Private Member Functions | |
| void * | operator new (size_t) |
| void | operator delete (void *) |
Private Attributes | |
| WorkspaceStore * | workspace_store_ |
| char * | workspace_begin_ |
| char * | workspace_end_ |
| bool | owns_memory_ |
Friends | |
| class | WorkspaceStore |
These objects can only be created on the stack and should not be included as the member of any other classes.
Definition at line 92 of file Teuchos_Workspace.hpp.
|
||||||||||||
|
Allocate num_bytes bytes of temporary workspace.
When this object is created if Preconditons:
Definition at line 109 of file Teuchos_Workspace.cpp. |
|
|
Deallocate workspace.
Definition at line 141 of file Teuchos_Workspace.cpp. |
|
|
|
|
|
|
|
|
Return the number of bytes of raw workspace.
Definition at line 466 of file Teuchos_Workspace.hpp. |
|
|
Give a raw pointer to the beginning of the workspace.
Definition at line 472 of file Teuchos_Workspace.hpp. |
|
|
Definition at line 478 of file Teuchos_Workspace.hpp. |
|
|
|
|
|
|
|
|
Definition at line 485 of file Teuchos_Workspace.hpp. |
|
|
Definition at line 95 of file Teuchos_Workspace.hpp. |
|
|
Definition at line 129 of file Teuchos_Workspace.hpp. |
|
|
Definition at line 130 of file Teuchos_Workspace.hpp. |
|
|
Definition at line 131 of file Teuchos_Workspace.hpp. |
|
|
Definition at line 132 of file Teuchos_Workspace.hpp. |
1.3.9.1