Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
Public Member Functions | Data Fields
time_get_manip< charT > Struct Template Reference

Public Member Functions

 time_get_manip (std::tm *tmb)
 
template<class Traits >
void operator() (std::basic_istream< charT, Traits > &, const charT *) const
 

Data Fields

std::tm * tmb_
 

Detailed Description

template<class charT>
struct time_get_manip< charT >

time_manip.cpp - Example program demonstrating the implementation of user-defined manipulators for the convenient extraction and insertion of std::tm values

$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 39 of file time_manip.cpp.

Constructor & Destructor Documentation

◆ time_get_manip()

template<class charT >
time_get_manip< charT >::time_get_manip ( std::tm *  tmb)
inlineexplicit

Definition at line 43 of file time_manip.cpp.

Member Function Documentation

◆ operator()()

template<class charT >
template<class Traits >
void time_get_manip< charT >::operator() ( std::basic_istream< charT, Traits > &  strm,
const charT *  fmt 
) const

Definition at line 53 of file time_manip.cpp.

Field Documentation

◆ tmb_

template<class charT >
std::tm* time_get_manip< charT >::tmb_

Definition at line 41 of file time_manip.cpp.


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