All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
roboptim::visualization::matplotlib::Import Class Reference

matplotlib import. More...

#include <roboptim/core/visualization/matplotlib-commands.hh>

Public Member Functions

 Import (const std::string &package)
 Construct from a Python package. More...
 
 Import (const std::string &from, const std::string &packages)
 Construct from a Python package. More...
 
 ~Import ()
 Import destructor. More...
 
const std::string & command () const
 Return the import command. More...
 

Detailed Description

matplotlib import.

This class represents a Python import command.

Constructor & Destructor Documentation

roboptim::visualization::matplotlib::Import::Import ( const std::string &  package)

Construct from a Python package.

Parameters
packagespackages to import (separated by commas).
roboptim::visualization::matplotlib::Import::Import ( const std::string &  from,
const std::string &  packages 
)

Construct from a Python package.

"from-import" version.

Parameters
fromPython module.
packagespackages to import (separated by commas).
roboptim::visualization::matplotlib::Import::~Import ( )

Import destructor.

Member Function Documentation

const std::string& roboptim::visualization::matplotlib::Import::command ( ) const
inline

Return the import command.

Returns
import command.