diff options
Diffstat (limited to 'src/cont.cpp')
| -rwxr-xr-x | src/cont.cpp | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/cont.cpp b/src/cont.cpp new file mode 100755 index 0000000..2847b8b --- /dev/null +++ b/src/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 |
