/***************************************************************************/
/*!

  @file        Data_BaseFile.cpp
  @author      UweH
  @ingroup     File
  @brief       This is the implementation of Data_BaseFile
  @since       2001-05-12
  @sa          see also ....
*/
/*!
\if EMIT_LICENCE
  copyright:    (c) 2001-2004 SAP AG


    ========== licence begin  GPL
    Copyright (c) 2001-2005 SAP AG

    This program is free software; you can redistribute it and/or
    modify it under the terms of the GNU General Public License
    as published by the Free Software Foundation; either version 2
    of the License, or (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program; if not, write to the Free Software
    Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
    ========== licence end



\endif
*/
#include "DataAccess/Data_BaseFile.hpp"
#include "DataAccess/Data_Types.hpp"
#include "KernelCommon/Kernel_VTrace.hpp"

void Data_BaseFile::WriteToTrace (const char * title) const
{
    Kernel_VTrace trace;
    if ( title != 0 )
        trace << title << FlushLine;
	trace << "filetype: "   << m_Type << ", rootpno: " << m_RootId.PageNo()
          << ", addrMode: " << Data_AddressingModeStrings [m_RootId.PageRecoveryMode().GetAddressingMode()]
          << ", recov: "    << Data_RecoverabilityStrings [m_RootId.PageRecoveryMode().GetRecoverability()];
}
