String_Base_Const.h

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 
00003 //=============================================================================
00004 /**
00005  *  @file    String_Base_Const.h
00006  *
00007  *  $Id: String_Base_Const.h 80826 2008-03-04 14:51:23Z wotte $
00008  *
00009  *  @author Nanbor Wang <nanbor@cs.wustl.edu>
00010  */
00011 //=============================================================================
00012 
00013 #ifndef ACE_STRING_BASE_CONST_H
00014 #define ACE_STRING_BASE_CONST_H
00015 
00016 #include /**/ "ace/pre.h"
00017 
00018 #include /**/ "ace/ACE_export.h"
00019 #include "ace/Malloc_Base.h"
00020 
00021 #if !defined (ACE_LACKS_PRAGMA_ONCE)
00022 # pragma once
00023 #endif /* ACE_LACKS_PRAGMA_ONCE */
00024 
00025 
00026 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
00027 
00028 /**
00029  * @class ACE_String_Base_Const
00030  *
00031  * @brief This class defines a constant for ACE_String_Base
00032  *        which originally was there to circumvent a bug in SunCC 6.0.
00033  *        This could be moved to ACE_String_Base but that
00034  *        adds a lot of footprint to the user applications which
00035  *        is not something we want.
00036  */
00037 class ACE_Export ACE_String_Base_Const
00038 {
00039 public:
00040 
00041   typedef ACE_Allocator::size_type size_type;
00042 
00043   /// Constant that denotes case where no such character position
00044   /// exists.
00045   static size_type const npos;
00046 
00047 };
00048 
00049 ACE_END_VERSIONED_NAMESPACE_DECL
00050 
00051 #include /**/ "ace/post.h"
00052 #endif /* ACE_STRING_BASE_CONST_H */

Generated on Tue Feb 2 17:18:43 2010 for ACE by  doxygen 1.4.7