DGtal  1.2.0
Public Member Functions | Data Fields
DGtal::SetMode Struct Reference

Modifier class in a Board2D stream. Useful to choose your own mode for a given class. Realizes the concept CDrawableWithBoard2D. More...

#include <DGtal/io/boards/Board2D.h>

Inheritance diagram for DGtal::SetMode:
[legend]

Public Member Functions

 SetMode (std::string classname, std::string mode)
 
- Public Member Functions inherited from DGtal::DrawWithBoardModifier
std::string className () const
 

Data Fields

std::string myClassname
 
std::string myMode
 

Detailed Description

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

Definition at line 247 of file Board2D.h.

Constructor & Destructor Documentation

◆ SetMode()

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

Definition at line 254 of file Board2D.h.

255  : myClassname( classname ), myMode( mode )
256  {}
std::string myMode
Definition: Board2D.h:264
std::string myClassname
Definition: Board2D.h:263

Field Documentation

◆ myClassname

std::string DGtal::SetMode::myClassname

Definition at line 263 of file Board2D.h.

◆ myMode

std::string DGtal::SetMode::myMode

Definition at line 264 of file Board2D.h.


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