The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Public Attributes | List of all members
persist_context::name_space Struct Reference

#include <persist_context.hpp>

Public Member Functions

bool valid () const
 
void parse ()
 
name_space next () const
 
name_space prev () const
 
 operator bool () const
 
 name_space ()
 
 name_space (const std::string &ns, bool doParse=false)
 

Public Attributes

std::string namespace_
 
std::string root_
 
std::string node_
 
std::string lineage_
 
std::string descendants_
 
bool valid_
 

Detailed Description

Definition at line 29 of file persist_context.hpp.

Constructor & Destructor Documentation

persist_context::name_space::name_space ( )
inline

Definition at line 72 of file persist_context.hpp.

Referenced by next(), and prev().

persist_context::name_space::name_space ( const std::string ns,
bool  doParse = false 
)
inline

Definition at line 82 of file persist_context.hpp.

References parse().

Member Function Documentation

name_space persist_context::name_space::next ( ) const
inline

Definition at line 65 of file persist_context.hpp.

References name_space().

Referenced by persist_context::get_node().

persist_context::name_space::operator bool ( ) const
inline

Definition at line 71 of file persist_context.hpp.

References valid_.

void persist_context::name_space::parse ( )
inline

Definition at line 40 of file persist_context.hpp.

References body().

Referenced by name_space().

name_space persist_context::name_space::prev ( ) const
inline

Definition at line 68 of file persist_context.hpp.

References name_space().

Referenced by persist_file_context::clear_var().

bool persist_context::name_space::valid ( ) const
inline

Definition at line 37 of file persist_context.hpp.

References valid_.

Member Data Documentation

std::string persist_context::name_space::descendants_

Definition at line 34 of file persist_context.hpp.

Referenced by persist_manager::get_context().

std::string persist_context::name_space::lineage_

Definition at line 33 of file persist_context.hpp.

Referenced by persist_file_context::clear_var().

std::string persist_context::name_space::namespace_

Definition at line 30 of file persist_context.hpp.

Referenced by persist_context::get_node().

std::string persist_context::name_space::node_

Definition at line 32 of file persist_context.hpp.

Referenced by persist_file_context::clear_var().

std::string persist_context::name_space::root_
bool persist_context::name_space::valid_

Definition at line 35 of file persist_context.hpp.

Referenced by operator bool(), and valid().


The documentation for this struct was generated from the following file: