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_HTML_HD_PAGE_HXX 25 #define ADC_DISPLAY_HTML_HD_PAGE_HXX 26 27 // BASE CLASSES 28 #include <ary/ary_disp.hxx> 29 #include <cosv/tpl/processor.hxx> 30 // USED SERVICES 31 #include <ary/types.hxx> 32 33 class OuputPage_Environment; 34 35 namespace ary 36 { 37 namespace cpp 38 { 39 class Class; 40 } 41 } 42 43 class PageDisplay; 44 45 46 47 48 class ClassDisplayer : public ary::Display, 49 public csv::ConstProcessor<ary::cpp::Class> 50 { 51 public: 52 ClassDisplayer( // TODO 53 OuputPage_Environment & 54 io_rEnv ); 55 virtual ~ClassDisplayer(); 56 57 private: 58 // Interface csv::ConstProcessor<>: 59 virtual void do_Process( 60 const ary::cpp::Class & 61 i_data ); 62 // Interface ary::Display: 63 virtual const ary::cpp::Gate * 64 inq_Get_ReFinder() const; 65 66 // Locals 67 void DisplayFiles_InClass( 68 const ary::cpp::Class & 69 i_rData, 70 PageDisplay & io_rPageMaker ); 71 72 OuputPage_Environment & Env()73 Env() { return *pEnv; } 74 75 // DATA 76 OuputPage_Environment * 77 pEnv; 78 }; 79 80 81 82 83 #endif 84