Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
Public Member Functions
fmtflags_manip Class Reference

Public Member Functions

 fmtflags_manip ()
 
void operator() (std::ios_base &strm, std::ios_base::fmtflags flags) const
 
 ~fmtflags_manip ()
 

Detailed Description

fmtflags_manip.cpp - Example program demonstrating the implementation of a user-defined manipulator for convenient and exception-safe setting and restoring of stream formatting flags.

$Id$

Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Definition at line 41 of file fmtflags_manip.cpp.

Constructor & Destructor Documentation

◆ fmtflags_manip()

fmtflags_manip::fmtflags_manip ( )
inline

Definition at line 47 of file fmtflags_manip.cpp.

◆ ~fmtflags_manip()

fmtflags_manip::~fmtflags_manip ( )
inline

Definition at line 59 of file fmtflags_manip.cpp.

Member Function Documentation

◆ operator()()

void fmtflags_manip::operator() ( std::ios_base &  strm,
std::ios_base::fmtflags  flags 
) const
inline

Definition at line 49 of file fmtflags_manip.cpp.


The documentation for this class was generated from the following file: