The Battle for Wesnoth  1.19.5+dev
Classes | Enumerations | Functions
simple_wml Namespace Reference

Classes

struct  error
 
class  string_span
 
class  node
 
class  document
 

Enumerations

enum  INIT_BUFFER_CONTROL { INIT_TAKE_OWNERSHIP }
 
enum  INIT_STATE { INIT_COMPRESSED , INIT_STATIC }
 

Functions

std::ostream & operator<< (std::ostream &o, const string_span &s)
 
std::string node_to_string (const node &n)
 
void swap (document &lhs, document &rhs)
 Implement non-member swap function for std::swap (calls document::swap). More...
 

Enumeration Type Documentation

◆ INIT_BUFFER_CONTROL

Enumerator
INIT_TAKE_OWNERSHIP 

Definition at line 230 of file simple_wml.hpp.

◆ INIT_STATE

Enumerator
INIT_COMPRESSED 
INIT_STATIC 

Definition at line 232 of file simple_wml.hpp.

Function Documentation

◆ node_to_string()

std::string simple_wml::node_to_string ( const node n)

◆ operator<<()

std::ostream & simple_wml::operator<< ( std::ostream &  o,
const string_span s 
)

Definition at line 202 of file simple_wml.cpp.

References s.

◆ swap()

void simple_wml::swap ( document lhs,
document rhs 
)

Implement non-member swap function for std::swap (calls document::swap).

Definition at line 1243 of file simple_wml.cpp.

References simple_wml::document::swap().

Referenced by simple_wml::document::swap().