diff options
author | maximius <none@none> | 2009-10-17 15:51:44 -0700 |
---|---|---|
committer | maximius <none@none> | 2009-10-17 15:51:44 -0700 |
commit | e585187b248f48b3c6e9247b49fa07c6565d65e5 (patch) | |
tree | 637c5b7ddacf41040bef4ea4f75a97da64c6a9bc /dep/ACE_wrappers/ace/Obchunk.h | |
parent | 26b5e033ffde3d161382fc9addbfa99738379641 (diff) |
*Backed out changeset 3be01fb200a5
--HG--
branch : trunk
Diffstat (limited to 'dep/ACE_wrappers/ace/Obchunk.h')
-rw-r--r-- | dep/ACE_wrappers/ace/Obchunk.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/dep/ACE_wrappers/ace/Obchunk.h b/dep/ACE_wrappers/ace/Obchunk.h index 2ca439c6392..1cb7c24b76c 100644 --- a/dep/ACE_wrappers/ace/Obchunk.h +++ b/dep/ACE_wrappers/ace/Obchunk.h @@ -1,4 +1,5 @@ // -*- C++ -*- + //============================================================================= /** * @file Obchunk.h @@ -9,14 +10,19 @@ */ //============================================================================= + #ifndef ACE_OBCHUNK_H #define ACE_OBCHUNK_H #include /**/ "ace/pre.h" + #include "ace/Malloc.h" + #if !defined (ACE_LACKS_PRAGMA_ONCE) # pragma once #endif /* ACE_LACKS_PRAGMA_ONCE */ + ACE_BEGIN_VERSIONED_NAMESPACE_DECL + /** * @class ACE_Obchunk * @@ -31,20 +37,28 @@ class ACE_Export ACE_Obchunk public: /// Constructor. ACE_Obchunk (size_t size); + /// Dtor. ~ACE_Obchunk (void); + /// Dump the state of an object. void dump (void) const; + /// Declare the dynamic allocation hooks. ACE_ALLOC_HOOK_DECLARE; + /// Pointer to the end of the chunk. char *end_; + /// Pointer to the head of the current building block. char *block_; + /// Pointer to the current location in the chunk. char *cur_; + /// Next chunk in the chain. ACE_Obchunk *next_; + /** * Pointer to the beginning contents of this chunk. This field is * actually overlayed by the memory allocated by @@ -52,10 +66,13 @@ public: */ char contents_[4]; }; + ACE_END_VERSIONED_NAMESPACE_DECL + #if defined (__ACE_INLINE__) #include "ace/Obchunk.inl" #endif /* __ACE_INLINE__ */ + #include /**/ "ace/post.h" #endif /* ACE_OBCHUNK_H */ |