template class RecordFile : public BufferFile { public: int Read(RecType& record, int recaddr = -1); int Write(const RecType& record, int recaddr = -1 ); RecordFile(IOBuffer& buffer) : BufferFile(buffer) { } };  Class 'RecordFile' uses C++ template features to solve the problem definition of the template class RecordFile Encapsulation Record I/O Operation in a Single Class(2)
{}