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

#include <config_assign.hpp>

Public Member Functions

template<typename AT >
 config_of (const std::string &attrname, AT value)
 
 config_of (const std::string &tagname, const config &child)
 
template<typename AT >
config_ofoperator() (const std::string &attrname, AT value)
 
config_ofoperator() (const std::string &tagname, const config &child)
 
config_ofoperator() (const std::string &tagname, const config_of &child)
 
 operator config () const
 

Private Attributes

config data_
 

Detailed Description

Definition at line 20 of file config_assign.hpp.

Constructor & Destructor Documentation

template<typename AT >
config_of::config_of ( const std::string attrname,
AT  value 
)
inline

Definition at line 24 of file config_assign.hpp.

References operator()().

config_of::config_of ( const std::string tagname,
const config child 
)
inline

Definition at line 29 of file config_assign.hpp.

References operator()().

Member Function Documentation

config_of::operator config ( ) const
inline

Definition at line 53 of file config_assign.hpp.

References data_.

template<typename AT >
config_of& config_of::operator() ( const std::string attrname,
AT  value 
)
inline

Definition at line 35 of file config_assign.hpp.

References data_.

Referenced by config_of().

config_of& config_of::operator() ( const std::string tagname,
const config child 
)
inline

Definition at line 41 of file config_assign.hpp.

References config::add_child(), and data_.

config_of& config_of::operator() ( const std::string tagname,
const config_of child 
)
inline

Definition at line 47 of file config_assign.hpp.

References config::add_child(), and data_.

Member Data Documentation

config config_of::data_
private

Definition at line 58 of file config_assign.hpp.

Referenced by operator config(), and operator()().


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