OpenTREP Logo  0.07.18
C++ Open Travel Request Parsing Library
Loading...
Searching...
No Matches
WordCombinationHolder.hpp
Go to the documentation of this file.
1#ifndef __OPENTREP_BOM_WORDCOMBINATIONHOLDER_HPP
2#define __OPENTREP_BOM_WORDCOMBINATIONHOLDER_HPP
3
4// //////////////////////////////////////////////////////////////////////
5// Import section
6// //////////////////////////////////////////////////////////////////////
7// STL
8#include <string>
9#include <list>
10// OpenTrep
13
14namespace OPENTREP {
15
52 // //////////////// Type definitions //////////////////
56 typedef std::list<std::string> StringList_T;
57
58 public:
62 void push_back (const std::string&);
63
67 size_t size() const;
68
72 void clear();
73
74
75 private:
83 void init (const std::string& iString);
84
85
86 public:
87 // /////////// Display support methods /////////
93 void toStream (std::ostream&) const;
94
100 void fromStream (std::istream&);
101
106 std::string describeKey() const;
107
111 std::string describe() const;
112
113
114 public:
115 // //////////////// Constructors and Destructors /////////////
119 WordCombinationHolder (const std::string&);
120
125
126
127 public:
128 // //////////////// Attributes ///////////////
133 };
134
135}
136#endif // __OPENTREP_BOM_WORDCOMBINATIONHOLDER_HPP
void toStream(std::ostream &) const