Click on the banner to return to the class reference home page.

time_put_byname


time_put_base time_put_bynametime_put locale::facet

Summary

A facet that provides formatted time output facilities based on the named locales.

Data Type and Member Function Indexes
(exclusive of constructors and destructors)

None

Synopsis

#include <locale>
template <class charT, class OuputIterator = 
          ostreambuf_iterator<charT> >
class time_put_byname;

Description

The time_put_byname template provides the same functionality as the time_put template, but specific to a particular named locale. For a description of the member functions of time_put_byname, see the reference for time_put. Only the constructor is described here.

Interface

template <class charT, class OutputIterator = ostreambuf_iterator<charT> >
class time_put_byname : public time_put<charT, OutputIterator>
{
public:
  explicit time_put_byname(const char*, size_t refs = 0);
protected:
  ~time_put_byname();  // virtual
  virtual iter_type do_put(iter_type s, ios_base&, 
                           char_type, const tm* t,
                           char format, char modifier) const;
};

Constructor

explicit time_put_byname(const char* name, size_t refs = 0);

See Also

locale, facets, time_put, time_get_byname


©Copyright 1996, Rogue Wave Software, Inc.