/home/ntakagi/work/STLport-5.1.5/stlport/stl/_monetary.c File Reference#include <stl/_monetary.h>
#include <stl/_ios.h>
#include <stl/_num_put.h>
#include <stl/_num_get.h>
Go to the source code of this file.
|
Typedefs |
typedef money_put< char, ostreambuf_iterator<
char, char_traits< char > > > | money_put_char_2 |
typedef money_put< wchar_t,
wchar_t * > | money_put_wchar_t |
typedef money_put< wchar_t,
ostreambuf_iterator< wchar_t,
char_traits< wchar_t > > > | money_put_wchar_t_2 |
Functions |
| __DECLARE_INSTANCE (locale::id, money_get_char_2::id,) |
| __DECLARE_INSTANCE (locale::id, money_put_char_2::id,) |
| __DECLARE_INSTANCE (locale::id, money_get_wchar_t_2::id,) |
| __DECLARE_INSTANCE (locale::id, money_put_wchar_t_2::id,) |
template<class _InIt1, class _InIt2> |
_STLP_MOVE_TO_PRIV_NAMESPACE
pair< _InIt1, bool > | __get_string (_InIt1 __first, _InIt1 __last, _InIt2 __str_first, _InIt2 __str_last) |
template<class _InIt, class _OuIt, class _CharT> |
bool | __get_monetary_value (_InIt &__first, _InIt __last, _OuIt __out_ite, const ctype< _CharT > &_c_type, _CharT __point, int __frac_digits, _CharT __sep, const string &__grouping, bool &__syntax_ok) |
template<class _CharT, class _InputIter, class _StrType> |
_InputIter | __money_do_get (_InputIter __s, _InputIter __end, bool __intl, ios_base &__str, ios_base::iostate &__err, _StrType &__digits, bool &__is_positive, _CharT *) |
template<class _CharT, class _OutputIter, class _Str_Type, class _Str> |
_STLP_MOVE_TO_PRIV_NAMESPACE
_OutputIter | __money_do_put (_OutputIter __s, bool __intl, ios_base &__str, _CharT __fill, const _Str &__digits, bool __check_digits, _Str_Type *) |
Variables |
_STLP_BEGIN_NAMESPACE typedef
money_get< char, istreambuf_iterator<
char, char_traits< char > > > | money_get_char_2 |
Typedef Documentation
Function Documentation
__DECLARE_INSTANCE |
( |
locale::id |
, |
|
|
money_get_wchar_t_2::id |
| |
|
) |
| | |
__DECLARE_INSTANCE |
( |
locale::id |
, |
|
|
money_get_char_2::id |
| |
|
) |
| | |
template<class _InIt, class _OuIt, class _CharT>
bool __get_monetary_value |
( |
_InIt & |
__first, |
|
|
_InIt |
__last, |
|
|
_OuIt |
__out_ite, |
|
|
const ctype< _CharT > & |
_c_type, |
|
|
_CharT |
__point, |
|
|
int |
__frac_digits, |
|
|
_CharT |
__sep, |
|
|
const string & |
__grouping, |
|
|
bool & |
__syntax_ok | |
|
) |
| | |
Definition at line 126 of file _monetary.c.
References __valid_grouping(), basic_string< _CharT, _Traits, _Alloc >::data(), ctype_base::digit, basic_string< _CharT, _Traits, _Alloc >::empty(), and basic_string< _CharT, _Traits, _Alloc >::size().
Referenced by __money_do_get().
template<class _InIt1, class _InIt2>
_STLP_MOVE_TO_PRIV_NAMESPACE pair<_InIt1, bool> __get_string |
( |
_InIt1 |
__first, |
|
|
_InIt1 |
__last, |
|
|
_InIt2 |
__str_first, |
|
|
_InIt2 |
__str_last | |
|
) |
| | |
template<class _CharT, class _InputIter, class _StrType>
_InputIter __money_do_get |
( |
_InputIter |
__s, |
|
|
_InputIter |
__end, |
|
|
bool |
__intl, |
|
|
ios_base & |
__str, |
|
|
ios_base::iostate & |
__err, |
|
|
_StrType & |
__digits, |
|
|
bool & |
__is_positive, |
|
|
_CharT * |
| |
|
) |
| | |
Definition at line 186 of file _monetary.c.
References __get_monetary_value(), __get_string(), basic_string< _CharT, _Traits, _Alloc >::empty(), ios_base::eofbit, ios_base::failbit, pair< _T1, _T2 >::first, ios_base::flags(), ios_base::getloc(), money_base::none, pair< _T1, _T2 >::second, ios_base::showbase, money_base::sign, money_base::space, ctype_base::space, money_base::symbol, and money_base::value.
Referenced by money_get< _CharT, _InputIter >::do_get().
template<class _CharT, class _OutputIter, class _Str_Type, class _Str>
_STLP_MOVE_TO_PRIV_NAMESPACE _OutputIter __money_do_put |
( |
_OutputIter |
__s, |
|
|
bool |
__intl, |
|
|
ios_base & |
__str, |
|
|
_CharT |
__fill, |
|
|
const _Str & |
__digits, |
|
|
bool |
__check_digits, |
|
|
_Str_Type * |
| |
|
) |
| | |
Definition at line 390 of file _monetary.c.
References __fill_n(), __insert_grouping(), __minus(), __plus(), __STATIC_CAST, _STLP_BASIC_IOSTRING, ios_base::adjustfield, copy(), ctype_base::digit, basic_string< _CharT, _Traits, _Alloc >::empty(), money_base::pattern::field, ios_base::flags(), ios_base::getloc(), ios_base::internal, ios_base::left, money_base::none, operator-(), ios_base::right, ios_base::showbase, money_base::sign, money_base::space, money_base::symbol, money_base::value, and ios_base::width().
Referenced by money_put< _CharT, _OutputIter >::do_put().
Variable Documentation
Generated on Mon Mar 10 15:32:49 2008 by
1.5.1
|