00001 /* 00002 * Copyright 2003 Michael A. Marsh, Cornell University. All rights reserved. 00003 * This software is released under the modified BSD license. 00004 * See the file LICENSE in the top-level directory for details. 00005 */ 00006 // 00007 // $Id: Types.h,v 1.3 2004/05/19 15:56:25 mmarsh Exp $ 00008 // 00009 // $Log: Types.h,v $ 00010 // Revision 1.3 2004/05/19 15:56:25 mmarsh 00011 // Added copyright and license statements. 00012 // 00013 // Revision 1.2 2003/11/04 22:31:46 mmarsh 00014 // *** empty log message *** 00015 // 00016 // 00017 00018 #ifndef __CODEX_APSS_TYPES_H__ 00019 #define __CODEX_APSS_TYPES_H__ 00020 00021 #include "CODEX_Server/ServerState.h" 00022 #include "CODEX_VSS/SubshareLabel.h" 00023 00024 namespace CODEX_APSS 00025 { 00027 typedef CODEX_Server::ServerState::ShareType ShareType; 00028 00030 typedef CODEX_Server::ServerState::OneWay OneWay; 00031 00033 typedef CODEX_Server::ServerState::LSType LSType; 00034 00036 typedef LSType::LabelType LabelType; 00037 00039 typedef CODEX_VSS::SubshareLabel< LabelType > SublabelType; 00040 00042 typedef CODEX_Server::ServerState::WitnessType WitnessType; 00043 00045 typedef CODEX_Server::ServerState::ShareSetType ShareSetType; 00046 00048 typedef deque< LSType* > SharingList; 00049 00051 typedef map< SublabelType , ShareSetType > SubsharingMap; 00052 00054 typedef pair< ShareSetType , SublabelType > LabeledSet; 00055 00057 typedef vector< LabeledSet > SubshareList; 00058 00060 typedef map< LabelType , SubshareList > SplittingMap; 00061 00062 } 00063 00064 #endif /* __CODEX_APSS_TYPES_H__ */
1.2.18