CEBL
2.1
Main Page
Namespaces
Data Structures
Files
File List
Globals
model
StringTable.hpp
Go to the documentation of this file.
1
/*
2
* CEBL : CSU EEG Brain-Computer Interface Lab
3
*
4
* Author: Jeshua Bratman - jeshuabratman@gmail.com
5
*
6
* This file is part of CEBL.
7
*
8
* CEBL is free software; you can redistribute it and/or modify it.
9
* We only ask that if you use our code that you cite the source in
10
* your project or publication.
11
*
12
* EEG Group (www.cs.colostate.edu/eeg)
13
* Department of Computer Science
14
* Colorado State University
15
*
16
*/
17
25
class
StringTable
26
{
27
private
:
28
map<std::string, std::string> strings;
29
string
filename;
30
31
string
decodeString(
string
str);
32
33
void
load(istream &is);
34
35
public
:
36
StringTable
();
37
43
void
loadFromFile
(
string
filename);
44
48
void
loadFromString
(
string
str_table);
49
56
const
char
*
getString
(
string
string_name);
57
};
58
Generated by
1.8.1.1