1#include <IntegerFormatParameters.h> 2 3// constructor 4BIntegerFormatParameters::BIntegerFormatParameters( 5 const BIntegerFormatParameters *parent) 6 : BNumberFormatParameters(parent), 7 fParent(parent) 8{ 9} 10 11// copy constructor 12BIntegerFormatParameters::BIntegerFormatParameters( 13 const BIntegerFormatParameters &other) 14 : BNumberFormatParameters(other), 15 fParent(other.fParent) 16{ 17} 18 19// destructor 20BIntegerFormatParameters::~BIntegerFormatParameters() 21{ 22} 23 24// SetParentIntegerParameters 25void 26BIntegerFormatParameters::SetParentIntegerParameters( 27 const BIntegerFormatParameters *parent) 28{ 29 fParent = parent; 30 SetParentNumberParameters(parent); 31} 32 33// ParentIntegerParameters 34const BIntegerFormatParameters * 35BIntegerFormatParameters::ParentIntegerParameters() const 36{ 37 return fParent; 38} 39 40// = 41BIntegerFormatParameters & 42BIntegerFormatParameters::operator=(const BIntegerFormatParameters &other) 43{ 44 BNumberFormatParameters::operator=(other); 45 fParent = other.fParent; 46 return *this; 47} 48 49