Public Member Functions | Protected Attributes

ai::known_aspect Class Reference

#include <aspect.hpp>

Inheritance diagram for ai::known_aspect:
Inheritance graph
[legend]
Collaboration diagram for ai::known_aspect:
Collaboration graph
[legend]

List of all members.

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::string & get_name () const

Protected Attributes

const std::string name_

Detailed Description

Definition at line 196 of file aspect.hpp.


Constructor & Destructor Documentation

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

Definition at line 138 of file aspect.cpp.

ai::known_aspect::~known_aspect (  )  [virtual]

Definition at line 148 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 143 of file aspect.cpp.

References name_.

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

Here is the caller graph for this function:

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 213 of file aspect.hpp.

Referenced by get_name().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated by doxygen 1.7.1 on Thu May 24 2012 01:18:21 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs