model_server/gala/src/controlObjects.cxx
//--------------------------------------------------------------------------------------------------------
// returns the index of the cell with spesified name or -1 if no such cell.
//--------------------------------------------------------------------------------------------------------
returns the index of the cell with spesified name or -1 if no such cell.
returns the index of the cell with spesified name or - 1 if no such cell .
int imageBuffer::findName(gString* name) {
		register i;
		for(i=0;i<m_bufSize;i++) if(m_Buffer[i]!=NULL && *m_Buffer[i]->m_Name==*name) return i;
		return -1;
	}
int imageBuffer :: findName ( gString * name ) { register i ; for ( i = 0 ; i < m_bufSize ; i ++ ) if ( m_Buffer [ i ] != NULL && * m_Buffer [ i ] -> m_Name == * name ) return i ; return -1 ; }
returns the index of the cell with spesified name or -1 if no such cell.
returns the index of the cell with spesified name or - 1 if no such cell .