Pol  Revision:cb584c9
Pol::Core::NpcTemplateElem Class Reference

#include <npctmpl.h>

Public Member Functions

 NpcTemplateElem ()
 NpcTemplateElem (const Clib::ConfigFile &cf, const Clib::ConfigElem &elem)
void copyto (Clib::ConfigElem &elem) const
size_t estimateSize () const

Private Attributes

Clib::ConfigElem _elem
NpcTemplateConfigSource _source

Detailed Description

Definition at line 77 of file npctmpl.h.

Constructor & Destructor Documentation

Pol::Core::NpcTemplateElem::NpcTemplateElem ( )

Definition at line 67 of file npctemplates.cpp.

Referenced by estimateSize(), and Pol::Core::read_npc_templates().

Pol::Core::NpcTemplateElem::NpcTemplateElem ( const Clib::ConfigFile cf,
const Clib::ConfigElem elem 

Definition at line 68 of file npctemplates.cpp.

Member Function Documentation

void Pol::Core::NpcTemplateElem::copyto ( Clib::ConfigElem elem) const

Definition at line 73 of file npctemplates.cpp.

References _elem, _source, and Pol::Clib::ConfigElem::set_source().

Referenced by Pol::Core::FindNpcTemplate().

size_t Pol::Core::NpcTemplateElem::estimateSize ( ) const

Member Data Documentation

Clib::ConfigElem Pol::Core::NpcTemplateElem::_elem

Definition at line 87 of file npctmpl.h.

Referenced by copyto(), and estimateSize().

NpcTemplateConfigSource Pol::Core::NpcTemplateElem::_source

Definition at line 86 of file npctmpl.h.

Referenced by copyto(), and estimateSize().

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