Minsky: 3.17.0
schema2::RavelState Struct Reference

#include <ravelState-schema2.h>

Collaboration diagram for schema2::RavelState:
Collaboration graph

Public Member Functions

 RavelState ()
 
ravel::RavelState toRavelRavelState () const
 
 RavelState (const ravel::RavelState &x)
 

Public Attributes

double radius =ravel::ravelDefaultRadius
 
std::vector< std::string > outputHandles
 
std::map< std::string, ravel::HandleState > handleStates
 

Detailed Description

Definition at line 29 of file ravelState-schema2.h.

Constructor & Destructor Documentation

◆ RavelState() [1/2]

schema2::RavelState::RavelState ( )
inline

Definition at line 37 of file ravelState-schema2.h.

37 {}

◆ RavelState() [2/2]

schema2::RavelState::RavelState ( const ravel::RavelState &  x)
inline

Definition at line 49 of file ravelState-schema2.h.

References handleStates, outputHandles, and radius.

49  {
50  radius=x.radius;
51  outputHandles=x.outputHandles;
52  for (auto& i: x.handleStates)
53  handleStates[i.description]=i;
54  }
std::vector< std::string > outputHandles
std::map< std::string, ravel::HandleState > handleStates

Member Function Documentation

◆ toRavelRavelState()

ravel::RavelState schema2::RavelState::toRavelRavelState ( ) const
inline

Definition at line 38 of file ravelState-schema2.h.

References handleStates, outputHandles, and radius.

Referenced by schema3::populateItem().

38  {
39  ravel::RavelState r;
40  r.radius=radius;
41  r.outputHandles=outputHandles;
42  for (auto& i: handleStates)
43  {
44  r.handleStates.push_back(i.second);
45  r.handleStates.back().description=i.first;
46  }
47  return r;
48  }
std::vector< std::string > outputHandles
std::map< std::string, ravel::HandleState > handleStates
Here is the caller graph for this function:

Member Data Documentation

◆ handleStates

std::map<std::string, ravel::HandleState> schema2::RavelState::handleStates

Definition at line 36 of file ravelState-schema2.h.

Referenced by RavelState(), and toRavelRavelState().

◆ outputHandles

std::vector<std::string> schema2::RavelState::outputHandles

Definition at line 33 of file ravelState-schema2.h.

Referenced by RavelState(), and toRavelRavelState().

◆ radius

double schema2::RavelState::radius =ravel::ravelDefaultRadius

Definition at line 32 of file ravelState-schema2.h.

Referenced by RavelState(), and toRavelRavelState().


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