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

#include <configr_assign.hpp>

Public Member Functions

template<typename AT >
 configr_of (const std::string &attrname, AT value)
 
 configr_of (const config &cfg)
 
configr_ofoperator() (const config &cfg)
 
configr_ofoperator() (const std::string &tagname, const configr_of &child)
 

Public Attributes

std::vector< std::pair< const
std::string *, const
configr_of * > > 
subtags_
 
const configdata_
 

Detailed Description

Definition at line 21 of file configr_assign.hpp.

Constructor & Destructor Documentation

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

Definition at line 24 of file configr_assign.hpp.

References operator()().

configr_of::configr_of ( const config cfg)
inline

Definition at line 29 of file configr_assign.hpp.

References operator()().

Member Function Documentation

configr_of& configr_of::operator() ( const config cfg)
inline

Definition at line 34 of file configr_assign.hpp.

References data_.

Referenced by configr_of().

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

Definition at line 40 of file configr_assign.hpp.

References subtags_.

Member Data Documentation

const config* configr_of::data_

Definition at line 46 of file configr_assign.hpp.

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

std::vector<std::pair<const std::string*, const configr_of*> > configr_of::subtags_

Definition at line 45 of file configr_assign.hpp.

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


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