Public Member Functions | Static Public Member Functions | Private Member Functions | Static Private Attributes | List of all members
exotica::XMLLoader Class Reference

#include <xml_loader.h>

Public Member Functions

Initializer LoadXML (std::string file_name, bool parsePathAsXML=false)
 
void LoadXML (std::string file_name, Initializer &solver, Initializer &problem, const std::string &solver_name="", const std::string &problem_name="", bool parsePathAsXML=false)
 
 ~XMLLoader () noexcept
 

Static Public Member Functions

static std::shared_ptr< XMLLoaderInstance ()
 
static void Load (std::string file_name, Initializer &solver, Initializer &problem, const std::string &solver_name="", const std::string &problem_name="", bool parsePathAsXML=false)
 
static Initializer Load (std::string file_name, bool parsePathAsXML=false)
 
static std::shared_ptr< exotica::PlanningProblemLoadProblem (const std::string &file_name)
 
static std::shared_ptr< exotica::MotionSolverLoadSolver (const std::string &file_name)
 
static std::shared_ptr< exotica::MotionSolverLoadSolverStandalone (const std::string &file_name)
 

Private Member Functions

 XMLLoader ()
 

Static Private Attributes

static std::shared_ptr< XMLLoaderinstance_ = nullptr
 

Detailed Description

Definition at line 40 of file xml_loader.h.

Constructor & Destructor Documentation

exotica::XMLLoader::~XMLLoader ( )
inlinenoexcept

Definition at line 49 of file xml_loader.h.

exotica::XMLLoader::XMLLoader ( )
privatedefault

Member Function Documentation

static std::shared_ptr<XMLLoader> exotica::XMLLoader::Instance ( void  )
inlinestatic

Definition at line 43 of file xml_loader.h.

static void exotica::XMLLoader::Load ( std::string  file_name,
Initializer solver,
Initializer problem,
const std::string &  solver_name = "",
const std::string &  problem_name = "",
bool  parsePathAsXML = false 
)
inlinestatic

Definition at line 55 of file xml_loader.h.

static Initializer exotica::XMLLoader::Load ( std::string  file_name,
bool  parsePathAsXML = false 
)
inlinestatic

Definition at line 60 of file xml_loader.h.

static std::shared_ptr<exotica::PlanningProblem> exotica::XMLLoader::LoadProblem ( const std::string &  file_name)
inlinestatic

Definition at line 82 of file xml_loader.h.

static std::shared_ptr<exotica::MotionSolver> exotica::XMLLoader::LoadSolver ( const std::string &  file_name)
inlinestatic

Definition at line 65 of file xml_loader.h.

static std::shared_ptr<exotica::MotionSolver> exotica::XMLLoader::LoadSolverStandalone ( const std::string &  file_name)
inlinestatic

Definition at line 75 of file xml_loader.h.

Initializer exotica::XMLLoader::LoadXML ( std::string  file_name,
bool  parsePathAsXML = false 
)

Definition at line 131 of file xml_loader.cpp.

void exotica::XMLLoader::LoadXML ( std::string  file_name,
Initializer solver,
Initializer problem,
const std::string &  solver_name = "",
const std::string &  problem_name = "",
bool  parsePathAsXML = false 
)

Definition at line 159 of file xml_loader.cpp.

Member Data Documentation

std::shared_ptr< XMLLoader > exotica::XMLLoader::instance_ = nullptr
staticprivate

Definition at line 91 of file xml_loader.h.


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


exotica_core
Author(s): Yiming Yang, Michael Camilleri
autogenerated on Sat Apr 10 2021 02:34:50