1*0841af79SAndrew Rist /************************************************************** 2cdf0e10cSrcweir * 3*0841af79SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 4*0841af79SAndrew Rist * or more contributor license agreements. See the NOTICE file 5*0841af79SAndrew Rist * distributed with this work for additional information 6*0841af79SAndrew Rist * regarding copyright ownership. The ASF licenses this file 7*0841af79SAndrew Rist * to you under the Apache License, Version 2.0 (the 8*0841af79SAndrew Rist * "License"); you may not use this file except in compliance 9*0841af79SAndrew Rist * with the License. You may obtain a copy of the License at 10*0841af79SAndrew Rist * 11*0841af79SAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12*0841af79SAndrew Rist * 13*0841af79SAndrew Rist * Unless required by applicable law or agreed to in writing, 14*0841af79SAndrew Rist * software distributed under the License is distributed on an 15*0841af79SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*0841af79SAndrew Rist * KIND, either express or implied. See the License for the 17*0841af79SAndrew Rist * specific language governing permissions and limitations 18*0841af79SAndrew Rist * under the License. 19*0841af79SAndrew Rist * 20*0841af79SAndrew Rist *************************************************************/ 21cdf0e10cSrcweir 22cdf0e10cSrcweir #include <precomp.h> 23cdf0e10cSrcweir #include <toolkit/outputstack.hxx> 24cdf0e10cSrcweir 25cdf0e10cSrcweir 26cdf0e10cSrcweir // NOT FULLY DEFINED SERVICES 27cdf0e10cSrcweir 28cdf0e10cSrcweir 29cdf0e10cSrcweir OutputStack()30cdf0e10cSrcweirOutputStack::OutputStack() 31cdf0e10cSrcweir { 32cdf0e10cSrcweir } 33cdf0e10cSrcweir ~OutputStack()34cdf0e10cSrcweirOutputStack::~OutputStack() 35cdf0e10cSrcweir { 36cdf0e10cSrcweir } 37cdf0e10cSrcweir 38cdf0e10cSrcweir void Enter(csi::xml::Element & io_rDestination)39cdf0e10cSrcweirOutputStack::Enter( csi::xml::Element & io_rDestination ) 40cdf0e10cSrcweir { 41cdf0e10cSrcweir aCurDestination.push(&io_rDestination); 42cdf0e10cSrcweir } 43cdf0e10cSrcweir 44cdf0e10cSrcweir void Leave()45cdf0e10cSrcweirOutputStack::Leave() 46cdf0e10cSrcweir { 47cdf0e10cSrcweir csv_assert( NOT aCurDestination.empty() ); 48cdf0e10cSrcweir aCurDestination.pop(); 49cdf0e10cSrcweir } 50cdf0e10cSrcweir 51cdf0e10cSrcweir 52cdf0e10cSrcweir 53