xml_parser_flags.hpp
Go to the documentation of this file.
1 // ----------------------------------------------------------------------------
2 // Copyright (C) 2002-2006 Marcin Kalicinski
3 //
4 // Distributed under the Boost Software License, Version 1.0.
5 // (See accompanying file LICENSE_1_0.txt or copy at
6 // http://www.boost.org/LICENSE_1_0.txt)
7 //
8 // For more information, see www.boost.org
9 // ----------------------------------------------------------------------------
10 #ifndef BOOST_PROPERTY_TREE_DETAIL_XML_PARSER_FLAGS_HPP_INCLUDED
11 #define BOOST_PROPERTY_TREE_DETAIL_XML_PARSER_FLAGS_HPP_INCLUDED
12 
13 namespace boost { namespace property_tree { namespace xml_parser
14 {
15 
18  static const int no_concat_text = 0x1;
20  static const int no_comments = 0x2;
22  static const int trim_whitespace = 0x4;
23 
24  inline bool validate_flags(int flags)
25  {
26  return (flags & ~(no_concat_text | no_comments | trim_whitespace)) == 0;
27  }
28 
29 } } }
30 
31 #endif
boost
BOOST_MOVE_USE_STANDARD_LIBRARY_MOVE.
boost::property_tree::xml_parser::no_concat_text
static const int no_concat_text
Definition: xml_parser_flags.hpp:18
boost::property_tree::xml_parser::validate_flags
bool validate_flags(int flags)
Definition: xml_parser_flags.hpp:24
boost::property_tree::xml_parser::no_comments
static const int no_comments
Comments should be omitted.
Definition: xml_parser_flags.hpp:20
boost::property_tree::xml_parser::trim_whitespace
static const int trim_whitespace
Whitespace should be collapsed and trimmed.
Definition: xml_parser_flags.hpp:22


sick_visionary_ros
Author(s): SICK AG TechSupport 3D Snapshot
autogenerated on Thu Feb 8 2024 03:56:19