1
#ifndef __DOMSTRINGIMPL_H__
2
#define __DOMSTRINGIMPL_H__
4
* Phoebe DOM Implementation.
6
* This is a C++ approximation of the W3C DOM model, which follows
7
* fairly closely the specifications in the various .idl files, copies of
8
* which are provided for reference. Most important is this one:
10
* http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/idl-definitions.html
15
* Copyright (C) 2005 Bob Jamison
17
* This library is free software; you can redistribute it and/or
18
* modify it under the terms of the GNU Lesser General Public
19
* License as published by the Free Software Foundation; either
20
* version 2.1 of the License, or (at your option) any later version.
22
* This library is distributed in the hope that it will be useful,
23
* but WITHOUT ANY WARRANTY; without even the implied warranty of
24
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
25
* Lesser General Public License for more details.
27
* You should have received a copy of the GNU Lesser General Public
28
* License along with this library; if not, write to the Free Software
29
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
44
DOMString(const char *str);
49
DOMString(const DOMString &str);
59
virtual void append(const DOMString &str);
64
virtual void append(const char *str);
69
virtual void push_back(int ch);
74
virtual DOMString &substring(int start, int end);
79
virtual int charAt(unsigned long index);
84
virtual unsigned long size();
89
virtual const char *c_str();
107
#endif /* __DOMSTRINGIMPL_H__ */