The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Protected Attributes | List of all members
ai::known_aspect Class Referenceabstract

#include <aspect.hpp>

Inheritance diagram for ai::known_aspect:
Inheritance graph

Public Member Functions

 known_aspect (const std::string &name)
 
virtual ~known_aspect ()
 
virtual void set (aspect_ptr a)=0
 
virtual void add_facet (const config &cfg)=0
 
const std::stringget_name () const
 

Protected Attributes

const std::string name_
 

Detailed Description

Definition at line 195 of file aspect.hpp.

Constructor & Destructor Documentation

ai::known_aspect::known_aspect ( const std::string name)

Definition at line 146 of file aspect.cpp.

ai::known_aspect::~known_aspect ( )
virtual

Definition at line 156 of file aspect.cpp.

Member Function Documentation

virtual void ai::known_aspect::add_facet ( const config cfg)
pure virtual
const std::string & ai::known_aspect::get_name ( ) const

Definition at line 151 of file aspect.cpp.

References name_.

Referenced by ai::typesafe_known_aspect< T >::add_facet(), and ai::typesafe_known_aspect< T >::set().

virtual void ai::known_aspect::set ( aspect_ptr  a)
pure virtual

Member Data Documentation

const std::string ai::known_aspect::name_
protected

Definition at line 212 of file aspect.hpp.

Referenced by get_name().


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