Bug 705910  2013-10-21
Check the indices goes correctly
 All Classes Namespaces Files Functions Variables Enumerations Enumerator
Public Member Functions | Protected Attributes | List of all members
移動費用 Class Reference

This class represents the transfer cost. More...

#include <movecost.h>

Public Member Functions

 移動費用 (const wchar_t *i場所)
 constructor More...
 
virtual ~移動費用 ()
 destructor More...
 
int 徒歩 ()
 by walking More...
 
int 自転車 ()
 by bicycle More...
 
int 自動車 ()
 by car More...
 
int 鉄道 ()
 by train More...
 
int 船舶 ()
 by ship More...
 
int 飛行機 ()
 by airplane More...
 
int 瞬間移動 ()
 by teleportation More...
 

Protected Attributes

wchar_t * 場所
 The place to trasfer, given by constructor.
 

Detailed Description

This class represents the transfer cost.

The transfer cost is given by each methods.

Constructor & Destructor Documentation

移動費用::移動費用 ( const wchar_t *  i場所)
inline

constructor

Parameters
i場所the place you want to transfer
virtual 移動費用::~移動費用 ( )
inlinevirtual

destructor

Only to make this class inheritable. Do nothing.

Member Function Documentation

int 移動費用::徒歩 ( )
inline

by walking

Returns tho cost by walking.

Returns
the cost
int 移動費用::瞬間移動 ( )
inline

by teleportation

Returns tho cost by teleportation.

Returns
the cost
int 移動費用::自動車 ( )
inline

by car

Returns tho cost by car.

Returns
the cost
int 移動費用::自転車 ( )
inline

by bicycle

Returns tho cost by bicycle.

Returns
the cost
int 移動費用::船舶 ( )
inline

by ship

Returns tho cost by ship.

Returns
the cost
int 移動費用::鉄道 ( )
inline

by train

Returns tho cost by train.

Returns
the cost
int 移動費用::飛行機 ( )
inline

by airplane

Returns tho cost by airplane.

Returns
the cost

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