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 Types | Private Attributes | List of all members
ai::facets_property_handler< T > Class Template Reference

#include <property_handler.hpp>

Inheritance diagram for ai::facets_property_handler< T >:
Inheritance graph

Public Member Functions

 facets_property_handler (const std::string &property, t_ptr_vector &values, t_ptr &def, std::function< void(t_ptr_vector &, const config &)> &construction_factory)
 
componenthandle_get (const path_element &child)
 
bool handle_change (const path_element &child, config cfg)
 
std::vector< component * > handle_get_children ()
 
- Public Member Functions inherited from ai::vector_property_handler< T >
 vector_property_handler (const std::string &property, t_ptr_vector &values, std::function< void(t_ptr_vector &, const config &)> &construction_factory)
 
bool handle_add (const path_element &child, const config &cfg)
 
bool handle_delete (const path_element &child)
 
- Public Member Functions inherited from ai::base_property_handler
virtual ~base_property_handler ()
 

Private Types

typedef
vector_property_handler< T >
::t_ptr 
t_ptr
 
typedef
vector_property_handler< T >
::t_ptr_vector 
t_ptr_vector
 

Private Attributes

t_ptrdefault_
 

Additional Inherited Members

- Public Types inherited from ai::vector_property_handler< T >
typedef boost::shared_ptr< T > t_ptr
 
typedef std::vector
< boost::shared_ptr< T > > 
t_ptr_vector
 
- Protected Member Functions inherited from ai::vector_property_handler< T >
void call_factory (t_ptr_vector &vec, const config &cfg)
 

Detailed Description

template<typename T>
class ai::facets_property_handler< T >

Definition at line 173 of file property_handler.hpp.

Member Typedef Documentation

template<typename T >
typedef vector_property_handler<T>::t_ptr ai::facets_property_handler< T >::t_ptr
private

Definition at line 174 of file property_handler.hpp.

template<typename T >
typedef vector_property_handler<T>::t_ptr_vector ai::facets_property_handler< T >::t_ptr_vector
private

Definition at line 175 of file property_handler.hpp.

Constructor & Destructor Documentation

template<typename T >
ai::facets_property_handler< T >::facets_property_handler ( const std::string property,
t_ptr_vector values,
t_ptr def,
std::function< void(t_ptr_vector &, const config &)> &  construction_factory 
)
inline

Definition at line 178 of file property_handler.hpp.

Member Function Documentation

template<typename T >
bool ai::facets_property_handler< T >::handle_change ( const path_element child,
config  cfg 
)
inlinevirtual
template<typename T >
component* ai::facets_property_handler< T >::handle_get ( const path_element child)
inlinevirtual
template<typename T >
std::vector<component*> ai::facets_property_handler< T >::handle_get_children ( )
inlinevirtual

Member Data Documentation

template<typename T >
t_ptr& ai::facets_property_handler< T >::default_
private

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