#include <utility>
#include <string>
#include <iosfwd>
#include <map>
#include <vector>
#include <stdexcept>
Go to the source code of this file.
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().
11 os << n.
ns() <<
':' << n.
name();
12 static const char * ev = getenv(
"DDNAMEID");
13 if (ev) os <<
'[' << n.
id() <<
']';
const std::string & ns() const
Returns the namespace.
const std::string & name() const
Returns the name.