Public Member Functions | Private Attributes

DGtal::SetMode Struct Reference

#include <DGtalBoard.h>

Inheritance diagram for DGtal::SetMode:
Inheritance graph
Collaboration diagram for DGtal::SetMode:
Collaboration graph

Public Member Functions

 SetMode (std::string classname, std::string mode)
void selfDraw (DGtalBoard &board) const

Private Attributes

std::string myClassname
std::string myMode

Detailed Description

Modifier class in a DGtalBoard stream. Useful to choose your own mode for a given class. Realizes the concept CDrawableWithDGtalBoard.


dgtalboard-2-sets.cpp, dgtalboard-4-colormaps.cpp, dgtalboard-5-greedy-dss.cpp, and DSS.cpp.

Constructor & Destructor Documentation

DGtal::SetMode::SetMode ( std::string  classname,
std::string  mode 
) [inline]
classname the name of the class to which the style is associated.
style a pointer on a dynamically allocated style, which is acquired by the class.

Member Function Documentation

void DGtal::SetMode::selfDraw ( DGtalBoard board  )  const [inline, virtual]

Field Documentation

std::string DGtal::SetMode::myClassname [private]

Referenced by selfDraw().

std::string DGtal::SetMode::myMode [private]

Referenced by selfDraw().

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