Public Member Functions | Public Attributes | Static Public Attributes | List of all members
urdf_parser_py.xml_reflection.core.Object Class Reference
Inheritance diagram for urdf_parser_py.xml_reflection.core.Object:
Inheritance graph

Public Member Functions

def add_aggregate (self, xml_var, obj)
def add_aggregates_to_xml (self, node)
def aggregate_init (self)
def check_valid (self)
def from_xml (cls, node)
def from_xml_file (cls, file_path)
def from_xml_string (cls, xml_string)
def get_aggregate_list (self, xml_var)
def get_refl_vars (self)
def lump_aggregates (self)
def parse (self, xml_string)
def post_read_xml (self)
def pre_write_xml (self)
def read_xml (self, node)
def remove_aggregate (self, obj)
def to_xml (self)
def to_xml_string (self, addHeader=True)
def write_xml (self, node)
- Public Member Functions inherited from urdf_parser_py.xml_reflection.basics.YamlReflection
def __str__ (self)
def to_yaml (self)
- Public Member Functions inherited from urdf_parser_py.xml_reflection.basics.SelectiveReflection
def get_refl_vars (self)

Public Attributes


Static Public Attributes


Detailed Description

Raw python object for yaml / xml representation 

Definition at line 489 of file

Member Function Documentation

def urdf_parser_py.xml_reflection.core.Object.add_aggregate (   self,
NOTE: One must keep careful track of aggregate types for this system.
Can use 'lump_aggregates()' before writing if you don't care. 

Definition at line 559 of file

def urdf_parser_py.xml_reflection.core.Object.add_aggregates_to_xml (   self,

Definition at line 566 of file

def urdf_parser_py.xml_reflection.core.Object.aggregate_init (   self)
Must be called in constructor! 

Definition at line 553 of file

def urdf_parser_py.xml_reflection.core.Object.check_valid (   self)

Definition at line 496 of file

def urdf_parser_py.xml_reflection.core.Object.from_xml (   cls,

Definition at line 530 of file

def urdf_parser_py.xml_reflection.core.Object.from_xml_file (   cls,

Definition at line 540 of file

def urdf_parser_py.xml_reflection.core.Object.from_xml_string (   cls,

Definition at line 535 of file

def urdf_parser_py.xml_reflection.core.Object.get_aggregate_list (   self,

Definition at line 547 of file

def urdf_parser_py.xml_reflection.core.Object.get_refl_vars (   self)

Definition at line 493 of file

def urdf_parser_py.xml_reflection.core.Object.lump_aggregates (   self)
Put all aggregate types together, just because 

Definition at line 578 of file

def urdf_parser_py.xml_reflection.core.Object.parse (   self,

Definition at line 587 of file

def urdf_parser_py.xml_reflection.core.Object.post_read_xml (   self)

Definition at line 521 of file

def urdf_parser_py.xml_reflection.core.Object.pre_write_xml (   self)
If anything needs to be converted prior to dumping to xml
i.e., getting the names of objects and such 

Definition at line 499 of file

def urdf_parser_py.xml_reflection.core.Object.read_xml (   self,

Definition at line 524 of file

def urdf_parser_py.xml_reflection.core.Object.remove_aggregate (   self,

Definition at line 572 of file

def urdf_parser_py.xml_reflection.core.Object.to_xml (   self)
Creates an overarching tag and adds its contents to the node 

Definition at line 510 of file

def urdf_parser_py.xml_reflection.core.Object.to_xml_string (   self,
  addHeader = True 

Definition at line 518 of file

def urdf_parser_py.xml_reflection.core.Object.write_xml (   self,
Adds contents directly to XML node 

Definition at line 504 of file

Member Data Documentation


Definition at line 555 of file


Definition at line 557 of file


Definition at line 491 of file

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

Author(s): Thomas Moulard, David Lu, Kelsey Hawkins, Antonio El Khoury, Eric Cousineau, Ioan Sucan , Jackie Kay
autogenerated on Mon Jun 10 2019 15:36:23