CMS 3D CMS Logo

Functions
DDName.cc File Reference
#include "DetectorDescription/Core/interface/DDName.h"
#include "DetectorDescription/Core/interface/DDCurrentNamespace.h"
#include "DetectorDescription/Core/interface/DDSplit.h"
#include "DetectorDescription/Core/interface/Singleton.h"
#include <ext/alloc_traits.h>
#include <cstdlib>
#include <sstream>

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &os, const DDName &n)
 

Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const DDName n 
)

Definition at line 10 of file DDName.cc.

References DDName::name(), and DDName::ns().

11 {
12  os << n.ns() << ':' << n.name();
13  return os;
14 }
const std::string & ns() const
Returns the namespace.
Definition: DDName.cc:67
const std::string & name() const
Returns the name.
Definition: DDName.cc:53