The Battle for Wesnoth  1.15.0-dev
Classes | Enumerations | Functions
simple_wml Namespace Reference

Classes

class  document
 
struct  error
 
class  node
 
class  string_span
 

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 229 of file simple_wml.hpp.

◆ INIT_STATE

Enumerator
INIT_COMPRESSED 
INIT_STATIC 

Definition at line 231 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 
)

◆ swap()

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