#include <example.hpp>
|
| Example (const std::string &sentence, const SUFFIX_MARKER_TYPE &id) throw (ConcordiaException) |
|
virtual | ~Example () |
|
std::string | getSentence () const |
|
SUFFIX_MARKER_TYPE | getId () const |
|
Class representing a single sentence to be added into index along with its id. For more info see Simple substring lookup.
Example::Example |
( |
const std::string & |
sentence, |
|
|
const SUFFIX_MARKER_TYPE & |
id |
|
) |
| |
throw | ( | ConcordiaException |
| ) | | |
|
explicit |
Constructor.
- Parameters
-
sentence | sentence to be added to index |
id | id of this sentence |
SUFFIX_MARKER_TYPE Example::getId |
( |
| ) |
const |
|
inline |
Getter for sentence id.
- Returns
- sentence id
std::string Example::getSentence |
( |
| ) |
const |
|
inline |
Getter for sentence.
- Returns
- sentence
The documentation for this class was generated from the following files:
- /home/rafalj/projects/concordia/concordia/concordia/example.hpp
- /home/rafalj/projects/concordia/concordia/concordia/example.cpp