CMS 3D CMS Logo

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

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 12 of file DDName.cc.

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

Referenced by DDNameInterface::ddname().

13 {
14  os << n.ns() << ':' << n.name();
15  return os;
16 }
const std::string & ns() const
Returns the namespace.
Definition: DDName.cc:102
const std::string & name() const
Returns the name.
Definition: DDName.cc:88