File: String_Base_Const.h

package info (click to toggle)
ace 8.0.4%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 47,064 kB
  • sloc: cpp: 342,819; perl: 31,902; sh: 1,963; python: 532; yacc: 524; xml: 330; lex: 158; lisp: 116; makefile: 85; csh: 20; ansic: 19; tcl: 5
file content (47 lines) | stat: -rw-r--r-- 1,187 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
// -*- C++ -*-

//=============================================================================
/**
 *  @file    String_Base_Const.h
 *
 *  @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 */