inlib  1.2.0
/Users/barrand/private/dev/softinex/old/inexlib-1.2/inlib/inlib/cids
Go to the documentation of this file.
00001 // Copyright (C) 2010, Guy Barrand. All rights reserved.
00002 // See the file inlib.license for terms.
00003 
00004 #ifndef inlib_cids
00005 #define inlib_cids
00006 
00007 #include "safe_cast"
00008 
00009 #include <string>
00010 #include <ctime>
00011 #include "typedefs" //byte
00012 
00013 namespace inlib {
00014 
00015 inline cid _cid(byte) {return 1;}
00016 inline cid _cid(short) {return 2;}
00017 inline cid _cid(int) {return 3;}
00018 inline cid _cid(float) {return 4;}
00019 inline cid _cid(double) {return 5;}
00020 
00021 inline cid _cid(time_t) {return 10;}
00022 inline cid _cid(const std::string&) {return 11;}
00023 
00024 }
00025 
00026 #endif
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines