aboutsummaryrefslogtreecommitdiff
path: root/dep/ACE_wrappers/ace/Obchunk.h
diff options
context:
space:
mode:
Diffstat (limited to 'dep/ACE_wrappers/ace/Obchunk.h')
-rw-r--r--dep/ACE_wrappers/ace/Obchunk.h17
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 */