diff options
| author | Paul Buetow <paul@buetow.org> | 2010-11-21 16:18:08 +0000 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2010-11-21 16:18:08 +0000 |
| commit | 7ead5b7a9ea99a3e0f1459187b3262f7054f0126 (patch) | |
| tree | 17e082a745fd1bae8af5b8b1682c3a2ff94769c8 /cont.cpp | |
Diffstat (limited to 'cont.cpp')
| -rw-r--r-- | cont.cpp | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/cont.cpp b/cont.cpp new file mode 100644 index 0000000..a437543 --- /dev/null +++ b/cont.cpp @@ -0,0 +1,24 @@ +// class cont implementation. + +#ifndef CONT_CXX +#define CONT_CXX + +#include "cont.h" +#include "s_mutx.h" + +using namespace std; + +string +cont::get_val( string s_key ) +{ + if ( map_vals.find( s_key ) != map_vals.end() ) + return map_vals[ s_key ]; + return string(); +} + +cont::~cont() +{ + map_vals.~map_string(); +} + +#endif |
