#include <aspect.hpp>


Public Member Functions | |
| composite_aspect (readonly_context &context, const config &cfg, const std::string &id) | |
| void | create_facet (typename aspect_type< T >::typesafe_ptr_vector &facets, const config &cfg) |
| virtual void | recalculate () const |
| virtual config | to_config () const |
| virtual bool | add_facet (int pos, const config &cfg) |
| virtual bool | delete_all_facets () |
Protected Attributes | |
| aspect_type< T > ::typesafe_ptr_vector | facets_ |
| aspect_type< T >::typesafe_ptr | default_ |
Definition at line 260 of file aspect.hpp.
| ai::composite_aspect< T >::composite_aspect | ( | readonly_context & | context, | |
| const config & | cfg, | |||
| const std::string & | id | |||
| ) | [inline] |
Definition at line 263 of file aspect.hpp.
References ai::composite_aspect< T >::add_facet(), ai::aspect::cfg_, config::child(), config::child_range(), ai::composite_aspect< T >::default_, ai::composite_aspect< T >::facets_, ai::aspect::get_id(), ai::engine::parse_aspect_from_config(), ai::component::property_handlers(), and ai::register_vector_property().

| virtual bool ai::composite_aspect< T >::add_facet | ( | int | pos, | |
| const config & | cfg | |||
| ) | [inline, virtual] |
Definition at line 329 of file aspect.hpp.
References ai::composite_aspect< T >::facets_, ai::aspect::get_id(), and ai::engine::parse_aspect_from_config().
Referenced by ai::composite_aspect< T >::composite_aspect().


| void ai::composite_aspect< T >::create_facet | ( | typename aspect_type< T >::typesafe_ptr_vector & | facets, | |
| const config & | cfg | |||
| ) | [inline] |
Definition at line 290 of file aspect.hpp.
References ai::aspect::get_id(), and ai::engine::parse_aspect_from_config().

| virtual bool ai::composite_aspect< T >::delete_all_facets | ( | ) | [inline, virtual] |
Reimplemented from ai::aspect.
Definition at line 346 of file aspect.hpp.
References ai::composite_aspect< T >::facets_.
| virtual void ai::composite_aspect< T >::recalculate | ( | ) | const [inline, virtual] |
Implements ai::typesafe_aspect< T >.
Definition at line 301 of file aspect.hpp.
References ai::composite_aspect< T >::default_, ai::composite_aspect< T >::facets_, ai::aspect::valid_, and ai::typesafe_aspect< T >::value_.
| virtual config ai::composite_aspect< T >::to_config | ( | ) | const [inline, virtual] |
Reimplemented from ai::aspect.
Definition at line 316 of file aspect.hpp.
References config::add_child(), ai::composite_aspect< T >::default_, and ai::composite_aspect< T >::facets_.

aspect_type<T>::typesafe_ptr ai::composite_aspect< T >::default_ [protected] |
Definition at line 355 of file aspect.hpp.
Referenced by ai::composite_aspect< T >::composite_aspect(), ai::composite_aspect< T >::recalculate(), and ai::composite_aspect< T >::to_config().
aspect_type<T>::typesafe_ptr_vector ai::composite_aspect< T >::facets_ [protected] |
Definition at line 354 of file aspect.hpp.
Referenced by ai::composite_aspect< T >::add_facet(), ai::composite_aspect< T >::composite_aspect(), ai::composite_aspect< T >::delete_all_facets(), ai::composite_aspect< T >::recalculate(), and ai::composite_aspect< T >::to_config().
| Generated by doxygen 1.7.1 on Thu May 24 2012 01:18:22 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |