Logo Search packages:      
Sourcecode: verbiste version File versions

const char * FrenchVerbDictionary::getTenseName ( Tense  t  )  [static]

Returns the English name (in ASCII) of the given tense.

Definition at line 625 of file FrenchVerbDictionary.cpp.

{
    if (int(t) < int(PRESENT_TENSE) || int(t) > int(FUTURE_TENSE))
      return NULL;

    static const char *names[] =
    {
      "present", "past", "imperfect", "future"
    };

    return names[int(t) - 1];
}


Generated by  Doxygen 1.6.0   Back to index