Rogue Wave banner
Previous fileTop of documentContentsIndexNext file

money_get


money_getinherits fromlocale::facet

Summary

Monetary formatting facet for input.

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

Synopsis

#include <locale>
template <class charT,
          class InputIterator = istreambuf_iterator<charT> >
class money_get;

Description

The money_get facet interprets formatted monetary string values.

Interface

Types

char_type
iter_type
string_type

Constructors

explicit money_get(size_t refs = 0) 

Destructors

~money_get();  // virtual and protected

Static Members

static locale::id id; 

Public Member Functions

The public members of the money_get facet include an interface to protected members. Each public member get has a corresponding virtual protected member do_get.

iter_type 
get(iter_type s, iter_type end, bool intl, ios_base& f,
    ios_base::iostate& err, long double& units) const;
iter_type 
get(iter_type s, iter_type end, bool intl, ios_base& f,
    ios_base::iostate& err, string_type& digits) const; 

Protected Member Functions

virtual iter_type 
do_get(iter_type s, iter_type end,
       bool intl, ios_base& f,
       ios_base::iostate& err, 
       long double& units) const;
virtual iter_type 
do_get(iter_type s, iter_type end, 
       bool intl, ios_base& f,
       ios_base::iostate& err, 
       string_type& digits) const; 

Example

See Also

locale, facets, money_put, moneypunct



Previous fileTop of documentContentsIndexNext file
©Copyright 1998, Rogue Wave Software, Inc.
Send mail to report errors or comment on the documentation.
OEM Release, June 1998