/builddir/build/BUILD/mapnik/include/mapnik/enumeration.hpp File Reference

#include <mapnik/config.hpp>
#include <vector>
#include <bitset>
#include <iostream>
#include <cstdlib>

Go to the source code of this file.

Classes

class  mapnik::illegal_enum_value
class  mapnik::enumeration< ENUM, THE_MAX >

Namespaces

namespace  mapnik

Defines

#define DEFINE_ENUM(name, e)   typedef mapnik::enumeration<e, e ## _MAX> name;
#define IMPLEMENT_ENUM(name, strings)


Define Documentation

#define DEFINE_ENUM ( name,
 )     typedef mapnik::enumeration<e, e ## _MAX> name; [related]

Helper macro. Creates a typedef.

#define IMPLEMENT_ENUM ( name,
strings   )  [related]

Value:

template <> const char ** name ::our_strings_ = strings; \
    template <> std::string name ::our_name_ = #name; \
    template <> bool name ::our_verified_flag_( name ::verify(__FILE__, __LINE__));
Helper macro. Runs the verify() method during static initialization.


Generated for Mapnik by doxygen 1.5.8