xmscore  1.0
vector.cpp
Go to the documentation of this file.
1 //------------------------------------------------------------------------------
5 //------------------------------------------------------------------------------
6 
7 //>>> Shared1\shared\guido\xms_stl.cpp copied here
8 
9 //----- Included files ---------------------------------------------------------
10 
11 #include <xmscore/stl/vector.h>
12 
13 using namespace xms;
14 
15 //----- Function definitions ---------------------------------------------------
16 
17 //------------------------------------------------------------------------------
19 //------------------------------------------------------------------------------
20 // void VecBoolToVecBoolean (const VecBool& a_vBool, VecUnsignedChar& a_vBoolean)
21 //{
22 // a_vBoolean.resize(a_vBool.size());
23 // for (int i = 0; i < (int)a_vBool.size(); ++i)
24 // {
25 // a_vBoolean[i] = a_vBool[i];
26 // }
27 //}
28 //------------------------------------------------------------------------------
30 //------------------------------------------------------------------------------
31 // void VecBooleanToVecBool (const VecUnsignedChar& a_vBoolean, VecBool& a_vBool)
32 //{
33 // a_vBool.resize(a_vBoolean.size());
34 // for (int i = 0; i < (int)a_vBoolean.size(); ++i)
35 // {
36 // a_vBool[i] = (a_vBoolean[i] != 0);
37 // }
38 //}
Vector types for convenience.