X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d7da975624b24ca0b243e9e70974ecaf9047c50a..afbe906abdf9aa69a56571b8b20b095351dd8f34:/docs/latex/wx/longlong.tex?ds=sidebyside diff --git a/docs/latex/wx/longlong.tex b/docs/latex/wx/longlong.tex index 8e753cab32..6baf6e161e 100644 --- a/docs/latex/wx/longlong.tex +++ b/docs/latex/wx/longlong.tex @@ -6,7 +6,7 @@ %% Created: 07.03.00 %% RCS-ID: $Id$ %% Copyright: (c) Vadim Zeitlin -%% Licence: wxWindows licence +%% License: wxWindows license %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \section{\class{wxLongLong}}\label{wxlonglong} @@ -24,7 +24,8 @@ also has operators for implicit construction from and conversion to the native {\it long long} type if it exists and {\it long}. You would usually use this type in exactly the same manner as any other -(built-in) arithmetic type. Note that wxLongLong is a signed type. +(built-in) arithmetic type. Note that wxLongLong is a signed type, if you +want unsigned values use wxULongLong. If a native (i.e. supported directly by the compiler) 64 bit integer type was found a typedef {\it wxLongLong\_t} will be defined to correspond it. @@ -71,7 +72,7 @@ Assignment operator from native long long (only for compilers supporting it). \func{wxLongLong\&}{Abs}{\void} Returns an absolute value of wxLongLong - either making a copy (const version) -or modifying it in place (the second one). +or modifying it in place (the second one). Not in wxULongLong. \membersection{wxLongLong::Assign}\label{wxlonglongassign} @@ -79,7 +80,7 @@ or modifying it in place (the second one). This allows to convert a double value to wxLongLong type. Such conversion is not always possible in which case the result will be silently truncated in a -platform-dependent way. +platform-dependent way. Not in wxULongLong. \membersection{wxLongLong::GetHi}\label{wxlonglonggethi} @@ -107,6 +108,12 @@ Truncate wxLongLong to long. If the conversion loses data (i.e. the wxLongLong value is outside the range of built-in long type), an assert will be triggered in debug mode. +\membersection{wxLongLong::ToString}\label{wxlonglongtostring} + +\constfunc{wxString}{ToString}{\void} + +Returns the string representation of a wxLongLong. + \membersection{wxLongLong::operator$+$}\label{wxlonglongoperatorplus} \constfunc{wxLongLong}{operator$+$}{\param{const wxLongLong\& }{ll}} @@ -131,7 +138,7 @@ Pre/post increment operator. \constfunc{wxLongLong}{operator$-$}{\void} -Returns the value of this wxLongLong with opposite sign. +Returns the value of this wxLongLong with opposite sign. Not in wxULongLong. \membersection{wxLongLong::operator$-$}\label{wxlonglongoperatorminus} @@ -153,5 +160,6 @@ Substracts another wxLongLong from this one. Pre/post decrement operator. -% TODO document all other arithmetics operations: shitfs, multiplication, +% TODO document all other arithmetics operations: shifts, multiplication, % division, bitwise, comparison +