Google
Web alhem.net
Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members

dp.h File Reference

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Typedefs

typedef std::map< std::string,
std::string > 
config_m

Functions

std::string get_group (const std::string &class_name)

Variables

config_m config
config_m box
int fontsize
int cluster


Typedef Documentation

typedef std::map<std::string,std::string> config_m
 

File ......... dp.h Published .... 2004-05-17 Author ....... grymse@alhem.net

Definition at line 26 of file dp.h.


Function Documentation

std::string get_group const std::string &  class_name  ) 
 

Definition at line 55 of file dp.cpp.

References group.

Referenced by BlackAdder::add_class().

00056 {
00057         for (std::map<std::string, std::list<std::string> >::iterator it = group.begin(); it != group.end(); it++)
00058         {
00059                 std::string group_name = it -> first;
00060                 std::list<std::string>& ref = it -> second;
00061                 for (std::list<std::string>::iterator it = ref.begin(); it != ref.end(); it++)
00062                 {
00063                         if (*it == class_name)
00064                                 return group_name;
00065                 }
00066         }
00067         return "";
00068 }


Variable Documentation

config_m box
 

Definition at line 29 of file dp.h.

Referenced by main(), and BlackAdder::MakeDot().

int cluster
 

Definition at line 31 of file dp.h.

Referenced by main(), and BlackAdder::MakeDot().

config_m config
 

Definition at line 28 of file dp.h.

int fontsize
 

Definition at line 30 of file dp.h.

Referenced by main(), and BlackAdder::MakeDot().


Generated for My SDL C++ Gui by doxygen 1.3.6