3 //=============================================================================
9 //=============================================================================
13 #include /**/ "ace/pre.h"
15 #include "ace/Malloc.h"
17 #if !defined (ACE_LACKS_PRAGMA_ONCE)
19 #endif /* ACE_LACKS_PRAGMA_ONCE */
21 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
26 * @brief Defines the state that represents a "chunk" of memory.
27 * Evenything in this class is public because it is designed
28 * as an internal structure of Obstack_T and users are
29 * not supposed to use this class directly.
32 class ACE_Export ACE_Obchunk
36 ACE_Obchunk (size_t size
);
39 ~ACE_Obchunk () = default;
41 /// Dump the state of an object.
44 /// Declare the dynamic allocation hooks.
45 ACE_ALLOC_HOOK_DECLARE
;
47 /// Pointer to the end of the chunk.
50 /// Pointer to the head of the current building block.
53 /// Pointer to the current location in the chunk.
56 /// Next chunk in the chain.
60 * Pointer to the beginning contents of this chunk. This field is
61 * actually overlayed by the memory allocated by
62 * <ACE_Obstack::new_chunk>. Therefore, it *must* come last.
67 ACE_END_VERSIONED_NAMESPACE_DECL
69 #include /**/ "ace/post.h"
70 #endif /* ACE_OBCHUNK_H */