List of all members | Public Member Functions | Static Public Member Functions
casadi::XmlFile Class Reference

XML parser. More...

#include <xml_file.hpp>

Detailed Description

Can be used for parsing XML files into CasADi data structures.

Author
Joel Andersson
Date
2014

Extra doc: https://github.com/casadi/casadi/wiki/L_7k

Definition at line 47 of file xml_file.hpp.

Inheritance diagram for casadi::XmlFile:
Inheritance graph
[legend]

Public Member Functions

 XmlFile ()
 
 XmlFile (const std::string &name)
 
 ~XmlFile ()
 
std::string class_name () const
 Get class name. More...
 
void disp (std::ostream &stream, bool more=false) const
 Print a description of the object. More...
 
std::string get_str (bool more=false) const
 Get string representation. More...
 
bool is_null () const
 Is a null pointer? More...
 
casadi_int __hash__ () const
 Returns a number that is unique for a given Node. More...
 

Static Public Member Functions

static std::string type_name ()
 Get type name. More...
 
static void load_plugin (const std::string &name)
 Load a plugin dynamically. More...
 
static std::string doc (const std::string &name)
 Get solver specific documentation. More...
 

Constructor & Destructor Documentation

◆ XmlFile() [1/2]

casadi::XmlFile::XmlFile ( )

◆ XmlFile() [2/2]

casadi::XmlFile::XmlFile ( const std::string &  name)

◆ ~XmlFile()

casadi::XmlFile::~XmlFile ( )

Member Function Documentation

◆ __hash__()

casadi_int casadi::SharedObject::__hash__ ( ) const
inherited

If the Object does not point to any node, "0" is returned.

Extra doc: https://github.com/casadi/casadi/wiki/L_av

◆ class_name()

std::string casadi::SharedObject::class_name ( ) const
inherited

◆ disp()

void casadi::SharedObject::disp ( std::ostream &  stream,
bool  more = false 
) const
inherited

◆ doc()

static std::string casadi::XmlFile::doc ( const std::string &  name)
static

◆ get_str()

std::string casadi::SharedObject::get_str ( bool  more = false) const
inlineinherited

Definition at line 138 of file shared_object.hpp.

◆ is_null()

bool casadi::SharedObject::is_null ( ) const
inherited

◆ load_plugin()

static void casadi::XmlFile::load_plugin ( const std::string &  name)
static

◆ type_name()

static std::string casadi::XmlFile::type_name ( )
inlinestatic

Extra doc: https://github.com/casadi/casadi/wiki/L_7l

Definition at line 54 of file xml_file.hpp.


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