| 158 | } |
| 159 | |
| 160 | void |
| 161 | DefaultOutputMgr::RandomOutputVarDefs() |
| 162 | { |
| 163 | vector<Variable*> *globals = VariableSelector::GetGlobalVariables(); |
| 164 | size_t size = outs.size(); |
| 165 | vector<Variable*>::iterator i; |
| 166 | for (i = globals->begin(); i != globals->end(); ++i) { |
| 167 | int index = pure_rnd_upto(size); |
| 168 | ostream *out = outs[index]; |
| 169 | (*i)->OutputDef(*out, 0); |
| 170 | } |
| 171 | } |
| 172 | |
| 173 | void |
| 174 | DefaultOutputMgr::RandomOutputFuncDefs() |
nothing calls this directly
no test coverage detected