Code View

mstring / mstring-1.3.1.2 / src / MNamespace.hh
// SPDX-License-Identifier: MIT
#pragma once

#include "MWriter.hh"

/// \file MNamespace.hh
/// \brief Open / close one level of the `$NAMESPACE`.

class NamespaceHeaderWriter
  : public Writer
{
  public:
    NamespaceHeaderWriter( std::ostream &stream, std::string &indent );

    void operator( )( const std::string &str );
};

class NamespaceTailWriter
  : public Writer
{
  public:
    NamespaceTailWriter( std::ostream &stream, std::string &indent );

    void operator( )( const std::string &str );
};