wxMaxima
Loading...
Searching...
No Matches
Public Member Functions
MaximaSessionInfo Class Reference

What we know about the Maxima instance we are talking to. More...

#include <MaximaSessionInfo.h>

Public Member Functions

 MaximaSessionInfo ()
 Constructs the session info with the built-in operator names seeded.
 
bool IsOperator (const wxString &name) const
 Is this name an operator known to maxima?
 
void AddOperator (const wxString &name)
 Registers name as an operator known to maxima.
 
wxString GetMaximaVersion () const
 The version of the connected Maxima.
 
void SetMaximaVersion (const wxString &version)
 Sets the version of the connected Maxima.
 
wxString GetMaximaArch () const
 The processor architecture the connected Maxima runs on.
 
void SetMaximaArch (const wxString &arch)
 Sets the processor architecture the connected Maxima runs on.
 
wxString GetLispVersion () const
 The version of the lisp the connected Maxima runs on.
 
void SetLispVersion (const wxString &version)
 Sets the version of the lisp the connected Maxima runs on.
 
wxString GetLispType () const
 The type of the lisp the connected Maxima runs on.
 
void SetLispType (const wxString &type)
 Sets the type of the lisp the connected Maxima runs on.
 
wxString GetWorkingDirectory () const
 Maxima's working directory.
 
void SetWorkingDirectory (wxString dir)
 Sets maxima's working directory.
 
wxString ShareDir () const
 The directory maxima's shared files (e.g. the manual) live in.
 
void ShareDir (wxString dir)
 Sets the directory maxima's shared files live in.
 
wxString DemoDir () const
 The directory maxima's demo files live in.
 
void DemoDir (wxString dir)
 Sets the directory maxima's demo files live in.
 
bool InLispMode () const
 Is maxima currently in lisp mode (where commands need no trailing ";")?
 
void InLispMode (bool lisp)
 Tells us whether maxima currently is in lisp mode.
 

Detailed Description

What we know about the Maxima instance we are talking to.

Pure state: this class knows nothing about the configuration store or the process/socket handling. Copying it (for printing, the diff viewer etc.) copies all of it.


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