#include <ntostr.h>
Public Member Functions | |
Long (const std::string &s, int base=0) throw (std::domain_error) | |
Constructor. | |
operator long () const | |
Conversion to int. | |
long | value () const |
Return associated numeric value. | |
Private Attributes | |
long | long_ |
This class is useful for automatic conversion of a string to an long.
long l = Long("14909090");
Definition at line 147 of file ntostr.h.
|
Constructor.
|
|
Conversion to int. Definition at line 157 of file ntostr.h. References long_. |
|
Return associated numeric value. Definition at line 159 of file ntostr.h. References long_. |
|
Definition at line 161 of file ntostr.h. Referenced by operator long(), and value(). |
dvutil-0.13.15 | [30 December, 2004] |