Logo Search packages:      
Sourcecode: verbiste version File versions

const char * FrenchVerbDictionary::getModeName ( Mode  m  )  [static]

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

Definition at line 608 of file FrenchVerbDictionary.cpp.

{
    if (int(m) < int(INFINITIVE_MODE) || int(m) > int(PARTICIPLE_MODE))
      return NULL;

    static const char *names[] =
    {
      "infinitive", "indicative", "conditional",
      "subjunctive", "imperative", "participle"
    };

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


Generated by  Doxygen 1.6.0   Back to index