File: completion.hpp

package info (click to toggle)
libopendbx 1.4.6-8
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 3,960 kB
  • ctags: 1,006
  • sloc: sh: 10,899; ansic: 7,283; xml: 1,837; cpp: 1,696; makefile: 362; sed: 16
file content (35 lines) | stat: -rw-r--r-- 402 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#include <string.h>
#include <string>
#include <map>
#include <iostream>


using std::string;
using std::map;



#ifndef COMPLETION_HPP
#define COMPLETION_HPP



class Completion
{
protected:

	map<string, string> m_keywords;
	map<string, string>::iterator m_next;
	string m_keyword;

public:

	Completion( const string& filename );

	void find( const char* keyword );
	const char* get();
};



#endif