summaryrefslogtreecommitdiff
path: root/autodoc/source/ary_i/kernel/d_token.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'autodoc/source/ary_i/kernel/d_token.cxx')
-rw-r--r--autodoc/source/ary_i/kernel/d_token.cxx27
1 files changed, 25 insertions, 2 deletions
diff --git a/autodoc/source/ary_i/kernel/d_token.cxx b/autodoc/source/ary_i/kernel/d_token.cxx
index 4f27198c0d42..70cdd5f2e258 100644
--- a/autodoc/source/ary_i/kernel/d_token.cxx
+++ b/autodoc/source/ary_i/kernel/d_token.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: d_token.cxx,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: rt $ $Date: 2005-09-07 17:23:16 $
+ * last change: $Author: obo $ $Date: 2006-09-15 11:11:31 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -49,6 +49,11 @@ namespace csi
namespace dsapi
{
+bool
+DT_Dsapi::IsWhiteOnly() const
+{
+ return false;
+}
void
@@ -57,6 +62,18 @@ 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;
+}
+
void
DT_MupType::DisplayAt( DocumentationDisplay & o_rDisplay ) const
{
@@ -87,6 +104,12 @@ DT_EOL::DisplayAt( DocumentationDisplay & o_rDisplay ) const
o_rDisplay.Display_EOL();
}
+bool
+DT_EOL::IsWhiteOnly() const
+{
+ return true;
+}
+
void
DT_StdAtTag::DisplayAt( DocumentationDisplay & o_rDisplay ) const
{