xref: /haiku/src/kits/locale/NumberFormat.cpp (revision b671e9bbdbd10268a042b4f4cc4317ccd03d105e)
1 #include <NumberFormat.h>
2 #include <NumberFormatImpl.h>
3 
4 // copy constructor
5 BNumberFormat::BNumberFormat(const BNumberFormat &other)
6 	: BFormat(other)
7 {
8 }
9 
10 // destructor
11 BNumberFormat::~BNumberFormat()
12 {
13 }
14 
15 // =
16 BNumberFormat &
17 BNumberFormat::operator=(const BNumberFormat &other)
18 {
19 	BFormat::operator=(other);
20 	return *this;
21 }
22 
23 // constructor
24 BNumberFormat::BNumberFormat(BNumberFormatImpl *impl)
25 	: BFormat(impl)
26 {
27 }
28 
29 // NumberFormatImpl
30 inline
31 BNumberFormatImpl *
32 BNumberFormat::NumberFormatImpl() const
33 {
34 	return static_cast<BNumberFormatImpl*>(fImpl);
35 }
36 
37