Minsky
anonymous_namespace{sheet.cc} Namespace Reference

Classes

struct  ClippedPango
 A pango that clips text to a standard area suitable for numbers. More...
 
struct  ElisionRowChecker
 

Functions

string formattedStr (const XVector &xv, size_t index)
 

Function Documentation

◆ formattedStr()

string anonymous_namespace{sheet.cc}::formattedStr ( const XVector &  xv,
size_t  index 
)

Definition at line 169 of file sheet.cc.

References minsky::minsky(), and minsky::str().

Referenced by minsky::Sheet::setSliceIndicator().

170  {
171  return str(xv[index], minsky::minsky().dimensions[xv.name].units);
172  }
std::string str(T x)
utility function to create a string representation of a numeric type
Definition: str.h:33
Minsky & minsky()
global minsky object
Definition: minskyTCL.cc:51
Here is the call graph for this function:
Here is the caller graph for this function: