CoreLinux++
0.4.32
Main Page
Namespaces
Classes
Files
File List
File Members
corelinux
String.hpp
1
#if !defined(__STRING_HPP)
2
#define __STRING_HPP
3
4
/*
5
CoreLinux++
6
Copyright (C) 1999 CoreLinux Consortium
7
8
The CoreLinux++ Library is free software; you can redistribute it and/or
9
modify it under the terms of the GNU Library General Public License as
10
published by the Free Software Foundation; either version 2 of the
11
License, or (at your option) any later version.
12
13
The CoreLinux++ Library Library is distributed in the hope that it will
14
be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
15
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16
Library General Public License for more details.
17
18
You should have received a copy of the GNU Library General Public
19
License along with the GNU C Library; see the file COPYING.LIB. If not,
20
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
21
Boston, MA 02111-1307, USA.
22
*/
23
24
//
25
// This is a temporary until String gets analyzed and designed with
26
// the ability to factory create a string with certain properties
27
// (UTF-8 vs. UCS-2 vs UCS-4, etc)
28
//
29
30
#include <string>
31
32
#if !defined(__COMMON_HPP)
33
#include <Common.hpp>
34
#endif
35
36
namespace
corelinux
37
{
38
DEFINE_CLASS(String);
39
40
class
String
:
public
AbstractString
,
public
std::string
41
{
42
43
public
:
44
45
String
(
void
)
46
:
47
std::string()
48
{
49
50
}
51
String
( CharCptr aPtr )
52
:
53
std::string((
const
Char *)aPtr)
54
{
55
56
}
57
58
virtual
~
String
(
void
)
59
{
60
;
// do nothing
61
}
62
63
protected
:
64
65
private
:
66
67
};
68
69
}
70
71
#endif // #if !defined(__STRING_HPP)
72
73
/*
74
Common rcs information do not modify
75
$Author: prudhomm $
76
$Revision: 1.1 $
77
$Date: 2000/04/23 20:43:13 $
78
$Locker: $
79
*/
80
corelinux::String
Definition:
String.hpp:40
corelinux::AbstractString
AbstractString is a temporary base abstraction.
Definition:
AbstractString.hpp:38
This is the
CoreLinux++
reference manual
Provided by
The CoreLinux Consortium