Changeset 4618 for source/ariba/utility
- Timestamp:
- Jun 29, 2009, 4:49:46 PM (15 years ago)
- Location:
- source/ariba/utility/types
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
source/ariba/utility/types/Identifier.h
r4614 r4618 569 569 /* serializers */ 570 570 sznBeginDefault( ariba::utility::Identifier, X ) { 571 571 572 // calculate length of key 572 573 uint16_t len = array_size*sizeof(mp_limb_t); 573 uint 8_t unspec = isUnspec;574 uint16_t unspec = isUnspec; //TODO: was uint8_t 574 575 575 576 // only serialize the lower 16 bits of keyLength 576 577 X && unspec && len; 577 578 578 /*579 if (X.isDeserializer()){580 if(len != array_size*sizeof(mp_limb_t)){581 std::cout << "len: " << len << ", array_size: "582 << array_size << ", sizeof(mp_limb_t): " << sizeof(mp_limb_t) << std::endl;583 assert(false);584 }585 }586 */587 588 579 // serialize the identifier 589 580 for (int i=array_size-1; i>=0; i--) X && key[i]; 590 581 591 // when deserializing reset unspec flag582 // when deserializing set unspec flag 592 583 if (X.isDeserializer()){ 593 //isUnspec = unspec; 594 isUnspec = false; 595 //std::cout << "isUnspec: " << (isUnspec ? "true" : "false") << " " << "unspec: " << (int)unspec << std::endl; 584 isUnspec = unspec; 596 585 } 597 586 -
source/ariba/utility/types/OverlayParameterSet.h
r3718 r4618 64 64 65 65 private: 66 uint 8_t structure;66 uint16_t structure; //TODO: was uint8_t 67 67 68 68 };
Note:
See TracChangeset
for help on using the changeset viewer.