GRASS Programmer's Manual  6.5.svn(2012)-r51648
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines
instructions.InstructionObject Class Reference

Abtract class representing single instruction. More...

Inheritance diagram for instructions.InstructionObject:

Public Member Functions

def __init__
def __str__
 Returns particular part of text instruction.
def __getitem__
def __setitem__
def GetInstruction
 Get current values.
def SetInstruction
 Set default values.
def Read
 Read instruction and save them.
def PercentToReal
 Converts text coordinates from percent of region to map coordinates.

Data Fields

 id
 defaultInstruction
 instruction
 unitConv

Detailed Description

Abtract class representing single instruction.

Definition at line 469 of file instructions.py.


Constructor & Destructor Documentation


Member Function Documentation

def instructions.InstructionObject.PercentToReal (   self,
  e,
  n 
)

Converts text coordinates from percent of region to map coordinates.

Definition at line 506 of file instructions.py.

Referenced by instructions.Text.Read(), instructions.Image.Read(), instructions.Point.Read(), instructions.Line.Read(), and instructions.Rectangle.Read().


Field Documentation


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