Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   Related Pages  

ogs::magic::Subschool Class Reference

A subschool of arcance magic.

#include <Subschool.h>

Inheritance diagram for ogs::magic::Subschool:

Inheritance graph
[legend]
Collaboration diagram for ogs::magic::Subschool:

Collaboration graph
[legend]
List of all members.

Public Types

enum  Type {
  CALLING = 1, CREATION = 2, HEALING = 3, SUMMONING = 4,
  CHARM = 5, COMPULSION = 6, FIGMENT = 7, GLAMER = 8,
  PATTERN = 9, PHANTASM = 10, SHADOW = 11
}
 The type of subschool. More...


Public Member Functions

 Subschool (Type type)
 Create a new subschool.

Type getType () const
 Determine type of this subschool.

std::string getName () const
 Determine name of this school.


Member Enumeration Documentation

enum ogs::magic::Subschool::Type
 

Enumeration values:
CALLING  The Calling subschool of the Conjuration school.
CREATION  The Creation subschool of the Conjuration school.
HEALING  The Healing subschool of the Conjuration school.
SUMMONING  The Summoning subschool of the Conjuration school.
CHARM  The Charm subschool of the Enchantment school.
COMPULSION  The Compulsion subschool of the Enchantment school.
FIGMENT  The Figment subschool of the Illusion school.
GLAMER  The Glamer subschool of the Illusion school.
PATTERN  The Pattern subschool of the Illusion school.
PHANTASM  The Phantasm subschool of the Illusion school.
SHADOW  The Shadow subschool of the Illusion school.

Reimplemented from ogs::magic::School.


Constructor & Destructor Documentation

Subschool::Subschool Type  type  )  [inline]
 

Parameters:
type Type of subschool (CALLING, CHARM, FIGMENT, ...)
Exceptions:
invalid_argument If type is invalid.


Member Function Documentation

std::string ogs::magic::Subschool::getName  )  const
 

Returns:
"Universal", "Abjuration", ...

Reimplemented from ogs::magic::School.

Subschool::Type ogs::magic::Subschool::getType  )  const [inline]
 

Returns:
Type of subschool ((CALLING, CHARM, FIGMENT, ...).

Reimplemented from ogs::magic::School.


The documentation for this class was generated from the following files:
Generated on Sun Apr 20 03:40:10 2003 for Open Gaming System (OGS) by doxygen1.3