office-gobmx/autodoc/source/ary_i/kernel/d_token.cxx

196 lines
3.5 KiB
C++
Raw Normal View History

2002-11-01 10:15:51 -06:00
/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
2002-11-01 10:15:51 -06:00
*
* $RCSfile: d_token.cxx,v $
2002-11-01 10:15:51 -06:00
*
* $Revision: 1.6 $
2002-11-01 10:15:51 -06:00
*
* last change: $Author: vg $ $Date: 2007-09-18 13:49:36 $
2002-11-01 10:15:51 -06:00
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
2002-11-01 10:15:51 -06:00
*
*
* GNU Lesser General Public License Version 2.1
* =============================================
* Copyright 2005 by Sun Microsystems, Inc.
* 901 San Antonio Road, Palo Alto, CA 94303, USA
2002-11-01 10:15:51 -06:00
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License version 2.1, as published by the Free Software Foundation.
2002-11-01 10:15:51 -06:00
*
* This library 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
* Lesser General Public License for more details.
2002-11-01 10:15:51 -06:00
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston,
* MA 02111-1307 USA
2002-11-01 10:15:51 -06:00
*
************************************************************************/
#include <precomp.h>
#include <ary_i/d_token.hxx>
// NOT FULLY DEFINED SERVICES
#include <ary_i/disdocum.hxx>
namespace csi
{
namespace dsapi
{
bool
DT_Dsapi::IsWhiteOnly() const
{
return false;
}
2002-11-01 10:15:51 -06:00
DT_TextToken::~DT_TextToken()
{
}
2002-11-01 10:15:51 -06:00
void
DT_TextToken::DisplayAt( DocumentationDisplay & o_rDisplay ) const
{
o_rDisplay.Display_TextToken( *this );
}
bool
DT_TextToken::IsWhiteOnly() const
{
for ( const char * it = sText.c_str();
static_cast<UINT8>(*it) > 32;
++it )
{
return false;
}
return true;
}
DT_White::~DT_White()
{
}
void
DT_White::DisplayAt( DocumentationDisplay & o_rDisplay ) const
{
o_rDisplay.Display_White();
}
bool
DT_White::IsWhiteOnly() const
{
return true;
}
DT_MupType::~DT_MupType()
{
}
2002-11-01 10:15:51 -06:00
void
DT_MupType::DisplayAt( DocumentationDisplay & o_rDisplay ) const
{
o_rDisplay.Display_MupType( *this );
}
DT_MupMember::~DT_MupMember()
{
}
2002-11-01 10:15:51 -06:00
void
DT_MupMember::DisplayAt( DocumentationDisplay & o_rDisplay ) const
{
o_rDisplay.Display_MupMember( *this );
}
DT_MupConst::~DT_MupConst()
{
}
2002-11-01 10:15:51 -06:00
void
DT_MupConst::DisplayAt( DocumentationDisplay & o_rDisplay ) const
{
o_rDisplay.Display_MupConst( *this );
}
DT_Style::~DT_Style()
{
}
2002-11-01 10:15:51 -06:00
void
DT_Style::DisplayAt( DocumentationDisplay & o_rDisplay ) const
{
o_rDisplay.Display_Style( *this );
}
DT_EOL::~DT_EOL()
{
}
2002-11-01 10:15:51 -06:00
void
DT_EOL::DisplayAt( DocumentationDisplay & o_rDisplay ) const
{
o_rDisplay.Display_EOL();
}
bool
DT_EOL::IsWhiteOnly() const
{
return true;
}
DT_StdAtTag::~DT_StdAtTag()
{
}
2002-11-01 10:15:51 -06:00
void
DT_StdAtTag::DisplayAt( DocumentationDisplay & o_rDisplay ) const
{
o_rDisplay.Display_StdAtTag( *this );
}
DT_SeeAlsoAtTag::~DT_SeeAlsoAtTag()
{
}
2002-11-01 10:15:51 -06:00
void
DT_SeeAlsoAtTag::DisplayAt( DocumentationDisplay & o_rDisplay ) const
{
o_rDisplay.Display_SeeAlsoAtTag( *this );
}
DT_ParameterAtTag::~DT_ParameterAtTag()
{
}
2002-11-01 10:15:51 -06:00
void
DT_ParameterAtTag::DisplayAt( DocumentationDisplay & o_rDisplay ) const
{
o_rDisplay.Display_ParameterAtTag( *this );
}
DT_SinceAtTag::~DT_SinceAtTag()
{
}
void
DT_SinceAtTag::DisplayAt( DocumentationDisplay & o_rDisplay ) const
{
o_rDisplay.Display_SinceAtTag( *this );
}
2002-11-01 10:15:51 -06:00
2002-11-01 10:15:51 -06:00
} // namespace dsapi
} // namespace csi