Geant4 Cross Reference |
1 // Copyright (C) 2010, Guy Barrand. All rights 1 // Copyright (C) 2010, Guy Barrand. All rights reserved. 2 // See the file tools.license for terms. 2 // See the file tools.license for terms. 3 3 4 #ifndef tools_rroot_cids 4 #ifndef tools_rroot_cids 5 #define tools_rroot_cids 5 #define tools_rroot_cids 6 6 7 //NOTE : logic must be in sync with wroot/cids 7 //NOTE : logic must be in sync with wroot/cids. 8 8 9 #include "../cid" 9 #include "../cid" 10 10 11 namespace tools { 11 namespace tools { 12 namespace rroot { 12 namespace rroot { 13 13 14 inline cid base_cid() {return 100;} 14 inline cid base_cid() {return 100;} //must be > cids in ../cids. 15 15 16 inline cid iros_cid() {return base_c 16 inline cid iros_cid() {return base_cid()+0;} 17 inline cid obj_list_cid() {return base_c 17 inline cid obj_list_cid() {return base_cid()+1;} 18 inline cid hash_list_cid() {return base_c 18 inline cid hash_list_cid() {return base_cid()+2;} 19 inline cid obj_array_cid() {return base_c 19 inline cid obj_array_cid() {return base_cid()+3;} 20 20 21 inline cid dummy_cid() {return base_c 21 inline cid dummy_cid() {return base_cid()+4;} 22 22 23 inline cid basket_cid() {return base_c 23 inline cid basket_cid() {return base_cid()+5;} 24 inline cid branch_cid() {return base_c 24 inline cid branch_cid() {return base_cid()+6;} 25 inline cid branch_element_cid() {return base_c 25 inline cid branch_element_cid() {return base_cid()+7;} 26 //inline cid tree_item() {return base 26 //inline cid tree_item() {return base_cid()+8;} 27 27 28 inline cid graph_cid() {return base_c 28 inline cid graph_cid() {return base_cid()+9;} 29 inline cid matrix_cid() {return base_c 29 inline cid matrix_cid() {return base_cid()+10;} 30 30 31 inline cid leaf_string_cid() {return base_c 31 inline cid leaf_string_cid() {return base_cid()+11;} 32 inline cid leaf_element_cid() {return base_c 32 inline cid leaf_element_cid() {return base_cid()+12;} 33 33 34 inline cid streamer_info_cid() {return bas 34 inline cid streamer_info_cid() {return base_cid()+13;} 35 inline cid streamer_element_cid() {return bas 35 inline cid streamer_element_cid() {return base_cid()+14;} 36 36 37 inline cid stl_vector_string_cid() {return bas 37 inline cid stl_vector_string_cid() {return base_cid()+16;} 38 38 39 inline cid named_cid() {return bas 39 inline cid named_cid() {return base_cid()+17;} 40 40 41 inline cid leaf_object_cid() {return base_c 41 inline cid leaf_object_cid() {return base_cid()+18;} 42 inline cid branch_object_cid() {return base_c 42 inline cid branch_object_cid() {return base_cid()+19;} 43 43 44 //base for templates : 44 //base for templates : 45 inline cid base_leaf_cid() {return bas 45 inline cid base_leaf_cid() {return base_cid()+20;} //+12=32 46 //NOTE : leaf<T> = base_leaf_cid()+_cid(T) 46 //NOTE : leaf<T> = base_leaf_cid()+_cid(T) 47 inline cid stl_vector_cid() {return bas 47 inline cid stl_vector_cid() {return base_cid()+33;} //+12=45 48 inline cid stl_vector_vector_cid() {return bas 48 inline cid stl_vector_vector_cid() {return base_cid()+46;} //+12=58 49 49 50 inline cid clones_array_cid() {return base_c 50 inline cid clones_array_cid() {return base_cid()+60;} 51 inline cid vector3_cid() {return base_c 51 inline cid vector3_cid() {return base_cid()+61;} 52 52 53 inline cid stl_vector_obj_cid() {return base_c 53 inline cid stl_vector_obj_cid() {return base_cid()+100;} 54 54 55 }} 55 }} 56 56 57 #endif 57 #endif