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 Initializer Load (std::string file_name, bool parsePathAsXML=false)
 
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 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

◆ ~XMLLoader()

exotica::XMLLoader::~XMLLoader ( )
inlinenoexcept

Definition at line 49 of file xml_loader.h.

◆ XMLLoader()

exotica::XMLLoader::XMLLoader ( )
privatedefault

Member Function Documentation

◆ Instance()

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

Definition at line 43 of file xml_loader.h.

◆ Load() [1/2]

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

Definition at line 60 of file xml_loader.h.

◆ Load() [2/2]

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.

◆ LoadProblem()

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

Definition at line 82 of file xml_loader.h.

◆ LoadSolver()

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

Definition at line 65 of file xml_loader.h.

◆ LoadSolverStandalone()

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

Definition at line 75 of file xml_loader.h.

◆ LoadXML() [1/2]

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

Definition at line 131 of file xml_loader.cpp.

◆ LoadXML() [2/2]

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

◆ instance_

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 Fri Aug 2 2024 08:43:03