Logo Search packages:      
Sourcecode: apertium version File versions  Download package

int & Collection::add ( const set< int > &  t  ) 

Adds an element to the collection

Parameters:
t the element to be added

Definition at line 53 of file Collection.C.

Referenced by HMM::read_ambiguity_classes().

{
  index[t] = index.size()-1;
  element.push_back(&(index.find(t)->first));
  return index[t];
}


Generated by  Doxygen 1.6.0   Back to index