Greens-code
A modular quantum transport code
Public Member Functions | Static Public Member Functions | List of all members
xml_chain Class Reference

#include <xml_utils.hpp>

Public Member Functions

 xml_chain (const std::string &s, loadable_Object_ref head)
 
size_t length ()
 
loadable_Object_ref last ()
 
loadable_Object_ref operator[] (size_t i)
 
const std::string & name (size_t i)
 

Static Public Member Functions

static std::string parse_first (const std::string &)
 

Detailed Description

/brief Define a path in an xml file to point to another object

This class can parse a string of form object1/object2/object3/.../objectN returning a pointer to objectN.


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