$(nsopen)
-${INDENT}///////////////////////////////////////////////////////////////////
-${INDENT}//
-${INDENT}// CLASS NAME : ${CLASS}
-${INDENT}//
${INDENT}/** */
${INDENT}class ${CLASS}
${INDENT}{
${INDENT} friend std::ostream & operator<<( std::ostream & str, const ${CLASS} & obj );
-${INDENT}public:
-${INDENT} /** Implementation */
-${INDENT} class Impl;
-
-${INDENT}public:
-${INDENT} /** Default ctor */
-${INDENT} ${CLASS}();
-${INDENT} /** Dtor */
-${INDENT} ~${CLASS}();
+${INDENT} public:
+${INDENT} /** Default ctor */
+${INDENT} ${CLASS}();
+${INDENT} /** Dtor */
+${INDENT} ~${CLASS}();
-${INDENT}public:
+${INDENT} public:
-${INDENT}private:
-${INDENT} /** Pointer to implementation */
-${INDENT} RWCOW_pointer<Impl> _pimpl;
+${INDENT} public:
+${INDENT} /** Implementation */
+${INDENT} class Impl;
+${INDENT} private:
+${INDENT} /** Pointer to implementation */
+${INDENT} RWCOW_pointer<Impl> _pimpl;
${INDENT}};
-${INDENT}///////////////////////////////////////////////////////////////////
${INDENT}/** \relates ${CLASS} Stream output */
${INDENT}std::ostream & operator<<( std::ostream & str, const ${CLASS} & obj );
$(nsopen)
-${INDENT}///////////////////////////////////////////////////////////////////
-${INDENT}//
-${INDENT}// CLASS NAME : ${CLASS}::Impl
-${INDENT}//
${INDENT}/** ${CLASS} implementation. */
${INDENT}struct ${CLASS}::Impl
${INDENT}{
-${INDENT}public:
-${INDENT} /** Offer default Impl. */
-${INDENT} static shared_ptr<Impl> nullimpl()
-${INDENT} {
-${INDENT} static shared_ptr<Impl> _nullimpl( new Impl );
-${INDENT} return _nullimpl;
-${INDENT} }
-
-${INDENT}private:
-${INDENT} friend Impl * rwcowClone<Impl>( const Impl * rhs );
-${INDENT} /** clone for RWCOW_pointer */
-${INDENT} Impl * clone() const
-${INDENT} { return new Impl( *this ); }
+${INDENT} public:
+${INDENT} /** Offer default Impl. */
+${INDENT} static shared_ptr<Impl> nullimpl()
+${INDENT} {
+${INDENT} static shared_ptr<Impl> _nullimpl( new Impl );
+${INDENT} return _nullimpl;
+${INDENT} }
+
+${INDENT} private:
+${INDENT} friend Impl * rwcowClone<Impl>( const Impl * rhs );
+${INDENT} /** clone for RWCOW_pointer */
+${INDENT} Impl * clone() const
+${INDENT} { return new Impl( *this ); }
${INDENT}};
-${INDENT}///////////////////////////////////////////////////////////////////
${INDENT}/** \relates ${CLASS}::Impl Stream output */
${INDENT}inline std::ostream & operator<<( std::ostream & str, const ${CLASS}::Impl & obj )
-${INDENT}{
-${INDENT} return str << "${CLASS}::Impl";
-${INDENT}}
+${INDENT}{ return str << "${CLASS}::Impl"; }
${INDENT}///////////////////////////////////////////////////////////////////
${INDENT}//
${INDENT}//
${INDENT}///////////////////////////////////////////////////////////////////
-${INDENT}///////////////////////////////////////////////////////////////////
-${INDENT}//
-${INDENT}// METHOD NAME : ${CLASS}::${CLASS}
-${INDENT}// METHOD TYPE : Ctor
-${INDENT}//
${INDENT}${CLASS}::${CLASS}()
-${INDENT}: _pimpl( Impl::nullimpl() )
+${INDENT} : _pimpl( Impl::nullimpl() )
${INDENT}{}
-${INDENT}///////////////////////////////////////////////////////////////////
-${INDENT}//
-${INDENT}// METHOD NAME : ${CLASS}::~${CLASS}
-${INDENT}// METHOD TYPE : Dtor
-${INDENT}//
${INDENT}${CLASS}::~${CLASS}()
${INDENT}{}
-${INDENT}/******************************************************************
-${INDENT}**
-${INDENT}** FUNCTION NAME : operator<<
-${INDENT}** FUNCTION TYPE : std::ostream &
-${INDENT}*/
${INDENT}std::ostream & operator<<( std::ostream & str, const ${CLASS} & obj )
-${INDENT}{
-${INDENT} return str << *obj._pimpl;
-${INDENT}}
+${INDENT}{ return str << *obj._pimpl; }
$(nsclose)
EOF