00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00026 #ifndef __BOSS_TYPESH__
00027 #define __BOSS_TYPESH__
00028
00029 using namespace std;
00030
00031
00032 #include <string>
00033 #include <vector>
00034 #include <iostream>
00035
00036 namespace BOSS
00037 {
00038
00039
00040 typedef unsigned char t_UChar;
00041 typedef unsigned short t_UShort;
00042 typedef unsigned int t_UInt;
00043
00044
00045
00046
00047 typedef pair< string, string > t_SSPair;
00048 typedef pair< unsigned, string > t_USPair;
00049 typedef pair< unsigned, unsigned > t_UUPair;
00050 typedef pair< t_UChar, string > t_CSPair;
00051 typedef pair< t_UChar, t_UChar > t_CCPair;
00052
00053
00054 typedef vector< string > t_SVector;
00055 typedef vector< unsigned > t_UVector;
00056 typedef vector< t_USPair > t_USPairVector;
00057 typedef vector< t_SSPair > t_SSPairVector;
00058 typedef vector< t_UUPair > t_UUPairVector;
00059
00060
00061 typedef t_UVector::iterator t_UVectorIt;
00062 typedef t_UVector::const_iterator t_UVectorCIt;
00063
00064
00065
00066
00067
00068
00069 struct Fileinfo {
00070 string path;
00071 string base;
00072 string ext;
00073 };
00074 }
00075
00076
00077 bool operator < (const BOSS::t_CCPair & a, const BOSS::t_CCPair & b);
00078
00079
00080 ostream & operator << (ostream & out, const BOSS::t_SSPair & p);
00081 istream & operator >> (istream & in, BOSS::t_SSPair & p);
00082
00083 ostream & operator << (ostream & out, const BOSS::t_USPair & p);
00084 istream & operator >> (istream & in, BOSS::t_USPair & p);
00085
00086 ostream & operator << (ostream & out, const BOSS::t_CSPair & p);
00087 istream & operator >> (istream & in, BOSS::t_CSPair & p);
00088
00089 ostream & operator << (ostream & out, const BOSS::t_CCPair & p);
00090 istream & operator >> (istream & in, BOSS::t_CCPair & p);
00091
00092 #endif