libdar::limitint< B > Class Template Reference
[Private]

limitint template class More...

#include <limitint.hpp>

List of all members.

Public Member Functions

 limitint (size_t a=0)
 limitint (user_interaction &dialog, S_I *fd, generic_file *x)
void dump (user_interaction &dialog, S_I fd) const
void dump (generic_file &x) const
void read (generic_file &f)
limitintoperator+= (const limitint &ref)
limitintoperator-= (const limitint &ref)
limitintoperator *= (const limitint &ref)
template<class T>
limitint power (const T &exponent) const
limitintoperator/= (const limitint &ref)
limitintoperator%= (const limitint &ref)
limitintoperator &= (const limitint &ref)
limitintoperator|= (const limitint &ref)
limitintoperator^= (const limitint &ref)
limitintoperator>>= (U_32 bit)
limitintoperator>>= (limitint bit)
limitintoperator<<= (U_32 bit)
limitintoperator<<= (limitint bit)
limitint operator++ (int a)
limitint operator-- (int a)
limitintoperator++ ()
limitintoperator-- ()
U_32 operator% (U_32 arg) const
template<class T>
void unstack (T &v)
limitint get_storage_size () const
unsigned char operator[] (const limitint &position) const
bool operator< (const limitint &x) const
bool operator== (const limitint &x) const
bool operator> (const limitint &x) const
bool operator<= (const limitint &x) const
bool operator!= (const limitint &x) const
bool operator>= (const limitint &x) const
debug_get_max () const
debug_get_bytesize () const


Detailed Description

template<class B>
class libdar::limitint< B >

limitint template class

the limitint template class implementation can handle positive integers and detect overflow. It shares with infinint the same interface, so it can be use in place of it, but throw Elimitint exceptions if overflow is detected. this template class receive as argument a positive integer atomic type In particular it is assumed that the sizeof() operator gives the amount of byte of information that this type can handle, and it is also assumed that the bytes of information are contiguous.

Definition at line 73 of file limitint.hpp.


The documentation for this class was generated from the following file:
Generated on Sat Mar 1 02:37:02 2008 for Disk ARchive by  doxygen 1.5.3