#include <Obchunk.h>
Collaboration diagram for ACE_Obchunk:
Public Member Functions | |
ACE_Obchunk (size_t size) | |
Constructor. | |
~ACE_Obchunk (void) | |
Dtor. | |
void | dump (void) const |
Dump the state of an object. | |
Public Attributes | |
ACE_ALLOC_HOOK_DECLARE | |
Declare the dynamic allocation hooks. | |
char * | end_ |
Pointer to the end of the chunk. | |
char * | block_ |
Pointer to the head of the current building block. | |
char * | cur_ |
Pointer to the current location in the chunk. | |
ACE_Obchunk * | next_ |
Next chunk in the chain. | |
char | contents_ [4] |
Definition at line 35 of file Obchunk.h.
ACE_Obchunk::ACE_Obchunk | ( | size_t | size | ) |
ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_INLINE ACE_Obchunk::~ACE_Obchunk | ( | void | ) |
ACE_BEGIN_VERSIONED_NAMESPACE_DECL void ACE_Obchunk::dump | ( | void | ) | const |
Dump the state of an object.
Definition at line 16 of file Obchunk.cpp.
References ACE_BEGIN_DUMP, ACE_DEBUG, ACE_END_DUMP, ACE_TEXT, ACE_TRACE, and LM_DEBUG.
00017 { 00018 #if defined (ACE_HAS_DUMP) 00019 ACE_TRACE ("ACE_Obchunk::dump"); 00020 00021 ACE_DEBUG ((LM_DEBUG, ACE_BEGIN_DUMP, this)); 00022 ACE_DEBUG ((LM_DEBUG, ACE_TEXT ("end_ = %x\n"), this->end_)); 00023 ACE_DEBUG ((LM_DEBUG, ACE_TEXT ("cur_ = %x\n"), this->cur_)); 00024 ACE_DEBUG ((LM_DEBUG, ACE_END_DUMP)); 00025 #endif /* ACE_HAS_DUMP */ 00026 }
char* ACE_Obchunk::block_ |
Pointer to the head of the current building block.
Definition at line 54 of file Obchunk.h.
Referenced by ACE_Obstack_T< CHAR >::freeze(), ACE_Obstack_T< CHAR >::release(), ACE_Obstack_T< CHAR >::request(), ACE_Obstack_T< CHAR >::unwind(), and ACE_Obstack_T< CHAR >::unwind_i().
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.
Definition at line 67 of file Obchunk.h.
Referenced by ACE_Obstack_T< CHAR >::release(), ACE_Obstack_T< CHAR >::request(), and ACE_Obstack_T< CHAR >::unwind_i().
char* ACE_Obchunk::cur_ |
Pointer to the current location in the chunk.
Definition at line 57 of file Obchunk.h.
Referenced by ACE_Obstack_T< CHAR >::copy(), ACE_Obstack_T< CHAR >::freeze(), ACE_Obstack_T< CHAR >::grow(), ACE_Obstack_T< CHAR >::grow_fast(), ACE_Obstack_T< CHAR >::release(), ACE_Obstack_T< CHAR >::request(), ACE_Obstack_T< CHAR >::unwind(), and ACE_Obstack_T< CHAR >::unwind_i().
char* ACE_Obchunk::end_ |
Pointer to the end of the chunk.
Definition at line 51 of file Obchunk.h.
Referenced by ACE_Obstack_T< CHAR >::unwind(), and ACE_Obstack_T< CHAR >::unwind_i().
Next chunk in the chain.
Definition at line 60 of file Obchunk.h.
Referenced by ACE_Obstack_T< CHAR >::request(), ACE_Obstack_T< CHAR >::unwind_i(), and ACE_Obstack_T< CHAR >::~ACE_Obstack_T().