OpenTREP Logo  0.6.0
C++ Open Travel Request Parsing Library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
WordHolder.hpp
Go to the documentation of this file.
1 #ifndef __OPENTREP_BOM_WORDHOLDER_HPP
2 #define __OPENTREP_BOM_WORDHOLDER_HPP
3 
4 // //////////////////////////////////////////////////////////////////////
5 // Import section
6 // //////////////////////////////////////////////////////////////////////
7 // OpenTREP
10 
11 namespace OPENTREP {
12 
17  class WordHolder : public BomAbstract {
18  friend class FacWordHolder;
19  public:
20 
21  // /////////////// Business Methods ////////////////
28 
34  static void tokeniseDocIntoWordList (const TravelQuery_T&, WordList_T&);
35 
39  static std::string createStringFromWordList (const WordList_T& iWordList);
40 
41  private:
42  // ////////////// Constructors and Destructors /////////////
46  WordHolder();
50  WordHolder (const WordHolder&);
54  ~WordHolder();
55 
56  private:
57  // /////////////// Attributes ////////////////
58  };
59 
60 }
61 #endif // __OPENTREP_BOM_WORDHOLDER_HPP
friend class FacWordHolder
Definition: WordHolder.hpp:18
static std::string createStringFromWordList(const WordList_T &iWordList)
Definition: WordHolder.cpp:52
std::list< Word_T > WordList_T
static void tokeniseStringIntoWordList(const TravelQuery_T &, WordList_T &)
Definition: WordHolder.cpp:37
static void tokeniseDocIntoWordList(const TravelQuery_T &, WordList_T &)
Definition: WordHolder.cpp:44
Base class for the Business Object Model (BOM) layer.
Definition: BomAbstract.hpp:17
Class wrapping utility functions to transform back and forth strings from and into a list of words...
Definition: WordHolder.hpp:17
std::string TravelQuery_T