The Battle for Wesnoth  1.13.10+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, ptr_vector &values, ptr &def, std::function< void(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, ptr_vector &values, std::function< void(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 >
::ptr 
ptr
 
typedef
vector_property_handler< T >
::ptr_vector 
ptr_vector
 

Private Attributes

ptrdefault_
 

Additional Inherited Members

- Public Types inherited from ai::vector_property_handler< T >
typedef std::shared_ptr< T > ptr
 
typedef std::vector
< std::shared_ptr< T > > 
ptr_vector
 
- Protected Member Functions inherited from ai::vector_property_handler< T >
void call_factory (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>::ptr ai::facets_property_handler< T >::ptr
private

Definition at line 174 of file property_handler.hpp.

template<typename T >
typedef vector_property_handler<T>::ptr_vector ai::facets_property_handler< 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,
ptr_vector values,
ptr def,
std::function< void(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 >
ptr& ai::facets_property_handler< T >::default_
private

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