aboutsummaryrefslogtreecommitdiff
path: root/externals/ace/String_Base_Const.h
diff options
context:
space:
mode:
authorRat <none@none>2010-06-07 19:10:55 +0200
committerRat <none@none>2010-06-07 19:10:55 +0200
commit32546e22828e793e3881e1055acb72b6a044e331 (patch)
tree759706cdfe8423887c69a2f8ed651c0c1e5ab7d7 /externals/ace/String_Base_Const.h
parent2e0f8fb6e558088b33bdee83bc5ff20014e983b3 (diff)
added ace + vcproj for win
--HG-- branch : trunk
Diffstat (limited to 'externals/ace/String_Base_Const.h')
-rw-r--r--externals/ace/String_Base_Const.h52
1 files changed, 52 insertions, 0 deletions
diff --git a/externals/ace/String_Base_Const.h b/externals/ace/String_Base_Const.h
new file mode 100644
index 00000000000..cad0c0b6061
--- /dev/null
+++ b/externals/ace/String_Base_Const.h
@@ -0,0 +1,52 @@
+// -*- C++ -*-
+
+//=============================================================================
+/**
+ * @file String_Base_Const.h
+ *
+ * $Id: String_Base_Const.h 80826 2008-03-04 14:51:23Z wotte $
+ *
+ * @author Nanbor Wang <nanbor@cs.wustl.edu>
+ */
+//=============================================================================
+
+#ifndef ACE_STRING_BASE_CONST_H
+#define ACE_STRING_BASE_CONST_H
+
+#include /**/ "ace/pre.h"
+
+#include /**/ "ace/ACE_export.h"
+#include "ace/Malloc_Base.h"
+
+#if !defined (ACE_LACKS_PRAGMA_ONCE)
+# pragma once
+#endif /* ACE_LACKS_PRAGMA_ONCE */
+
+
+ACE_BEGIN_VERSIONED_NAMESPACE_DECL
+
+/**
+ * @class ACE_String_Base_Const
+ *
+ * @brief This class defines a constant for ACE_String_Base
+ * which originally was there to circumvent a bug in SunCC 6.0.
+ * This could be moved to ACE_String_Base but that
+ * adds a lot of footprint to the user applications which
+ * is not something we want.
+ */
+class ACE_Export ACE_String_Base_Const
+{
+public:
+
+ typedef ACE_Allocator::size_type size_type;
+
+ /// Constant that denotes case where no such character position
+ /// exists.
+ static size_type const npos;
+
+};
+
+ACE_END_VERSIONED_NAMESPACE_DECL
+
+#include /**/ "ace/post.h"
+#endif /* ACE_STRING_BASE_CONST_H */