| 111 | } |
| 112 | |
| 113 | JAIStream *JAIStreamMgr::newStream_() |
| 114 | { |
| 115 | if (streamAramMgr_ == NULL) |
| 116 | { |
| 117 | #line 229 |
| 118 | JUT_WARNING_F2("%s", "JAIStreamAramMgr must be set.\n"); |
| 119 | return NULL; |
| 120 | } |
| 121 | |
| 122 | JAIStream *stream = new JAIStream(this, strategyMgr_); |
| 123 | if (stream == NULL) |
| 124 | { |
| 125 | #line 235 |
| 126 | JUT_WARNING_F2("%s", "JASPoolAllocObject::<JAIStream>::operator new failed .\n") |
| 127 | return NULL; |
| 128 | } |
| 129 | mStreamList.append(stream); |
| 130 | |
| 131 | return stream; |
| 132 | } |
| 133 | |
| 134 | #ifdef DEBUG |
| 135 | CW_FORCE_STRINGS(JAIStreamMgr_cpp, "category >= 0"); // string from JAIStreamMgr::stopCategory(int) |