src/ProfileGenerator/Profile.cpp
//
// Slot Management
// ---------------
// 
// NOTE: There is at most one slot object associated with each slot type, 
//   but there will almost certainly be multiple hypotheses inside 
//   one ProfileSlot object.
//

Slot Management

There is at most one slot object associated with each slot type,
but there will almost certainly be multiple hypotheses inside
one ProfileSlot object.
Slot Management There is at most one slot object associated with each slot type but there will almost certainly be multiple hypotheses inside one ProfileSlot object .
ProfileSlot_ptr Profile::getExistingSlot(std::string slot_name) {
	std::map<std::string, ProfileSlot_ptr>::const_iterator iter;
	iter = _slots.find(slot_name);
	if (iter != _slots.end()) 
		return iter->second;
	else return ProfileSlot_ptr();
}
ProfileSlot_ptr Profile :: getExistingSlot ( std :: string slot_name ) { std :: map < std :: string , ProfileSlot_ptr > :: const_iterator iter ; iter = _slots . find ( slot_name ) ; if ( iter != _slots . end ( ) ) return iter -> second ; else return ProfileSlot_ptr ( ) ; }
Slot Management
Slot Management