#include <AsciiData.hh>
Inheritance diagram for TOFDIGI:
|
00277 {};
|
|
00277 {};
|
|
00247 {};
|
|
00247 {};
|
|
|
|
|
|
|
|
00109 { 00110 char c; 00111 is >> c; 00112 if(c != '}') 00113 throw AsciiNoEndChar(); 00114 00115 std::string in_tag; 00116 is >> in_tag; 00117 if(in_tag != tag) 00118 throw AsciiWrongEndTag(tag, in_tag); 00119 }
|
|
|
|
|
|
|
|
00082 { 00083 // read input, check for '{' character 00084 char c; 00085 if(!(is >> c) || (c != '{')) { 00086 throw AsciiNoStartChar(); 00087 } 00088 00089 // compare tags 00090 std::string in_tag; 00091 is >> in_tag; 00092 if(in_tag != tag) 00093 throw AsciiWrongStartTag(tag, in_tag); 00094 00095 // check for empty block 00096 is >> c; 00097 if(c == '}') { 00098 is >> in_tag; 00099 if(in_tag != tag) 00100 throw AsciiWrongEndTag(tag, in_tag); 00101 } else { 00102 is.putback(c); 00103 set_initialized(); 00104 } 00105 }
|
|
|
|
|
|
|
|
00064 {
00065 return m_initialized;
00066 }
|
|
|
|
|
|
|
|
00070 {
00071 m_initialized = true;
00072 }
|
|
|
|
|
|
|
|
00076 {
00077 m_initialized = false;
00078 }
|
|
00563 { 00564 os << std::endl << "{ TOFDIGI" << std::endl; 00565 if(x.initialized()) { 00566 os << " " << x.nDigi; 00567 {for(int i = 0; i < x.nDigi; i++) { 00568 os << " " << x.digiCol[i]; 00569 }} 00570 } 00571 os << std::endl << "} TOFDIGI" << std::endl; 00572 return os; 00573 }
|
|
00563 { 00564 os << std::endl << "{ TOFDIGI" << std::endl; 00565 if(x.initialized()) { 00566 os << " " << x.nDigi; 00567 {for(int i = 0; i < x.nDigi; i++) { 00568 os << " " << x.digiCol[i]; 00569 }} 00570 } 00571 os << std::endl << "} TOFDIGI" << std::endl; 00572 return os; 00573 }
|
|
00563 { 00564 os << std::endl << "{ TOFDIGI" << std::endl; 00565 if(x.initialized()) { 00566 os << " " << x.nDigi; 00567 {for(int i = 0; i < x.nDigi; i++) { 00568 os << " " << x.digiCol[i]; 00569 }} 00570 } 00571 os << std::endl << "} TOFDIGI" << std::endl; 00572 return os; 00573 }
|
|
00563 { 00564 os << std::endl << "{ TOFDIGI" << std::endl; 00565 if(x.initialized()) { 00566 os << " " << x.nDigi; 00567 {for(int i = 0; i < x.nDigi; i++) { 00568 os << " " << x.digiCol[i]; 00569 }} 00570 } 00571 os << std::endl << "} TOFDIGI" << std::endl; 00572 return os; 00573 }
|
|
00550 { 00551 x.check_start_tag(is,"TOFDIGI"); 00552 if(!x.initialized()) return is; 00553 is >> x.nDigi; 00554 x.digiCol.resize(x.nDigi); 00555 {for(int i = 0; i < x.nDigi; i++) { 00556 is >> x.digiCol[i]; 00557 }} 00558 x.check_end_tag(is, "TOFDIGI"); 00559 return is; 00560 }
|
|
00550 { 00551 x.check_start_tag(is,"TOFDIGI"); 00552 if(!x.initialized()) return is; 00553 is >> x.nDigi; 00554 x.digiCol.resize(x.nDigi); 00555 {for(int i = 0; i < x.nDigi; i++) { 00556 is >> x.digiCol[i]; 00557 }} 00558 x.check_end_tag(is, "TOFDIGI"); 00559 return is; 00560 }
|
|
00550 { 00551 x.check_start_tag(is,"TOFDIGI"); 00552 if(!x.initialized()) return is; 00553 is >> x.nDigi; 00554 x.digiCol.resize(x.nDigi); 00555 {for(int i = 0; i < x.nDigi; i++) { 00556 is >> x.digiCol[i]; 00557 }} 00558 x.check_end_tag(is, "TOFDIGI"); 00559 return is; 00560 }
|
|
00550 { 00551 x.check_start_tag(is,"TOFDIGI"); 00552 if(!x.initialized()) return is; 00553 is >> x.nDigi; 00554 x.digiCol.resize(x.nDigi); 00555 {for(int i = 0; i < x.nDigi; i++) { 00556 is >> x.digiCol[i]; 00557 }} 00558 x.check_end_tag(is, "TOFDIGI"); 00559 return is; 00560 }
|
|
|
|
|
|
|
|
|
|
|