INTEGRATION: CWS adc18 (1.5.2); FILE MERGED

2007/10/18 15:23:14 np 1.5.2.1: #i81775#
This commit is contained in:
Jens-Heiner Rechtien 2007-11-02 15:38:42 +00:00
parent ee1b9ca747
commit d993cc7e7d
2 changed files with 19 additions and 32 deletions

View file

@ -4,9 +4,9 @@
*
* $RCSfile: hfi_tag.hxx,v $
*
* $Revision: 1.5 $
* $Revision: 1.6 $
*
* last change: $Author: vg $ $Date: 2007-09-18 13:59:33 $
* last change: $Author: hr $ $Date: 2007-11-02 16:38:03 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@ -36,18 +36,14 @@
#ifndef ADC_DISPLAY_HFI_TAG_HXX
#define ADC_DISPLAY_HFI_TAG_HXX
// USED SERVICES
// BASE CLASSES
// BASE CLASSES
#include "hi_factory.hxx"
#include <ary_i/disdocum.hxx>
// COMPONENTS
// PARAMETERS
#include <ary/idl/i_language.hxx>
// USED SERVICES
#include <ary/idl/i_types4idl.hxx>
#include <ary_i/ci_atag2.hxx>
#include <ary_i/ci_text2.hxx>
#include <ary_i/codeinf2.hxx>
#include <ary/doc/d_oldidldocu.hxx>
#include <toolkit/hf_docentry.hxx>
@ -60,11 +56,13 @@ namespace idl
}
/** This class is an implementation of ary::info::DocuText_Display
/** This class is an implementation of ary::inf::DocuText_Display
and will be used by that interface.
*/
class HF_IdlDocuTextDisplay : public HtmlFactory_Idl,
public ary::info::DocuText_Display
public ary::inf::DocuText_Display
{
public:
HF_IdlDocuTextDisplay(
@ -135,7 +133,7 @@ class HF_IdlShortDocu : public HtmlFactory_Idl
class HF_IdlTag : public HtmlFactory_Idl,
public ary::info::DocuTag_Display
public ary::inf::DocuTag_Display
{
public:
HF_IdlTag(
@ -147,7 +145,7 @@ class HF_IdlTag : public HtmlFactory_Idl,
void Produce_byData(
Xml::Element & o_rTitle,
Xml::Element & o_rText,
const ary::info::AtTag2 &
const ary::inf::AtTag2 &
i_rTag ) const;
void Produce_byData(
Xml::Element & o_rTitle,
@ -172,7 +170,7 @@ class HF_IdlTag : public HtmlFactory_Idl,
Xml::Element & o_rText ) const;
void Leave_TextOut() const;
void PutText_Out(
const ary::info::DocuTex2 &
const ary::inf::DocuTex2 &
i_rText ) const;
// DATA
mutable Xml::Element *
@ -184,9 +182,4 @@ class HF_IdlTag : public HtmlFactory_Idl,
// IMPLEMENTATION
#endif

View file

@ -4,9 +4,9 @@
*
* $RCSfile: hi_ary.cxx,v $
*
* $Revision: 1.5 $
* $Revision: 1.6 $
*
* last change: $Author: vg $ $Date: 2007-09-18 14:00:44 $
* last change: $Author: hr $ $Date: 2007-11-02 16:38:42 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@ -81,6 +81,7 @@ AryAccess::nextName( const char * & io_TextPtr,
: pEnd - io_TextPtr;
o_name.assign(io_TextPtr, nLen);
io_TextPtr += nLen;
return nLen > 0;
}
@ -170,7 +171,8 @@ AryAccess::Search_Ce( StringVector & o_module,
// Find main CodeEntity:
if ( sNextName.length() == 0 )
return true;
ary::idl::Ce_id nCe = pModule->Search_Name(sNextName);
const ary::idl::Ce_id
nCe = pModule->Search_Name(sNextName);
if (NOT nCe.IsValid())
return false;
o_mainEntity = sNextName;
@ -182,14 +184,6 @@ AryAccess::Search_Ce( StringVector & o_module,
if (strchr(o_memberEntity,':') != 0)
return false; // This must not happen in IDL
int nMemberLen = o_memberEntity.length();
if ( nMemberLen > 2
? *(pNext + nMemberLen - 2) == '('
: false )
{
o_memberEntity.assign(o_memberEntity,nMemberLen-2);
}
#if 0
// The following code avoids false links, but is rather expensive
// in runtime time consumation.
@ -286,7 +280,7 @@ void
AryAccess::Get_IndexData( std::vector<ary::idl::Ce_id> & o_data,
ary::idl::alphabetical_index::E_Letter i_letter ) const
{
rGate.Secondaries().Get_AlphabeticalIndex(o_data, i_letter);
rGate.Ces().Get_AlphabeticalIndex(o_data, i_letter);
}