# FederateLevelList Class Reference

`#include <FederateLevelList.hh>`

List of all members.

## Public Member Functions
| FederateLevelList ()
| FederateLevelList constructor.
| ~FederateLevelList ()
| Destructor.
void | addFederate (const std::string &the_name, SecurityLevelID the_level_id)
| add a new federate to Tuple.
SecurityLevelID | getLevel (const std::string &theName) const
## Protected Attributes
std::map< std::string, SecurityLevelID > | tuple

## Detailed Description

Definition at line 33 of file FederateLevelList.hh.

## Constructor & Destructor Documentation

FederateLevelList | ( |  | ) |

FederateLevelList constructor.

Definition at line 43 of file FederateLevelList.cc.

~FederateLevelList | ( |  | ) |

Destructor.

Definition at line 46 of file FederateLevelList.cc.

## Member Function Documentation

void addFederate | ( | const std::string & | the_name,
|  | SecurityLevelID | the_level_id |
| ) |  |  |

add a new federate to Tuple.

Register a new federate principal name, and associate the given level with it.

Definition at line 36 of file FederateLevelList.cc.

References FederateLevelList::tuple.

Referenced by SecurityServer::registerFederate().

SecurityLevelID getLevel | ( | const std::string & | theName | ) | const

Definition at line 50 of file FederateLevelList.cc.

References PublicLevelID, and FederateLevelList::tuple.

Referenced by SecurityServer::getLevel().

## Member Data Documentation

std::map<std::string, SecurityLevelID> tuple`[protected]`

Definition at line 47 of file FederateLevelList.hh.

Referenced by FederateLevelList::addFederate(), and FederateLevelList::getLevel().

The documentation for this class was generated from the following files:

- FederateLevelList.hh
- FederateLevelList.cc