Minsky
MathDAG::anonymous_namespace{equations.cc}::NoArgument Struct Reference
Inheritance diagram for MathDAG::anonymous_namespace{equations.cc}::NoArgument:
Inheritance graph
Collaboration diagram for MathDAG::anonymous_namespace{equations.cc}::NoArgument:
Collaboration graph

Public Member Functions

 NoArgument (const OperationPtr &s, unsigned a1, unsigned a2)
 

Public Attributes

std::string message
 

Detailed Description

Definition at line 45 of file equations.cc.

Constructor & Destructor Documentation

◆ NoArgument()

MathDAG::anonymous_namespace{equations.cc}::NoArgument::NoArgument ( const OperationPtr s,
unsigned  a1,
unsigned  a2 
)
inline

Definition at line 48 of file equations.cc.

References minsky::Minsky::displayErrorItem(), and minsky::minsky().

48  :
49  std::runtime_error
50  ("missing argument "+to_string(a1)+","+to_string(a2)+
51  (s?(" on operation "+OperationType::typeName(s->type())):string()))
void displayErrorItem(const Item &op) const
indicate operation item has error, if visible, otherwise contining group
Definition: minsky.cc:1230
static std::string typeName(int type)
return the symbolic name of type
string to_string(CONST84 char *x)
Definition: minskyTCLObj.h:33
Minsky & minsky()
global minsky object
Definition: minskyTCL.cc:51
Here is the call graph for this function:

Member Data Documentation

◆ message

std::string MathDAG::anonymous_namespace{equations.cc}::NoArgument::message

Definition at line 47 of file equations.cc.


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