src/tools/csg_stat_imc.cc
Imc::group_t *Imc::getGroup(const string &name)
{
    map<string, group_t *>::iterator iter;
    iter = _groups.find(name);
    if(iter == _groups.end()) {
        return _groups[name] = new group_t;
    }
    return (*iter).second;
}
// returns a group, creates it if doesn't exist
returns a group, creates it if doesn't exist
returns a group creates it if doesn ' t exist
Imc::group_t *Imc::getGroup(const string &name)
{
    map<string, group_t *>::iterator iter;
    iter = _groups.find(name);
    if(iter == _groups.end()) {
        return _groups[name] = new group_t;
    }
    return (*iter).second;
}
Imc :: group_t * Imc :: getGroup ( const string & name ) { map < string , group_t * > :: iterator iter ; iter = _groups . find ( name ) ; if ( iter == _groups . end ( ) ) { return _groups [ name ] = new group_t ; } return ( * iter ) . second ; }
returns a group, creates it if doesn't exist
returns a group creates it if doesn ' t exist