GRASS Programmer's Manual  6.5.svn(2014)-r66266
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
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. More...
 
def __getitem__
 
def __setitem__
 
def GetInstruction
 Get current values. More...
 
def SetInstruction
 Set default values. More...
 
def Read
 Read instruction and save them. More...
 
def PercentToReal
 Converts text coordinates from percent of region to map coordinates. More...
 

Data Fields

 id
 
 defaultInstruction
 
 instruction
 
 unitConv
 

Detailed Description

Abtract class representing single instruction.

Definition at line 469 of file instructions.py.

Constructor & Destructor Documentation

def instructions.InstructionObject.__init__ (   self,
  id 
)

Definition at line 471 of file instructions.py.

Member Function Documentation

def instructions.InstructionObject.__str__ (   self)

Returns particular part of text instruction.

Definition at line 481 of file instructions.py.

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().

def instructions.InstructionObject.Read (   self,
  instruction,
  text,
  kwargs 
)

Read instruction and save them.

Definition at line 502 of file instructions.py.

Field Documentation

instructions.InstructionObject.defaultInstruction

Definition at line 475 of file instructions.py.

instructions.InstructionObject.id

Definition at line 472 of file instructions.py.

instructions.InstructionObject.unitConv

Definition at line 479 of file instructions.py.


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