money Class Reference

#include <ocTypes.h>

List of all members.

Public Member Functions

 money ()
 ~money ()
 money (const money &in)
 money (double in)
moneyoperator= (const money &in)
moneyoperator= (const double &in)
string format (const char *spec, size_t max=256) const
long whole (void)
long fractional (void)
double & amount (void)
 money ()
 ~money ()
 money (const money &in)
 money (double in)
moneyoperator= (const money &in)
moneyoperator= (const double &in)
string format (const char *spec, size_t max=256) const
long whole (void)
long fractional (void)
double & amount (void)

Private Member Functions

void localeSet (void)
void localeSet (void)

Private Attributes

double m_d


Detailed Description

Definition at line 230 of file ocTypes.h.


Constructor & Destructor Documentation

money::money (  )  [inline]

Definition at line 240 of file ocTypes.h.

References localeSet().

money::~money (  )  [inline]

Definition at line 242 of file ocTypes.h.

References localeSet().

money::money ( const money in  )  [inline]

Definition at line 244 of file ocTypes.h.

References localeSet().

money::money ( double  in  )  [inline]

Definition at line 246 of file ocTypes.h.

References localeSet().

money::money (  )  [inline]

Definition at line 240 of file ocTypes.h.

References localeSet().

money::~money (  )  [inline]

Definition at line 242 of file ocTypes.h.

References localeSet().

money::money ( const money in  )  [inline]

Definition at line 244 of file ocTypes.h.

References localeSet().

money::money ( double  in  )  [inline]

Definition at line 246 of file ocTypes.h.

References localeSet().


Member Function Documentation

void money::localeSet ( void   )  [inline, private]

Definition at line 233 of file ocTypes.h.

Referenced by money(), and ~money().

money& money::operator= ( const money in  )  [inline]

Definition at line 248 of file ocTypes.h.

References m_d.

money& money::operator= ( const double &  in  )  [inline]

Definition at line 252 of file ocTypes.h.

References m_d.

string money::format ( const char *  spec,
size_t  max = 256 
) const [inline]

long money::whole ( void   )  [inline]

Definition at line 276 of file ocTypes.h.

References m_d.

Referenced by moneyXfer::toFieldVar().

long money::fractional ( void   )  [inline]

Definition at line 284 of file ocTypes.h.

References m_d.

Referenced by moneyXfer::toFieldVar().

double& money::amount ( void   )  [inline]

void money::localeSet ( void   )  [inline, private]

Definition at line 233 of file ocTypes.h.

money& money::operator= ( const money in  )  [inline]

Definition at line 248 of file ocTypes.h.

References m_d.

money& money::operator= ( const double &  in  )  [inline]

Definition at line 252 of file ocTypes.h.

References m_d.

string money::format ( const char *  spec,
size_t  max = 256 
) const [inline]

Definition at line 268 of file ocTypes.h.

References m_d.

long money::whole ( void   )  [inline]

Definition at line 276 of file ocTypes.h.

References m_d.

long money::fractional ( void   )  [inline]

Definition at line 284 of file ocTypes.h.

References m_d.

double& money::amount ( void   )  [inline]

Definition at line 302 of file ocTypes.h.

References m_d.


Member Data Documentation

double money::m_d [private]

Definition at line 232 of file ocTypes.h.

Referenced by amount(), format(), fractional(), operator=(), and whole().


The documentation for this class was generated from the following files:

Generated on Sat Aug 15 12:48:27 2009 for w3systemsDevelopment by  doxygen 1.5.5