src/class.cpp
/*!
 * \fn Namespace enclosingNamespace() const
 * \brief returns the namespace in which this class is defined
 */
\fn Namespace enclosingNamespace() const
\brief returns the namespace in which this class is defined
\ fn Namespace enclosingNamespace () const \ brief returns the namespace in which this class is defined
Namespace Class::enclosingNamespace() const
{
  Class c = memberOf();
  if (c.isNull())
    return Namespace{ std::dynamic_pointer_cast<NamespaceImpl>(d->enclosing_symbol.lock()) };
  return c.enclosingNamespace();
}
Namespace Class :: enclosingNamespace ( ) const { Class c = memberOf ( ) ; if ( c . isNull ( ) ) return Namespace { std :: dynamic_pointer_cast < NamespaceImpl > ( d -> enclosing_symbol . lock ( ) ) } ; return c . enclosingNamespace ( ) ; }
\fn Namespace enclosingNamespace() const
 \brief returns the namespace in which this class is defined
\ fn Namespace enclosingNamespace () const \ brief returns the namespace in which this class is defined