| 452 | } |
| 453 | |
| 454 | int Structure::getSizeOf() const { |
| 455 | uint64_t size = getSizeOf64(); |
| 456 | DAS_ASSERTF(size<=0x7fffffff,"structure %s is too big, %lu",name.c_str(),(unsigned long)size); |
| 457 | return (int) (size <= 0x7fffffff ? size : 1); |
| 458 | } |
| 459 | |
| 460 | uint64_t Structure::getSizeOf64() const { |
| 461 | if ( circularGuard ) return 1; |