Current Version: 1.0.10
Project Name: csspp
unicode_range.h
Go to the documentation of this file.
1 #ifndef CSSPP_UNICODE_RANGE_H
2 #define CSSPP_UNICODE_RANGE_H
3 // CSS Preprocessor
4 // Copyright (C) 2015-2016 Made to Order Software Corp.
5 //
6 // This program is free software; you can redistribute it and/or modify
7 // it under the terms of the GNU General Public License as published by
8 // the Free Software Foundation; either version 2 of the License, or
9 // (at your option) any later version.
10 //
11 // This program is distributed in the hope that it will be useful,
12 // but WITHOUT ANY WARRANTY; without even the implied warranty of
13 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 // GNU General Public License for more details.
15 //
16 // You should have received a copy of the GNU General Public License
17 // along with this program; if not, write to the Free Software
18 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
19 
20 #include <csspp/csspp.h>
21 
22 namespace csspp
23 {
24 
25 typedef uint64_t range_value_t;
26 
28 {
29 public:
30  unicode_range_t(range_value_t value = 0);
32 
33  void set_range(range_value_t range);
34  void set_range(wide_char_t start, wide_char_t end);
35 
36  range_value_t get_range() const;
37  wide_char_t get_start() const;
38  wide_char_t get_end() const;
39 
40  std::string to_string() const;
41 
42 private:
44 };
45 
46 } // namespace csspp
47 #endif
48 // #ifndef CSSPP_UNICODE_RANGE_H
49 
50 // Local Variables:
51 // mode: cpp
52 // indent-tabs-mode: nil
53 // c-basic-offset: 4
54 // tab-width: 4
55 // End:
56 
57 // vim: ts=4 sw=4 et
void set_range(range_value_t range)
int32_t wide_char_t
Definition: csspp.h:49
wide_char_t get_end() const
range_value_t get_range() const
std::string to_string() const
wide_char_t get_start() const
unicode_range_t(range_value_t value=0)
uint64_t range_value_t
Definition: unicode_range.h:25
range_value_t f_range
Definition: unicode_range.h:43

Documentation of CSS Preprocessor.

This document is part of the Snap! Websites Project.

Copyright by Made to Order Software Corp.