#include <iostream>
#include "LIBTable.h"
#include "XMLUtils.h"
#include "RoutingTableAccess.h"
Go to the source code of this file.
Function Documentation
std::ostream& operator<< |
( |
std::ostream & |
os, |
|
|
const LabelOpVector & |
label | |
|
) |
| | |
Definition at line 206 of file LIBTable.cc.
{
os << "{";
for (unsigned int i = 0; i < label.size(); i++)
{
switch(label[i].optcode)
{
case PUSH_OPER:
os << "PUSH " << label[i].label;
break;
case SWAP_OPER:
os << "SWAP " << label[i].label;
break;
case POP_OPER:
os << "POP";
break;
default:
ASSERT(false);
}
if (i < label.size() - 1)
os << "; ";
else
os << "}";
}
return os;
}