pelib  2.0.0
include/pelib/string.h
Go to the documentation of this file.
00001 /*
00002  * stringeger.h
00003  *
00004  *  Created on: 20 Feb 2012
00005  *  Copyright 2012 Nicolas Melot
00006  *
00007  * This file is part of pelib.
00008  * 
00009  *     pelib is free software: you can redistribute it and/or modify
00010  *     it under the terms of the GNU General Public License as published by
00011  *     the Free Software Foundation, either version 3 of the License, or
00012  *     (at your option) any later version.
00013  * 
00014  *     pelib is distributed in the hope that it will be useful,
00015  *     but WITHOUT ANY WARRANTY; without even the implied warranty of
00016  *     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00017  *     GNU General Public License for more details.
00018  * 
00019  *     You should have received a copy of the GNU General Public License
00020  *     along with pelib. If not, see <http://www.gnu.org/licenses/>.
00021  * 
00022  */
00023 
00024 #ifndef STRING_H_
00025 #define STRING_H_
00026 
00027 typedef char* string;
00028 
00029 #define STRUCT_T string
00030 #include <pelib/structure.h>
00031 #define DONE_string 1 
00032 
00033 #define ITERATOR_T string
00034 #include <pelib/iterator.h>
00035 #define DONE_iterator_string 1
00036 
00037 #define SET_T string
00038 #include <pelib/set.h>
00039 #define DONE_set_string 1
00040 
00041 #define PAIR_KEY_T string
00042 #define PAIR_VALUE_T string
00043 #include <pelib/pair.h>
00044 #define DONE_pair_string_string 1 
00045 
00046 #define ITERATOR_T pair_t(string, string)
00047 #include <pelib/iterator.h>
00048 #define DONE_iterator_pair_string_string 1 
00049 
00050 #define MAP_KEY_T string
00051 #define MAP_VALUE_T string
00052 #include <pelib/map.h>
00053 #define DONE_map_string_string 1
00054 
00055 #define SET_T pair_t(string, string)
00056 #include <pelib/set.h>
00057 #define DONE_set_string_string 1
00058 
00059 #endif /* STRING_H_ */