ddc
ConcordAlgorithm.h
Go to the documentation of this file.
1 // DDC originally by Alexey Sokirko
2 // Changes and modifications 2011-2015 by Bryan Jurish
3 //
4 // This file is part of DDC.
5 //
6 // DDC is free software: you can redistribute it and/or modify
7 // it under the terms of the GNU Lesser General Public License as published by
8 // the Free Software Foundation, either version 3 of the License, or
9 // (at your option) any later version.
10 //
11 // DDC 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 Lesser General Public License for more details.
15 //
16 // You should have received a copy of the GNU Lesser General Public License
17 // along with DDC. If not, see <http://www.gnu.org/licenses/>.
18 //
19 #ifndef __ConcordAlgorithm_H_
20 #define __ConcordAlgorithm_H_
21 
22 #include "../CommonLib/utilit.h"
23 
24 void SortWithLists(vector<DWORD>& V, DwordVector& Borders);
25 void ConvertToVariableInteger(const vector<DWORD>& In,vector<DWORD>& Out);
26 void DeconvertFromVariableInteger(const DWORD* in_start, const DWORD* in_end, DWORD* out_start, DWORD& OutCount);
27 
28 #endif
29 
30 /*--- emacs style variables ---
31  * Local Variables:
32  * mode: C++
33  * c-file-style: "ellemtel"
34  * c-basic-offset: 4
35  * tab-width: 8
36  * indent-tabs-mode: nil
37  * End:
38  */
vector< DWORD > DwordVector
Definition: utilit.h:148
void ConvertToVariableInteger(const vector< DWORD > &In, vector< DWORD > &Out)
Definition: ConcordAlgorithm.cpp:180
void DeconvertFromVariableInteger(const DWORD *in_start, const DWORD *in_end, DWORD *out_start, DWORD &OutCount)
Definition: ConcordAlgorithm.cpp:314
void SortWithLists(vector< DWORD > &V, DwordVector &Borders)
Definition: ConcordAlgorithm.cpp:57
uint32_t DWORD
Definition: utilit.h:105