1 #include <Format.h> 2 #include <FormatImpl.h> 3 4 // copy constructor 5 BFormat::BFormat(const BFormat &other) 6 : fImpl(other.fImpl) 7 { 8 } 9 10 // destructor 11 BFormat::~BFormat() 12 { 13 } 14 15 // = 16 BFormat & 17 BFormat::operator=(const BFormat &other) 18 { 19 fImpl = other.fImpl; 20 return *this; 21 } 22 23 // constructor 24 BFormat::BFormat(BFormatImpl *impl) 25 : fImpl(impl) 26 { 27 } 28 29