00001 00002 // Copyright (c) 2005, 2006 Yigong Liu 00003 // Permission to use, copy, modify, distribute and sell this software for any 00004 // purpose is hereby granted without fee, provided that the above copyright 00005 // notice appear in all copies and that both that copyright notice and this 00006 // permission notice appear in supporting documentation. 00007 // The author makes no representations about the 00008 // suitability of this software for any purpose. It is provided "as is" 00009 // without express or implied warranty. 00011 00012 #include <RouterBase.h> 00013 00014 using namespace channel; 00015 short 00016 RouterBase::scope_checking_tbl_[][SCOPE_NUMBER * MEMBER_NUMBER] = { 00017 {1, 0, 1, 0, 0, 0}, 00018 {0, 0, 0, 1, 0, 0}, 00019 {1, 0, 1, 1, 0, 0}, 00020 {0, 1, 1, 0, 0, 0}, 00021 {0, 0, 0, 0, 0, 0}, 00022 {0, 0, 0, 0, 0, 0} 00023 };