📄 numpname.htm
字号:
<html>
<head>
<title>numpunct_byname</title>
<head>
<body bgcolor="#FFFFFF">
<a name="here"></a>
<img src="numban.gif">
<pre>
<font size=5>Class Name</font> numpunct_byname
<font size=5>Header File</font> <locale>
<font size=5>Classification</font> abstract data type
</pre>
<a href="numpname.htm#crd">Class Relationship Diagram</a><br>
<br>
<a href="numpname.htm#class-descrip">Class Description</a>
<h1>Member Classes</h1>
<p>
None
<p>
<h1>Methods</h2>
<pre>
<a href="numpname.htm#do-decimal-point">
virtual char_type do_decimal_point() const;</a>
<a href="numpname.htm#do-falsename">
virtual string_type do_falsename() const;</a>
<a href="numpname.htm#do-grouping">
virtual string do_grouping() const;</a>
<a href="numpname.htm#do-thousands-sep">
virtual char_type do_thousands_sep() const;</a>
<a href="numpname.htm#do-truename">
virtual string_type do_truename() const;</a>
<a href="numpname.htm#numpunct-byname">
explicit numpunct_byname(const char*, size_t refs = 0);</a>
<a href="numpname.htm#~numpunct-byname">
~numpunct_byname();</a>
</pre>
<hr>
<a name="class-descrip"><h3>Class Description</h3></a>
<p>
The numpunct_byname class describes a class that provides the same
functionality as the numpunct class. Its behavior is determined by a
particular named locale. This class is specialized for char and wchar_t.
</p>
<hr>
<pre>
<a name="do-decimal-point">
Method do_decimal_point()</a>
Access Protected
Classification Accessor
Syntax char_type do_decimal_point() const;
Parameters None
Return Type char_type
</pre>
<h3>Description</h3>
<p>
The do_decimal_point() method returns a
a locale-specific character used as the decimal radix separator.
</p>
<hr>
<pre>
<a name="do-falsename">
Method do_falsename()</a>
Access Protected
Classification Accessor
Syntax string_type do_falsename() const;
Parameters None
Return Type string_type
</pre>
<h3>Description</h3>
<p>
The do_falsename() method returns a
locale-specific sequence that is used as text to represent the boolean
value of false.
</p>
<hr>
<pre>
<a name="do-grouping">
Method do_grouping()</a>
Access Protected
Classification Accessor
Syntax string do_grouping() const;
Parameters None
Return Type string
</pre>
<h3>Description</h3>
<p>
The do_grouping() returns a locale-specific
basic_string<char> vec that is vector of integer values. Each element of the
vector is used to represent the number of digits in a grouping starting at position
0 as the rightmost group.
</p>
<hr>
<pre>
<a name="do-thousands-sep">
Method do_thousands_sep()</a>
Access Protected
Classification Accessor
Syntax string_type do_thousands_sep() const;
Parameters None
Return Type string_type
</pre>
<h3>Description</h3>
<p>
The do_thousands)sep() method returns a locale-specific
character used to as a digit group separator.
</p>
<hr>
<pre>
<a name="do-truename">
Method do_truename()</a>
Access Protected
Classification Accessor
Syntax string_type do_truename() const;
Parameters None
Return Type string_type
</pre>
<h3>Description</h3>
<p>
The do_truename() method returns a
locale-specific sequence that is used as text to represent the boolean
value of true.
</p>
<hr>
<pre>
<a name="numpunct-byname">
Method numpunct_byname()</a>
Access Public
Classification Constructor
Syntax explicit numpunct_byname(const char* name,
size_t refs = 0);
Parameters <em>name</em> is the name of the named locale.
<em>refs</em>, if the refs argument = 0 then the destruction
of the object is delegated to the locale or locales
which contain it. If refs = 1 then the object must
be explicitly deleted. The locale will not delete
it. The object can then be maintained across the
lifetime of multiple locales.
Returns None
</pre>
<h3>Description</h3>
<p>
The constructor constructs a numpunct_byname facet object.
</p>
<hr>
<pre>
<a name="~numpunct-byname">
Method ~numpunct_byname()
Access Public
Classification Accessor
Syntax ~numpunct_byname();
Parameters None
Returns None
</pre>
<h3>Description</h3>
<p>
The destructor destroys a numpunct_byname facet object.
</p>
<hr>
<a name="crd"><h2>The Class Relationship Diagram for numpunct_byname</h2></a>
<img src="numpname.gif">
<hr>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -