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