acme
Foundational cross-platform layer of the ca2 framework
Toggle main menu visibility
Loading...
Searching...
No Matches
aaa_want_to_remove_str_ch_class.h
1
#pragma once
2
3
4
namespace
str
5
{
6
14
class
CLASS_DECL_ACME ch_class
15
{
16
private
:
17
bit_array
**infoIndex;
18
public
:
19
ch_class();
20
ch_class(
const
ch_class &);
21
~ch_class();
22
23
static
ch_class *createCharClass(const_char_pointer ccs, character_count pos, character_count *retPos);
24
25
void
add_char(const_char_pointer );
26
void
clear_char(const_char_pointer );
27
void
add_range(const_char_pointer , const_char_pointer );
28
void
clear_range(const_char_pointer , const_char_pointer );
29
30
void
add_category(ECharCategory);
31
void
add_category(
string
);
32
void
clear_category(ECharCategory);
33
void
clear_category(
string
);
34
35
void
add_class(
const
ch_class &);
36
void
clear_class(
const
ch_class &);
37
void
intersect_class(
const
ch_class &);
38
void
clear();
39
void
fill();
40
41
bool
in_class(const_char_pointer pszUtf8Char)
const
;
42
43
44
};
45
46
}
// namespace str
47
48
/* ***** BEGIN LICENSE BLOCK *****
49
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
50
*
51
* The contents of this file are topic to the Mozilla Public License Version
52
* 1.1 (the "License"); you may not use this file except in compliance with
53
* the License. You may obtain a copy of the License at
54
* http://www.mozilla.org/MPL/
55
*
56
* Software distributed under the License is distributed on an "AS IS" basis,
57
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
58
* for the specific language governing rights and limitations under the
59
* License.
60
*
61
* The Original Code is the Colorer Library.
62
*
63
* The Initial Developer of the Original Code is
64
* Cail Lomecb <
[email protected]
>.
65
* Portions created by the Initial Developer are Copyright (C) 1999-2005
66
* the Initial Developer.
67
*
68
* Contributor(s):
69
*
70
* Alternatively, the contents of this file may be used under the terms of
71
* either the GNU General Public License Version 2 or later (the "GPL"), or
72
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
73
* in which case the provisions of the GPL or the LGPL are applicable instead
74
* of those above. If you wish to allow use of your version of this file only
75
* under the terms of either the GPL or the LGPL, and not to allow others to
76
* use your version of this file under the terms of the MPL, indicate your
77
* decision by deleting the provisions above and replace them with the notice
78
* and other provisions required by the GPL or the LGPL. If you do not delete
79
* the provisions above, a recipient may use your version of this file under
80
* the terms of any one of the MPL, the GPL or the LGPL.
81
*
82
* ***** END LICENSE BLOCK ***** */
bit_array
Definition
bit_array.h:10
prototype
string
aaa_want_to_remove_str_ch_class.h
Generated by
1.17.0