1#include <IntegerFormat.h> 2#include <IntegerFormatImpl.h> 3 4// copy constructor 5BIntegerFormat::BIntegerFormat(const BIntegerFormat &other) 6 : BNumberFormat(other), 7 BIntegerFormatParameters(other) 8{ 9} 10 11// destructor 12BIntegerFormat::~BIntegerFormat() 13{ 14} 15 16// Format 17status_t 18BIntegerFormat::Format(int64 number, BString *buffer) const 19{ 20 return B_ERROR; 21} 22 23// Format 24status_t 25BIntegerFormat::Format(int64 number, BString *buffer, 26 format_field_position *positions, int32 positionCount, 27 int32 *fieldCount, bool allFieldPositions) const 28{ 29 return B_ERROR; 30} 31 32// = 33BIntegerFormat & 34BIntegerFormat::operator=(const BIntegerFormat &other) 35{ 36 BNumberFormat::operator=(other); 37 BIntegerFormatParameters::operator=(other); 38 return *this; 39} 40 41// constructor 42BIntegerFormat::BIntegerFormat(BIntegerFormatImpl *impl) 43 : BNumberFormat(), 44 BIntegerFormatParameters(impl ? impl->DefaultIntegerFormatParameters() 45 : NULL) 46{ 47} 48 49