#include <string>
Go to the source code of this file.
Defines | |
#define | NBBITOBJECTDRAWMODES 4 |
number of known BitObject draw modes: | |
Enumerations | |
enum | BitObjectDrawMode { BODMnone = 0, BODMshape = 1, BODMoutline = 2, BODMbbox = 3 } |
Possible BitObject draw modes. More... | |
Functions | |
const char * | bitObjectDrawModeName (const BitObjectDrawMode p) |
Returns name of given BitObject draw mode. | |
std::string | convertToString (const BitObjectDrawMode val) |
BitObjectDrawMode overload. | |
void | convertFromString (const std::string &str, BitObjectDrawMode &val) |
BitObjectDrawMode overload. |
definition of the different modes of drawing a BitObject into a frame
Definition in file BitObjectDrawModes.H.
#define NBBITOBJECTDRAWMODES 4 |
number of known BitObject draw modes:
Definition at line 54 of file BitObjectDrawModes.H.
Referenced by bitObjectDrawModeName(), and convertFromString().
enum BitObjectDrawMode |
const char* bitObjectDrawModeName | ( | const BitObjectDrawMode | p | ) | [inline] |
Returns name of given BitObject draw mode.
Definition at line 57 of file BitObjectDrawModes.H.
References NBBITOBJECTDRAWMODES.
Referenced by convertFromString(), and convertToString().
void convertFromString | ( | const std::string & | str, | |
BitObjectDrawMode & | val | |||
) |
BitObjectDrawMode overload.
Format is "name" as defined in BitObjectDrawModes.H
Definition at line 51 of file BitObjectDrawModes.C.
References bitObjectDrawModeName(), and NBBITOBJECTDRAWMODES.
std::string convertToString | ( | const BitObjectDrawMode | val | ) |
BitObjectDrawMode overload.
Format is "name" as defined in BitObjectDrawModes.H
Definition at line 48 of file BitObjectDrawModes.C.
References bitObjectDrawModeName().