| 5210 | } |
| 5211 | |
| 5212 | string FileStorage::releaseAndGetString() |
| 5213 | { |
| 5214 | string buf; |
| 5215 | buf.reserve(16); // HACK: Work around for compiler bug |
| 5216 | if( fs.obj && fs.obj->outbuf ) |
| 5217 | icvClose(fs.obj, &buf); |
| 5218 | |
| 5219 | release(); |
| 5220 | return buf; |
| 5221 | } |
| 5222 | |
| 5223 | FileNode FileStorage::root(int streamidx) const |
| 5224 | { |