easywri.cxx (0841af79) easywri.cxx (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

--- 39 unchanged lines hidden (view full) ---

48{
49 csv_assert( NOT aCurDestination.empty() );
50 aCurDestination.pop();
51}
52
53csi::xml::Element &
54EasyWriter::Out()
55{
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

--- 39 unchanged lines hidden (view full) ---

48{
49 csv_assert( NOT aCurDestination.empty() );
50 aCurDestination.pop();
51}
52
53csi::xml::Element &
54EasyWriter::Out()
55{
56 csv_assert( aCurDestination.size() > 0);
56 csv_assert( ! aCurDestination.empty() );
57 return *aCurDestination.top();
58}
59
57 return *aCurDestination.top();
58}
59