Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

ModList Class Reference

list of modifiers. More...

#include <modlist.h>

Inheritance diagram for ModList:

ParsedMod PolygonModifier W_ModList List of all members.

Public Methods

 ModList ()
virtual ~ModList ()
virtual bool apply (Polygon*)
virtual bool bad (void)
void add (ParsedMod *mod, bool own=true)
virtual bool parse (Parser &)
virtual bool parseUnknown (Parser &) hook
virtual void dump (const char *pref)

Private Methods

bool parseItem (Parser &)
void dummyread (Parser &)

Private Attributes

ModListEntryfirst
ModListEntrylast


Detailed Description

list of modifiers.


Constructor & Destructor Documentation

ModList::ModList ( void )
 

ModList::~ModList ( void ) [virtual]
 


Member Function Documentation

void ModList::add ( ParsedMod * mod,
bool own = true )
 

adds a modifier to the modifer list

bool ModList::apply ( Polygon * p ) [virtual]
 

applies it's modifiers in order

Reimplemented from PolygonModifier.

bool ModList::bad ( void ) [virtual]
 

abstract prototype

Returns:
true, if parsing or constructing failed.

Reimplemented from ParsedMod.

void ModList::dummyread ( Parser & p ) [private]
 

void ModList::dump ( const char * pref ) [virtual]
 

abstract prototype

debugging function: dump info to stdout with preceeding pref

Reimplemented from ParsedMod.

Reimplemented in W_ModList.

bool ModList::parse ( Parser & p ) [virtual]
 

abstract prototype

create the modifier's data

Returns:
true, if parsing succeeded. The prototype always returns true.

Reimplemented from ParsedMod.

bool ModList::parseItem ( Parser & p ) [private]
 

bool ModList::parseUnknown ( Parser & p ) [virtual]
 

called from parse() for unknown options.

looks it up in the "define" section.

can be reimplemented by subclasses to implement additional keywords

Reimplemented in W_ModList.


Member Data Documentation

ModListEntry * ModList::first [private]
 

ModListEntry * ModList::last [private]
 


The documentation for this class was generated from the following files:
Generated at Fri Jul 26 09:33:59 2002 for rvtmod/rvglue by doxygen1.2.0 written by Dimitri van Heesch, © 1997-2000