stlab.adobe.com Adobe Systems Incorporated

layout_formatter.hpp

Go to the documentation of this file.
00001 /*
00002     Copyright 2008 Adobe Systems Incorporated
00003     Distributed under the MIT License (see accompanying file LICENSE_1_0_0.txt
00004     or a copy at http://stlab.adobe.com/licenses.html)
00005 */
00006 
00007 /******************************************************************************/
00008 
00009 #ifndef ADOBE_LAYOUT_FORMATTER_HPP
00010 #define ADOBE_LAYOUT_FORMATTER_HPP
00011 
00012 /******************************************************************************/
00013 
00014 #include <adobe/config.hpp>
00015 
00016 #include <adobe/dictionary.hpp>
00017 #include <adobe/forest.hpp>
00018 #include <adobe/formatter_tokens.hpp>
00019 #include <adobe/istream.hpp>
00020 #include <adobe/string.hpp>
00021 #include <adobe/utility/pair.hpp>
00022 #include <adobe/vector.hpp>
00023 
00024 /******************************************************************************/
00171 /******************************************************************************/
00172 
00173 namespace adobe {
00174 
00175 /******************************************************************************/
00184 typedef pair<forest<dictionary_t>, vector<dictionary_t> > layout_assembly_t;
00185 
00186 /******************************************************************************/
00197 layout_assembly_t disassemble_layout(std::istream&          stream,
00198                                      const line_position_t& position);
00199 
00200 /******************************************************************************/
00211 void assemble_layout(const string_t&          layout_name,
00212                      const layout_assembly_t& assembly,
00213                      std::ostream&            out);
00214 
00215 /******************************************************************************/
00216 
00217 } // namespace adobe
00218 
00219 /******************************************************************************/
00220 // ADOBE_LAYOUT_FORMATTER_HPP
00221 #endif
00222 
00223 /******************************************************************************/

Copyright © 2006-2007 Adobe Systems Incorporated.

Use of this website signifies your agreement to the Terms of Use and Online Privacy Policy.

Search powered by Google