grasps_parser::GraspParser Class Reference

List of all members.

Public Member Functions

def __init__
def parse_tree
def refresh
def write_grasp_to_file

Public Attributes

 grasps
 xml_path
 xml_tree

Detailed Description

Parses a XML file describing a grasp.

Definition at line 23 of file grasps_parser.py.


Member Function Documentation

def grasps_parser::GraspParser::__init__ (   self  ) 

Definition at line 27 of file grasps_parser.py.

def grasps_parser::GraspParser::parse_tree (   self,
  xml_filename = "grasps.xml" 
)
parses a given tree, returns a Grasp

Keyword arguments:
xml_filename -- the filename where the grasp is defined
        if no filename is provided, then the default
        value is "grasps.xml"

Definition at line 33 of file grasps_parser.py.

def grasps_parser::GraspParser::refresh (   self  ) 

Definition at line 88 of file grasps_parser.py.

def grasps_parser::GraspParser::write_grasp_to_file (   self,
  grasp,
  xml_filename = "" 
)

Definition at line 71 of file grasps_parser.py.


Member Data Documentation

Definition at line 30 of file grasps_parser.py.

Definition at line 31 of file grasps_parser.py.

Definition at line 29 of file grasps_parser.py.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator


sr_hand
Author(s): Ugo Cupcic / ugo@shadowrobot.com, contact@shadowrobot.com
autogenerated on Fri Jan 11 09:32:58 2013