Minsky
operationBase.h File Reference
#include <ecolab.h>
#include <xml_pack_base.h>
#include <xml_unpack_base.h>
#include "classdesc_access.h"
#include "item.h"
#include "slider.h"
#include <vector>
#include <cairo/cairo.h>
#include <arrays.h>
#include "polyBase.h"
#include "polyPackBase.h"
#include <pack_base.h>
#include "operationType.h"
#include "operationBase.cd"
#include "operationBase.xcd"
Include dependency graph for operationBase.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  minsky::OperationBase
 
class  minsky::OperationPtr
 shared_ptr class for polymorphic operation objects. Note, you may assume that this pointer is always valid, although currently the implementation doesn't guarantee it (eg reset() is exposed). More...
 

Namespaces

 ecolab
 
 minsky
 Creation and access to the minskyTCL_obj object, which has code to record whenever Minsky's state changes.
 

Functions

std::ostream & operator<< (std::ostream &x, const std::vector< int > &y)
 
void pack (classdesc::pack_t &, const classdesc::string &, classdesc::ref< ecolab::urand > &)
 
void unpack (classdesc::pack_t &, const classdesc::string &, classdesc::ref< ecolab::urand > &)
 
void xml_pack (classdesc::xml_pack_t &, const classdesc::string &, classdesc::ref< ecolab::urand > &)
 
void xml_unpack (classdesc::xml_unpack_t &, const classdesc::string &, classdesc::ref< ecolab::urand > &)
 

Function Documentation

◆ operator<<()

std::ostream& operator<< ( std::ostream &  x,
const std::vector< int > &  y 
)
inline

Definition at line 132 of file operationBase.h.

133 {
134  for (std::size_t i=0; i<y.size(); ++i)
135  x<<(i==0?"":" ")<<y[i];
136  return x;
137 }

◆ pack()

◆ unpack()

void unpack ( classdesc::pack_t &  ,
const classdesc::string &  ,
classdesc::ref< ecolab::urand > &   
)
inline

◆ xml_pack()

void xml_pack ( classdesc::xml_pack_t &  ,
const classdesc::string &  ,
classdesc::ref< ecolab::urand > &   
)
inline

Definition at line 142 of file operationBase.h.

142 {}

◆ xml_unpack()

void xml_unpack ( classdesc::xml_unpack_t &  ,
const classdesc::string &  ,
classdesc::ref< ecolab::urand > &   
)
inline