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