OpenTREP Logo  0.07.4
C++ Open Travel Request Parsing Library
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
OPENTREP::TravelQuery_T
std::string TravelQuery_T
Definition: OPENTREP_Types.hpp:660
OPENTREP::WordList_T
std::list< Word_T > WordList_T
Definition: OPENTREP_Types.hpp:690
OPENTREP::WordHolder
Class wrapping utility functions to transform back and forth strings from and into a list of words.
Definition: WordHolder.hpp:17
OPENTREP
Definition: BasChronometer.cpp:10
OPENTREP::WordHolder::FacWordHolder
friend class FacWordHolder
Definition: WordHolder.hpp:18
OPENTREP::BomAbstract
Base class for the Business Object Model (BOM) layer.
Definition: BomAbstract.hpp:17
BomAbstract.hpp
OPENTREP::WordHolder::createStringFromWordList
static std::string createStringFromWordList(const WordList_T &iWordList)
Definition: WordHolder.cpp:52
OPENTREP_Types.hpp
OPENTREP::WordHolder::tokeniseDocIntoWordList
static void tokeniseDocIntoWordList(const TravelQuery_T &, WordList_T &)
Definition: WordHolder.cpp:44
OPENTREP::WordHolder::tokeniseStringIntoWordList
static void tokeniseStringIntoWordList(const TravelQuery_T &, WordList_T &)
Definition: WordHolder.cpp:37