1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: icprivow.hxx,v $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
31 #ifndef ARY_CPP_ICPRIVOW_HXX
32 #define ARY_CPP_ICPRIVOW_HXX
38 #include <ary/cpp/inpcontx.hxx>
47 typedef ary::cpp::Ce_id Cid
;
50 class Owner_Namespace
: public ary::cpp::InputContext::Owner
54 void SetAnotherNamespace(
57 virtual bool HasClass(
58 const String
& i_sLocalName
);
60 virtual void do_Add_Class(
61 const String
& i_sLocalName
,
63 virtual void do_Add_Enum(
64 const String
& i_sLocalName
,
66 virtual void do_Add_Typedef(
67 const String
& i_sLocalName
,
69 virtual void do_Add_Operation(
70 const String
& i_sLocalName
,
73 virtual void do_Add_Variable(
74 const String
& i_sLocalName
,
78 virtual Cid
inq_CeId() const;
85 class Owner_Class
: public ary::cpp::InputContext::Owner
90 ary::cpp::Class
& io_rScope
);
92 /** @attention Only a dummy for use at ary::cpp::Gate!
95 virtual bool HasClass(
96 const String
& i_sLocalName
);
98 virtual void do_Add_Class(
99 const String
& i_sLocalName
,
101 virtual void do_Add_Enum(
102 const String
& i_sLocalName
,
104 virtual void do_Add_Typedef(
105 const String
& i_sLocalName
,
107 virtual void do_Add_Operation(
108 const String
& i_sLocalName
,
110 bool i_bIsStaticMember
);
111 virtual void do_Add_Variable(
112 const String
& i_sLocalName
,
116 virtual Cid
inq_CeId() const;
119 ary::cpp::Class
* pScope
;