// $Revision: 1.7 $ // StockDatabase.C // Copyright (C) 1994, 1995 Taligent, Inc. All rights reserved. #ifndef TaligentSamples_STOCKDATABASE #include "StockDatabase.h" #endif //============================================================================== // MStockDatabase MStockDatabase::MStockDatabase() { } MStockDatabase::~MStockDatabase() { } MStockDatabase::MStockDatabase(const MStockDatabase& source) { } MStockDatabase& MStockDatabase::operator=(const MStockDatabase& source) { return *this; } //============================================================================== // TStockDatabase TaligentTypeExtensionMacro_Abstract(TStockDatabase); TStockDatabase::TStockDatabase() : MStockDatabase() { } TStockDatabase::~TStockDatabase() { } TStockDatabase::TStockDatabase(const TStockDatabase& source) : MStockDatabase(source) { } TStockDatabase& TStockDatabase::operator=(const TStockDatabase& source) { if (&source != this) { MStockDatabase::operator=(source); } return *this; } TStream& TStockDatabase::operator>>=(TStream& toStream) const { ::WriteVersion(toStream, kOriginalVersion); // MStockDatabase doesn't have streaming operators. return toStream; } TStream& TStockDatabase::operator<<=(TStream& fromStream) { ::ReadVersion(fromStream, kOriginalVersion, kOriginalVersion); // MStockDatabase doesn't have streaming operators. return fromStream; }