MBDyn-1.7.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups
table.h File Reference
#include <cstring>
#include <map>
#include "except.h"
#include "mathtyp.h"
Include dependency graph for table.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Table
 
class  Table::ErrNameAlreadyDefined
 

Functions

std::ostream & operator<< (std::ostream &out, const Table &T)
 

Function Documentation

std::ostream& operator<< ( std::ostream &  out,
const Table T 
)

Definition at line 160 of file table.cc.

References Table::vm.

161 {
162  for (Table::VM::const_iterator i = T.vm.begin(); i != T.vm.end(); ++i) {
163  out << " ";
164  if (i->second->Const()) {
165  out << "const ";
166  }
167  out << i->second->GetTypeName()
168  << " " << i->second->GetName()
169  << " = " << i->second->GetVal() << std::endl;
170  }
171 
172  return out;
173 }
VM vm
Definition: table.h:56