#include <property_handler.hpp>


Public Types | |
| typedef boost::shared_ptr< T > | t_ptr |
| typedef std::map< std::string, t_ptr > | aspect_map |
Public Member Functions | |
| aspect_property_handler (const std::string &property, aspect_map &aspects) | |
| component * | handle_get (const path_element &child) |
| bool | handle_change (const path_element &, const config &) |
| bool | handle_add (const path_element &, const config &) |
| bool | handle_delete (const path_element &child) |
| std::vector< component * > | handle_get_children () |
Private Attributes | |
| const std::string & | property_ |
| aspect_map & | aspects_ |
Definition at line 168 of file property_handler.hpp.
| typedef std::map< std::string, t_ptr > ai::aspect_property_handler< T >::aspect_map |
Definition at line 171 of file property_handler.hpp.
| typedef boost::shared_ptr<T> ai::aspect_property_handler< T >::t_ptr |
Definition at line 170 of file property_handler.hpp.
| ai::aspect_property_handler< T >::aspect_property_handler | ( | const std::string & | property, | |
| aspect_map & | aspects | |||
| ) | [inline] |
Definition at line 173 of file property_handler.hpp.
| bool ai::aspect_property_handler< T >::handle_add | ( | const path_element & | , | |
| const config & | ||||
| ) | [inline, virtual] |
Implements ai::base_property_handler.
Definition at line 193 of file property_handler.hpp.
| bool ai::aspect_property_handler< T >::handle_change | ( | const path_element & | , | |
| const config & | ||||
| ) | [inline, virtual] |
Implements ai::base_property_handler.
Definition at line 188 of file property_handler.hpp.
| bool ai::aspect_property_handler< T >::handle_delete | ( | const path_element & | child | ) | [inline, virtual] |
Implements ai::base_property_handler.
Definition at line 198 of file property_handler.hpp.
References ai::aspect_property_handler< T >::aspects_, and ai::path_element::id.
| component* ai::aspect_property_handler< T >::handle_get | ( | const path_element & | child | ) | [inline, virtual] |
Implements ai::base_property_handler.
Definition at line 179 of file property_handler.hpp.
References ai::aspect_property_handler< T >::aspects_, and ai::path_element::id.
| std::vector<component*> ai::aspect_property_handler< T >::handle_get_children | ( | ) | [inline, virtual] |
Implements ai::base_property_handler.
Definition at line 212 of file property_handler.hpp.
References ai::aspect_property_handler< T >::aspects_.
aspect_map& ai::aspect_property_handler< T >::aspects_ [private] |
Definition at line 224 of file property_handler.hpp.
Referenced by ai::aspect_property_handler< T >::handle_delete(), ai::aspect_property_handler< T >::handle_get(), and ai::aspect_property_handler< T >::handle_get_children().
const std::string& ai::aspect_property_handler< T >::property_ [private] |
Definition at line 223 of file property_handler.hpp.
| Generated by doxygen 1.7.1 on Thu May 24 2012 01:18:30 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |