Minsky
minsky::OpState Struct Reference
Inheritance diagram for minsky::OpState:
Inheritance graph
Collaboration diagram for minsky::OpState:
Collaboration graph

Public Member Functions

void setState (const OperationPtr &s) override
 
void throw_error (const std::string &msg) const
 
- Public Member Functions inherited from minsky::SetState
virtual ~SetState ()
 

Public Attributes

OperationPtr state
 

Detailed Description

Definition at line 65 of file minskyTensorOps.cc.

Member Function Documentation

◆ setState()

void minsky::OpState::setState ( const OperationPtr s)
inlineoverridevirtual

◆ throw_error()

void minsky::OpState::throw_error ( const std::string &  msg) const
inline

Definition at line 69 of file minskyTensorOps.cc.

69  {
70  if (state) state->throw_error(msg);
71  else throw runtime_error(msg);
72  }
OperationPtr state

Member Data Documentation

◆ state

OperationPtr minsky::OpState::state

Definition at line 67 of file minskyTensorOps.cc.


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