BPicture: Fix archive constructor.
[haiku.git] / src / kits / locale / IntegerFormat.cpp
blob3a702c5df01d0eacc7a0619373e93cdede0cbff4
1 #include <IntegerFormat.h>
2 #include <IntegerFormatImpl.h>
4 // copy constructor
5 BIntegerFormat::BIntegerFormat(const BIntegerFormat &other)
6 : BNumberFormat(other),
7 BIntegerFormatParameters(other)
11 // destructor
12 BIntegerFormat::~BIntegerFormat()
16 // Format
17 status_t
18 BIntegerFormat::Format(int64 number, BString *buffer) const
20 return B_ERROR;
23 // Format
24 status_t
25 BIntegerFormat::Format(int64 number, BString *buffer,
26 format_field_position *positions, int32 positionCount,
27 int32 *fieldCount, bool allFieldPositions) const
29 return B_ERROR;
32 // =
33 BIntegerFormat &
34 BIntegerFormat::operator=(const BIntegerFormat &other)
36 BNumberFormat::operator=(other);
37 BIntegerFormatParameters::operator=(other);
38 return *this;
41 // constructor
42 BIntegerFormat::BIntegerFormat(BIntegerFormatImpl *impl)
43 : BNumberFormat(),
44 BIntegerFormatParameters(impl ? impl->DefaultIntegerFormatParameters()
45 : NULL)