---
name: "EnumColorValuesMapping.cpp"
section: "3tulip"
platform: "linux"
package: "tulip-doc"
version: "3.1.2-2.3"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/EnumColorValuesMapping.cpp"
---

# EnumColorValuesMapping.cpp(3tulip)

## NAME

EnumColorValuesMapping.cpp -

## SYNOPSIS

`#include <stdio.h>`\
 `#include <sstream>`\
 `#include <tulip/Graph.h>`\
 `#include <tulip/hash_string.h>`\
 `#include <tulip/StableIterator.h>`\
 `#include <tulip/TulipPlugin.h>`\
 `#include <tulip/Color.h>`\
 `#include <tulip/TlpQtTools.h>`\
 `#include <QtGui/qmessagebox.h>`\
 `#include <tulip/GlRect.h>`\
 `#include <tulip/GlLabel.h>`\

### Classes

class **EnumColorValuesMapping**\

### Defines

\#define **ELT\_TYPE**   'Type'\
 \#define **ELT\_TYPES**   'nodes;edges;'\
 \#define **NODE\_ELT**   0\
 \#define **EDGE\_ELT**   1\

### Functions

**COLORPLUGIN** (**EnumColorValuesMapping**,'Enumerated Values Mapping','P.Mary','27/06/2007','Color enumerated values mapping plugin','1.0')\

### Variables

char \* **defColors** \[12\]\

## Define Documentation

### #define EDGE\_ELT 1

### #define ELT\_TYPE 'Type'

### #define ELT\_TYPES 'nodes;edges;'

### #define NODE\_ELT 0

## Function Documentation

### COLORPLUGIN (EnumColorValuesMapping, 'Enumerated Values Mapping', 'P.Mary', '27/06/2007', 'Color enumerated values mapping plugin', '1.0')

## Variable Documentation

### char\* defColors\[12\] Initial value:

```
 {
  (char *) '(255,0,0,255)', (char *) '(0,255,0,255)', (char *) '(0,0,255,255)',
  (char *) '(255,255,0,255)', (char *) '(0,255,255,255)',
  (char *) '(255,0,255,255)', (char *) '(96,159,191,255)',
  (char *) '(0,191,112,255)', (char *) '(255,106,0,255)',
  (char *) '(238,255,170,255)', (char *) '(255,205,205,255)',
  (char *) '(191,143,0,255)'}
```

## Author

Generated automatically by Doxygen for Tulip Plugins Library from the source code.
