Pol  Revision:3cfda13
Pol::Core::NpcTemplateConfigSource Class Reference

#include <npctmpl.h>

+ Inheritance diagram for Pol::Core::NpcTemplateConfigSource:

Public Member Functions

 NpcTemplateConfigSource ()
 
 NpcTemplateConfigSource (const Clib::ConfigFile &cf)
 
virtual void display_error (const std::string &msg, bool show_curline=true, const Clib::ConfigElemBase *elem=NULL, bool error=true) const POL_OVERRIDE
 
size_t estimateSize () const
 
- Public Member Functions inherited from Pol::Clib::ConfigSource
virtual ~ConfigSource ()
 

Private Attributes

unsigned _fileline
 
std::string _filename
 

Detailed Description

Definition at line 62 of file npctmpl.h.

Constructor & Destructor Documentation

Pol::Core::NpcTemplateConfigSource::NpcTemplateConfigSource ( )

Definition at line 32 of file npctemplates.cpp.

Pol::Core::NpcTemplateConfigSource::NpcTemplateConfigSource ( const Clib::ConfigFile cf)

Definition at line 30 of file npctemplates.cpp.

Member Function Documentation

void Pol::Core::NpcTemplateConfigSource::display_error ( const std::string &  msg,
bool  show_curline = true,
const Clib::ConfigElemBase elem = NULL,
bool  error = true 
) const
virtual
size_t Pol::Core::NpcTemplateConfigSource::estimateSize ( ) const

Definition at line 33 of file npctemplates.cpp.

References _filename.

Referenced by Pol::Core::NpcTemplateElem::estimateSize().

Member Data Documentation

unsigned Pol::Core::NpcTemplateConfigSource::_fileline
private

Definition at line 74 of file npctmpl.h.

Referenced by display_error().

std::string Pol::Core::NpcTemplateConfigSource::_filename
private

Definition at line 73 of file npctmpl.h.

Referenced by display_error(), and estimateSize().


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