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