78 for (
unsigned int i = 0; i <
brokers_.size(); i++) {
84 for (
unsigned int i = 0; i <
brokers_.size(); i++) {
87 for (
unsigned int i = 0; i <
brokers_.size(); i++) {
104 std::vector<ResourceBroker::ResourceSet> contents;
105 std::vector<ResourceBroker::ResourceSet::iterator> contentIterators;
107 bool finished =
false;
109 unsigned int minWidth = cycles;
112 for (std::vector<ResourceBroker*>::const_iterator i =
brokers_.begin(); i !=
brokers_.end(); ++i) {
114 std::string name = (*i)->brokerName();
116 if(name.length() > minWidth) {
117 minWidth = name.length();
123 for (std::vector<ResourceBroker*>::const_iterator i =
brokers_.begin(); i !=
brokers_.end(); ++i) {
124 target_ << std::left << std::setw(minWidth);
125 target_ << (*i)->brokerName();
127 target_ << std::endl;
133 for (std::vector<ResourceBroker*>::const_iterator i =
brokers_.begin(); i !=
brokers_.end(); ++i) {
137 ResourceBroker::ResourceSet::iterator j = c.begin();
140 target_ << std::left << std::setw(minWidth) <<
' ';
156 std::string table =
"";
157 for (
unsigned int cycle = 0; cycle < cycles; ++cycle)
159 if((*j)->isAvailable(cycle)) {
164 std::cerr << (*j) <<
" " << (*j)->name() << std::endl;
167 target_ << std::left << std::setw(minWidth) << table;
169 target_ << std::endl;
179 for (
size_t i = 0; i <
brokers_.size(); i++) {