Block TypeToString

Declaration

Public Method

static std::auto_ptr TypeToString(MechaWare::BlockType type)

Required Header: MechaWare.h

Description

TypeToString () takes a MechaWare::BlockType (such as the value returned by Block::GetType() and returns an auto pointer to a string representation of the type.

Remarks

Because this method returns an std::auto_ptr<>, there is no need to free the memory allocated to hold the string.