LibreOffice Module lingucomponent (master)  1
Public Member Functions | Private Attributes | List of all members
Guess Class Referencefinal

#include <guess.hxx>

Public Member Functions

 Guess ()
 Default init. More...
 
 Guess (const char *guess_str)
 Init from a string like [en-UK-utf8] and the rank. More...
 
const string & GetLanguage ()
 
const string & GetCountry ()
 

Private Attributes

string language_str
 
string country_str
 

Detailed Description

Definition at line 33 of file guess.hxx.

Constructor & Destructor Documentation

Guess::Guess ( )

Default init.

Definition at line 45 of file guess.cxx.

References DEFAULT_COUNTRY.

Guess::Guess ( const char *  guess_str)

Init from a string like [en-UK-utf8] and the rank.

Definition at line 56 of file guess.cxx.

References country_str, DEFAULT_COUNTRY, GUESS_SEPARATOR_CLOSE, GUESS_SEPARATOR_OPEN, GUESS_SEPARATOR_SEP, language_str, TEXTCAT_RESULT_SHORT_STR, and TEXTCAT_RESULT_UNKNOWN_STR.

Member Function Documentation

const string& Guess::GetCountry ( )
inline

Definition at line 47 of file guess.hxx.

Referenced by LangGuess_Impl::guessPrimaryLanguage().

const string& Guess::GetLanguage ( )
inline

Definition at line 46 of file guess.hxx.

Referenced by LangGuess_Impl::guessPrimaryLanguage().

Member Data Documentation

string Guess::country_str
private

Definition at line 51 of file guess.hxx.

Referenced by Guess().

string Guess::language_str
private

Definition at line 50 of file guess.hxx.

Referenced by Guess().


The documentation for this class was generated from the following files: