outputstack.hxx (1c78a5d6) | outputstack.hxx (a0d53b35) |
---|---|
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 --- 43 unchanged lines hidden (view full) --- 52 EStack< csi::xml::Element * > 53 aCurDestination; // The front element is the currently used. 54 // The later ones are the parents. 55}; 56 57inline csi::xml::Element & 58OutputStack::Out() const 59{ | 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 --- 43 unchanged lines hidden (view full) --- 52 EStack< csi::xml::Element * > 53 aCurDestination; // The front element is the currently used. 54 // The later ones are the parents. 55}; 56 57inline csi::xml::Element & 58OutputStack::Out() const 59{ |
60 csv_assert( aCurDestination.size() > 0 ); | 60 csv_assert( ! aCurDestination.empty() ); |
61 return *aCurDestination.top(); 62} 63 64// IMPLEMENTATION 65 66 67#endif 68 69 | 61 return *aCurDestination.top(); 62} 63 64// IMPLEMENTATION 65 66 67#endif 68 69 |