#include <utility>
#include <string>
#include <iostream>
#include <map>
#include <vector>
#include <stdexcept>
Go to the source code of this file.
Classes | |
class | DDName |
DDName is used to identify DDD entities uniquely. More... | |
struct | DDNameInterface |
DDNameInterface provides a common interface to DDD entities. More... | |
Functions | |
std::ostream & | operator<< (std::ostream &os, const DDName &n) |
std::ostream& operator<< | ( | std::ostream & | os, | |
const DDName & | n | |||
) |
Definition at line 9 of file DDName.cc.
References DDName::id(), DDName::name(), and DDName::ns().
00010 { 00011 os << n.ns() << ':' << n.name(); 00012 static const char * ev = getenv("DDNAMEID"); 00013 if (ev) os << '[' << n.id() << ']'; 00014 return os; 00015 }