1 /**************************************************************
2  *
3  * Licensed to the Apache Software Foundation (ASF) under one
4  * or more contributor license agreements.  See the NOTICE file
5  * distributed with this work for additional information
6  * regarding copyright ownership.  The ASF licenses this file
7  * to you under the Apache License, Version 2.0 (the
8  * "License"); you may not use this file except in compliance
9  * with the License.  You may obtain a copy of the License at
10  *
11  *   http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing,
14  * software distributed under the License is distributed on an
15  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16  * KIND, either express or implied.  See the License for the
17  * specific language governing permissions and limitations
18  * under the License.
19  *
20  *************************************************************/
21 
22 
23 
24 #ifndef ADC_DISPLAY_HFI_STRUCT_HXX
25 #define ADC_DISPLAY_HFI_STRUCT_HXX
26 
27 
28 
29 // USED SERVICES
30     // BASE CLASSES
31 #include "hi_factory.hxx"
32     // COMPONENTS
33     // PARAMETERS
34 
35 /** Is used to display ->ary::idl::Exception s as well as ->ary::idl::Struct s.
36 */
37 class HF_IdlStruct : public HtmlFactory_Idl
38 {
39   public:
40 
41                         HF_IdlStruct(
42                             Environment &       io_rEnv,
43                             Xml::Element &      o_rOut,
44                             bool                i_bIsException );
45     virtual             ~HF_IdlStruct();
46 
47     void                Produce_byData(
48                             const client &      ce ) const;
49   private:
50     // Interface HtmlFactory_Idl:
51     virtual type_id     inq_BaseOf(
52                             const client &      i_ce ) const;
53     // Locals
54     HF_NaviSubRow &     make_Navibar(
55                             const client &      ce ) const;
56     virtual void        produce_MemberDetails(
57                             HF_SubTitleTable &  o_table,
58                             const client &      ce ) const;
59     // DATA
60     bool                bIsException;
61 };
62 
63 
64 
65 // IMPLEMENTATION
66 
67 
68 extern const String
69     C_sCePrefix_Struct;
70 extern const String
71     C_sCePrefix_Exception;
72 
73 
74 #endif
75