ACE
6.3.3
|
Defines the state that represents a "chunk" of memory. Evenything in this class is public because it is designed as an internal structure of Obstack_T and users are not supposed to use this class directly. More...
#include <Obchunk.h>
Public Member Functions | |
ACE_Obchunk (size_t size) | |
Constructor. More... | |
~ACE_Obchunk (void) | |
Dtor. More... | |
void | dump (void) const |
Dump the state of an object. More... | |
Public Attributes | |
ACE_ALLOC_HOOK_DECLARE | |
Declare the dynamic allocation hooks. More... | |
char * | end_ |
Pointer to the end of the chunk. More... | |
char * | block_ |
Pointer to the head of the current building block. More... | |
char * | cur_ |
Pointer to the current location in the chunk. More... | |
ACE_Obchunk * | next_ |
Next chunk in the chain. More... | |
char | contents_ [4] |
Defines the state that represents a "chunk" of memory. Evenything in this class is public because it is designed as an internal structure of Obstack_T and users are not supposed to use this class directly.
ACE_Obchunk::ACE_Obchunk | ( | size_t | size | ) |
Constructor.
|
inline |
Dtor.
void ACE_Obchunk::dump | ( | void | ) | const |
Dump the state of an object.
ACE_Obchunk::ACE_ALLOC_HOOK_DECLARE |
Declare the dynamic allocation hooks.
char* ACE_Obchunk::block_ |
Pointer to the head of the current building block.
char ACE_Obchunk::contents_[4] |
Pointer to the beginning contents of this chunk. This field is actually overlayed by the memory allocated by <ACE_Obstack::new_chunk>. Therefore, it must come last.
char* ACE_Obchunk::cur_ |
Pointer to the current location in the chunk.
char* ACE_Obchunk::end_ |
Pointer to the end of the chunk.
ACE_Obchunk* ACE_Obchunk::next_ |
Next chunk in the chain.