40#ifndef WOSS_TRANSDUCER_HANDLER_DEFINITIONS_H
41#define WOSS_TRANSDUCER_HANDLER_DEFINITIONS_H
73 typedef TransducerMap::iterator TMIter;
74 typedef TransducerMap::reverse_iterator TMRIter;
75 typedef TransducerMap::const_iterator TMCIter;
76 typedef TransducerMap::const_reverse_iterator TMCRIter;
162 TMCIter
begin()
const;
180 TMCRIter
rend()
const;
188 virtual bool importValueAscii( const ::std::string& type_name, const ::std::string& file_name );
196 virtual bool importValueBinary( const ::std::string& type_name, const ::std::string& file_name );
205 virtual bool writeValueAscii( const ::std::string& type_name, const ::std::string& file_name );
213 virtual bool writeValueBinary( const ::std::string& type_name, const ::std::string& file_name );
230 bool getDebug() {
return debug; }
Transducer creator and handler class.
Definition transducer-handler.h:63
bool debug
Definition transducer-handler.h:245
virtual bool importValueAscii(const ::std::string &type_name, const ::std::string &file_name)
Definition transducer-handler.cpp:150
TransducerHandler & clear()
Definition transducer-handler.cpp:140
TransducerHandler()
Definition transducer-handler.cpp:52
TMCRIter rend() const
Definition transducer-handler.h:283
TransducerHandler & setDebug(bool flag)
Definition transducer-handler.h:288
virtual bool writeValueAscii(const ::std::string &type_name, const ::std::string &file_name)
Definition transducer-handler.cpp:175
TransducerHandler & operator=(const TransducerHandler &x)
Definition transducer-handler.cpp:88
TransducerMap transducer_map
Definition transducer-handler.h:251
TMCRIter rbegin() const
Definition transducer-handler.h:279
TransducerHandler & eraseValue(const ::std::string &name)
Definition transducer-handler.cpp:130
TMCIter begin() const
Definition transducer-handler.h:269
TMCIter end() const
Definition transducer-handler.h:274
bool insertValue(const ::std::string &name, Transducer *const transducer)
Definition transducer-handler.cpp:102
static const ::std::string TRANSDUCER_NOT_VALID
Definition transducer-handler.h:239
TransducerHandler & replaceValue(const ::std::string &name, Transducer *const transducer)
Definition transducer-handler.cpp:109
virtual bool writeValueBinary(const ::std::string &type_name, const ::std::string &file_name)
Definition transducer-handler.cpp:189
bool empty() const
Definition transducer-handler.h:264
::std::map< ::std::string, Transducer * > TransducerMap
Definition transducer-handler.h:72
int size() const
Definition transducer-handler.h:259
virtual bool importValueBinary(const ::std::string &type_name, const ::std::string &file_name)
Definition transducer-handler.cpp:162
const Transducer *const getValue(const ::std::string &name) const
Definition transducer-handler.cpp:121
Transducer class.
Definition transducer-definitions.h:70