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 ARY_CPP_C_SLOTS_HXX 25 #define ARY_CPP_C_SLOTS_HXX 26 27 // BASE CLASSES 28 #include <ary/ceslot.hxx> 29 // USED SERVICES 30 #include <ary/cpp/c_slntry.hxx> 31 32 33 34 35 namespace ary 36 { 37 namespace cpp 38 { 39 40 41 class Slot_SubNamespaces : public ary::Slot 42 { 43 public: 44 Slot_SubNamespaces( 45 const Map_NamespacePtr & 46 i_rData ); 47 virtual ~Slot_SubNamespaces(); 48 49 virtual uintt Size() const; 50 51 private: 52 virtual void StoreEntries( 53 ary::Display & o_rDestination ) const; 54 // DATA 55 const Map_NamespacePtr * 56 pData; 57 }; 58 59 class Slot_BaseClass : public ary::Slot 60 { 61 public: 62 Slot_BaseClass( 63 const List_Bases & i_rData ); 64 virtual ~Slot_BaseClass(); 65 66 virtual uintt Size() const; 67 68 private: 69 virtual void StoreEntries( 70 ary::Display & o_rDestination ) const; 71 // DATA 72 const List_Bases * pData; 73 }; 74 75 76 77 78 } // namespace cpp 79 } // namespace ary 80 #endif 81