| 1012 | |
| 1013 | |
| 1014 | E_Condition DcmSequenceOfItems::loadAllDataIntoMemory() |
| 1015 | { |
| 1016 | Bdebug((3, "dcsequen:DcmSequenceOfItems::loadAllDataIntoMemory()")); |
| 1017 | |
| 1018 | E_Condition l_error = EC_Normal; |
| 1019 | if ( !itemList->empty() ) |
| 1020 | { |
| 1021 | itemList->seek( ELP_first ); |
| 1022 | do |
| 1023 | { |
| 1024 | E_Condition err; |
| 1025 | DcmObject *dO = itemList->get(); |
| 1026 | if ( (err = dO->loadAllDataIntoMemory()) != EC_Normal ) |
| 1027 | l_error = err; |
| 1028 | } while ( itemList->seek( ELP_next ) ); |
| 1029 | } |
| 1030 | Edebug(()); |
| 1031 | |
| 1032 | return l_error; |
| 1033 | } |
| 1034 | |
| 1035 | |
| 1036 | // ******************************** |