Changeset 40:6c6d24f78cb0 in rrlib_xml


Ignore:
Timestamp:
22.01.2012 16:08:35 (8 years ago)
Author:
Tobias Föhst <foehst@…>
Branch:
default
Phase:
public
Message:

Reformatted with astyle 2.02.1

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • tXML2WrapperException.h

    r34 r40  
    9393   */ 
    9494  tXML2WrapperException(const std::string &message) 
    95       : std::runtime_error(message) 
     95    : std::runtime_error(message) 
    9696  {} 
    9797 
  • tXMLDocument.cpp

    r39 r40  
    7474//---------------------------------------------------------------------- 
    7575tXMLDocument::tXMLDocument() 
    76     : document(xmlNewDoc(reinterpret_cast<const xmlChar *>("1.0"))), 
     76  : document(xmlNewDoc(reinterpret_cast<const xmlChar *>("1.0"))), 
    7777    root_node(0) 
    7878{ 
     
    8282 
    8383tXMLDocument::tXMLDocument(const std::string &file_name, bool validate) 
    84     : document(xmlReadFile(file_name.c_str(), 0, validate ? XML_PARSE_DTDVALID : 0)), 
     84  : document(xmlReadFile(file_name.c_str(), 0, validate ? XML_PARSE_DTDVALID : 0)), 
    8585    root_node(reinterpret_cast<tXMLNode *>(xmlDocGetRootElement(this->document))) 
    8686{ 
     
    9494 
    9595tXMLDocument::tXMLDocument(const void *buffer, size_t size, bool validate) 
    96     : document(xmlReadMemory(reinterpret_cast<const char *>(buffer), size, "noname.xml", 0, validate ? XML_PARSE_DTDVALID : 0)), 
     96  : document(xmlReadMemory(reinterpret_cast<const char *>(buffer), size, "noname.xml", 0, validate ? XML_PARSE_DTDVALID : 0)), 
    9797    root_node(reinterpret_cast<tXMLNode *>(xmlDocGetRootElement(this->document))) 
    9898{ 
     
    105105 
    106106tXMLDocument::tXMLDocument(tXMLDocument && other) 
    107     : document(0), 
     107  : document(0), 
    108108    root_node(0) 
    109109{ 
Note: See TracChangeset for help on using the changeset viewer.